新Web应用程序无法正确创建 [英] New Web Application not creating correctly

查看:105
本文介绍了新Web应用程序无法正确创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在从SP2010迁移到SP2013期间创建新的Web应用程序时,我现在有大约50%的时间发生奇怪的事情。

I'm having an odd occurrence happen about 50% of the time right now when creating new web applications during my migration from SP2010 to SP2013.

在Central Admin中创建Web应用程序期间,我可以浏览第一个设置页面,然后转到"这不应该花费很长时间"。页面,将在那里坐30多分钟。我最终关闭了窗口,并且会看到Web应用程序在
中央管理员中,有时候会创建数据库,有时候不会,这不是一个大问题,因为我正在将sp2010数据库安装到此Web应用。

During creating a web application in Central Admin, I can get through the first setup page, then get to the "This shouldn't take long" page and will sit there for 30+ minutes. I end up closing the window and will see that the Web application is there in Central admin, and sometimes the DB will be created, other times not, not a big issue since I'm mounting a sp2010 database to this web application.

我注意到的是,IIS站点根本不会被创建,或者它将被创建,但虚拟文件夹是空的。当尝试通过中央管理员或PowerShell删除Web应用程序时,它会挂起几个小时,直到第二天
最终被删除。在此期间,我无法创建任何其他Web应用程序。通常在这个时候我可以成功创建一个新的Web应用程序,但即便这样也是不可靠的。

What I do notice is that either a IIS site will either not be created at all, or it will be created, but the Virtual Folder is empty. When trying to delete the Web Application through central admin or PowerShell it will hang for hours until the next day when it's finally deleted. During this time I am not able to create any other web applications. It's usually at this time that I can successfully create a new web applications but even that is unreliable.

有没有人遇到过这个问题,或者可以提出任何解决方法来解决这个问题?我想知道是否将另一个Web应用程序的虚拟目录的内容复制到失败的Web应用程序的虚拟目录将是一种解决方法。我仍需要
验证是否通过PowerShell创建Web应用程序给我带来了同样的麻烦,但目前我正在等待Web应用程序删除。

Has anyone ran into this issue or can suggest any workarounds to get this working? I'm wondering if copying the contents of another web application's virtual directory to the failed web application's virtual directory will be a workaround. I still need to verify if creating a web application through PowerShell gives me the same headache but at the moment I'm currently waiting for a web application to delete.

推荐答案

快速更新 - 问题实际上是它正在创建的IIS虚拟文件夹是空的。我将正在运行的Web应用程序文件夹的内容复制到损坏的Web应用程序文件夹,确认所有安全设置并重新启动IIS和
它似乎可以解决问题。

Quick Update - It appears that the issue is in fact that the IIS virtual folder it is creating is empty. I copied the contents of a working Web Application folder to a broken Web Application folder, confirmed all the security settings and restarted IIS and it seemed to do the trick.

希望有人可以对此有所了解..

Hoping someone can shed some light on this..


这篇关于新Web应用程序无法正确创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆