Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 15, 2013 01:19 AM by cnranasinghe
Nov 28, 2012 02:41 AM|LINK
I have developed a website using asp.net in Visual Studio 2010. I runs well in my local pc but when I deployed this project it gives me following error:
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: 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.
Line 11: <customErrors mode="Off"/>
Line 12: <compilation debug="true"/>
Line 13: <authentication mode="None"/> Line 14: <membership>
Line 15: <providers>
Source File: D:\Sites\mahtelecom.com\public_html\backadmin\web.config Line:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
I searched a lot in net for the solution of this error but failed to fix the problem.
Can anybody pls suggest me the solution.
You can view the error message by this link : http://mahtelecom.com/backadmin
N:B: I used mysql as the database of this project.
Nov 28, 2012 03:23 AM|LINK
Move to your IIS and under ur project virtual directory.. check the authentication mode that is configured.
Its states that the authentication mode configured in your application web.config and in IIS doesnt match.
So check ur IIS and make your authentication mode to none or internal user.
Nov 28, 2012 03:26 AM|LINK
I think this issue was caused by the configuration at IIS. Can you try to right click your application folder at IIS Manager then choose "Convert to Application" option.
Jan 15, 2013 01:19 AM|LINK
Try switching the application pool to different one.