包发布 Web - 包含 IIS 管理器中的 IIS 设置会破坏部署包构建
我正在尝试针对 Web 项目构建 VS2010 的部署包,并希望包含 IIS 管理器中配置的所有 IIS 设置。但是,当我启用此功能时,我收到以下错误消息
Object of type 'manifest' and path 'K:\Sandbox\Web.Crm.Framework\obj\Debug\Package\Web.Crm.Framework.SourceManifest.xml' cannot be created.
One or more entries in the manifest 'sitemanifest' are not valid.
Application '/ISV/Web.Crm.Framework/' does not exist in site 'Default Web Site'. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets 2855 5 Web.Crm.Framework
现在,此错误没有什么意义,因为默认网站中确实存在指定的应用程序。我检查过拼写。我尝试过将 ISV 作为虚拟目录和应用程序,并尝试使用和不使用 ISV 文件夹。
在网页上,我将项目 URL 设置为“http://localhost/ISV/Web.Crm .Framework/”
在“打包/发布”选项卡上,IIS 网站名称设置为“默认网站/ISV/Web.Crm.Framework/”。
如果您需要更多信息,请告诉我。
Bing/Google 搜索对此的了解很少,而且文档也不够详细。任何帮助将不胜感激,如果您需要更多详细信息,请告诉我。我也将一事无成,并在 msdn 社交论坛上交叉发帖,获得该案例的 MVP。
Im trying to build a deployment package out of VS2010 against a web project and want to include all IIS settings as configured in IIS Manager. However when i enable this i get the following error message
Object of type 'manifest' and path 'K:\Sandbox\Web.Crm.Framework\obj\Debug\Package\Web.Crm.Framework.SourceManifest.xml' cannot be created.
One or more entries in the manifest 'sitemanifest' are not valid.
Application '/ISV/Web.Crm.Framework/' does not exist in site 'Default Web Site'. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets 2855 5 Web.Crm.Framework
Now this error makes very little sense as the specified application does exist in Default Web Site. I've checked the spelling. I've tried having ISV as a virtual directory and as an Application and tried with and without the ISV folder.
On the Web page i hae the Project URL set to "http://localhost/ISV/Web.Crm.Framework/"
On the Package/Publish tab IIS web site name is set to "Default Web Site/ISV/Web.Crm.Framework/"
If you need any more information than this please let me know.
Bing/Google search turn up very little on this and the documentation is not really detailed enough. Any help would be appreciated, let me know if you want more details. I'm going to be naught and cross post into the msdn social forums too, get an MVP on the case.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了完全相同的问题,但在 Google 上找不到任何帮助。因此,我只是尝试了项目 URL 和 IIS 网站名称字段中的值的变体,看来您需要从项目 URL 值中删除最后一个“/”。
因此,对于您的项目,它应该是“http://localhost/ISV/Web.Crm.Framework”。
希望这有帮助!
尼古拉
I had the exact same problem and couldn't find anything on Google to help. So I just tried variations of the values I had in the Project URL and IIS web site name fields, it appears that you need to remove the last "/" from the Project URL value.
So for your project it should be "http://localhost/ISV/Web.Crm.Framework".
Hope this helps!
Nicola