Monday, January 30, 2006
Work: allowDefinition='MachineToApplication'
In trying to get the webservice working with Visual Studio 2005, I encountered this error message:
Eventually I found this post on one of the MSDN blogs (thanks Rob!). Turns out Visual Studio 2005 was actually looking at the web.config file in the backup directory that the "Upgrade Solution" wizard made. By removing the directory, the solution complied.
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 IISnaturally I assumed that the problem was with my IIS Virtual Directory. But everything seemed fine there, and tinkering around with the settings didn't help.
Eventually I found this post on one of the MSDN blogs (thanks Rob!). Turns out Visual Studio 2005 was actually looking at the web.config file in the backup directory that the "Upgrade Solution" wizard made. By removing the directory, the solution complied.
Comments:
<< Home
I got this error when trying to install visual studio team system 2005 with .net 2.0.
Turns out there were multiple web.config files under the
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\template\layouts
directory. Renamed the one in the layouts\1033 directory and sharepoint works great now!
Thanks for the tip.. it put me in the right direction.
Post a Comment
Turns out there were multiple web.config files under the
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\template\layouts
directory. Renamed the one in the layouts\1033 directory and sharepoint works great now!
Thanks for the tip.. it put me in the right direction.
<< Home