本地运行得好好的,传到虚拟主机空间怎就不行了呢。微软不是鼓吹说XCOPY吗?
难道非得要在IIS里设定一下才行,真不想去麻烦网管,我的空间是支持.NET的
错误如下:
Server Error in '/' 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 36: “Passport”和“None”
Line 37: -->
Line 38: <authentication mode="None" />
Line 39:
Line 40: <!-- 应用程序级别跟踪记录