Internet Publishing Package - Enable IIS Settings from IIS Manager

I am trying to create a deployment package from VS2010 against a web project and want to enable all IIS settings configured in IIS Manager. However, when I turn this on, 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 little sense, because the specified application exists in the default website. I checked the spelling. I tried to have ISV as a virtual directory and as an application, and tried with and without an ISV folder.

On the web page, enter the project url http: //localhost/ISV/Web.Crm.Framework/ "

On the Package / Publishing tab, the IIS website name is set to "Default Website /ISV/Web.Crm.Framework/"

If you need more information than this, please let me know.

Bing / Google search is very small on this subject, and the documentation is actually not adequately described. Any help would be appreciated, let me know if you would like more information. I am going to be a paltry and cross-talk post in msdn social forums too, get MVP in case.

+2
source share
1 answer

I had the same problem and I could not find anything on Google to help. So I just tried the variations of the values ​​that I had in the Project URLs and IIS, indicating that you need to remove the last "/" from the project URL value.

So, for your project, this should be "http: //localhost/ISV/Web.Crm.Framework".

Hope this helps! Nicola

+1
source

Source: https://habr.com/ru/post/1446444/


All Articles