0
当我将一个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
如果我们运行的本地服务器上的项目,然后其在服务器 – 2012-09-14 06:40:05
创建虚拟目录中没有,你可以使用所需的内置服务器(卡西尼)在VS.但是最好在一个尽可能相似的环境中进行开发,以最终生产。 – IrishChieftain 2012-09-14 13:44:13