It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
I went back to the comments from the blog post and found this one, where someone else was having the same issue and they solved the issue by deleting the obj\
That also did not work for me, so I followed a link to the use of Web Deployment Projects with ASP.NET MVC and noticed that they were using the following PhysicalPath setting.
I changed my setting to this value, $(ProjectDir)\..\Web created this directory and now things are working properly again.
1 comment:
Just wish to say your article is as astounding. The clearness in your submit is simply great and that i can think you’re an expert on this subject. Well together with your permission allow me to clutch your RSS feed to keep updated with approaching post. Thank you a million and please keep up the gratifying work.
Post a Comment