Error While running site from IIS
|
Hi, Dhaval.
Thank you for contacting us.
There are several possible causes for this error.
1. As the error itself suggests, maybe the the project's virtual directory is not configured as an application in IIS.
2. web.config files in sub-directories with illegal tags.
3. Duplicate web.config files at the root or in a backup directory.
Below are some links that describe these scenarios and may provide you with the solution to your problem:
http://web-geeks.blogspot.com/2008/04/it-is-error-to-use-section-registered.html
http://dotnet-magic.blogspot.com/2008/11/it-is-error-to-use-section-registered.html
http://forums.asp.net/t/769696.aspx
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b5488995-fa99-460f-96d7-29d1ddcf3fac.mspx?mfr=true
http://forums.iis.net/p/1150386/1873823.aspx
Please contact us again if you have any more questions.
All the best,
Randy Hodge
the Telerik team
Hi,
I got a similar error message and want to share what worked for me.
CONDITIONS:
I had the project in VS2010 and then tried to open it in VS2012 , for some reason I didn't have the .sln file and I was trying to compile when using "open website". In my opinion the issue could be related to a framework version conflict.
MY SOLUTION:
1- Install all the updates for Visual Studio 2012 and Sitefinity Thunder
2-Open (doubleclick) the "SitefinityWebApp.csproj" and let the VS do the some migration work, try to close (you will be asked to save the new .sln)
2- Open Visual Studio "as administrator" (run as administrator) in the development server, open the new .sln file, rebuild and the error message goes away.
I hope this help somebody.