I am trying to publish a simple web site that originates in VS Web Developer 2008. It works OK on my local machine when I build it and view it in a browser using the VS ASP.NET Development Server. Using the instructions in a Winhost KB article, I copied the files for my site from VS to a directory on the FTP server. When I try to run it on the server, using my www.mydomain.com/application folder name/I get the following error: 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 50: ASP.NET to identify an incoming user. Line 51: --> Line 52: <authentication mode="Windows" /> Line 53: <!-- Line 54: The <customErrors> section enables configuration Are there changes I should make changes to the web.config file before copying to the server?
You need to setup your subfolder "application" as an application folder. Try looking at this kb article for guidelines on how to achieve this. http://support.Winhost.com/KB/a635/what-is-the-application-starting-point-tool.aspx