I am using MS Visual Web Developer 2010 Express to create web pages. I created a basic web page and ran it on my local computer and it ran fine. When I FTP'ed it to the disscountasp.net host, and attempted to run it I receved errors which I believe are related to my IIS setting or webconfig file. The message does not like the authenitication mode for my forms. Could someone provide a reference to other forums threads that have addressed this issue. Or suggestions on how to correct it. below is the message: Server Error in '/WebApplication2' Application. Configuration Error Description: 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. Source Error: Line 18: <authentication mode="Forms"> Source File: E:\web\compactdies\htdocs\WebApplication2\webapplication8\web.config Line: 18 Show Additional Configuration Errors: Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
...There are several ways to do this but for your test change the mode to "none" and test the page on-line again. If you are using Forms authentication this gets deeper. ;-)
If changing it did nothing you may actually be coding forms auth, are you? It's hard being on this end and guessing. ;-)
Also make sure you have set /WebApplication2 to be an application starting point in Control Panel. [Okay, I see you have already done that. Carry on.]