将项目从本地主机转移到服务器时发生配置错误



将在本地计算机上运行的vb项目Visual Studio 2010带到服务器时出现的错误。我将如何准确地解决它?

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 24:       ASP.NET to identify an incoming user. 
Line 25:     -->
Line 26:     <authentication mode="Windows" />
Line 27:     <!--
Line 28:        The <customErrors> section enables configuration 

尝试在服务器上创建一个虚拟目录:

http://msdn.microsoft.com/en-us/library/zwk103ab%28v=vs.100%29.aspx

最新更新