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="Forms">
Line 39: <forms name=".ASPXAUTH " loginUrl="login.aspx" timeout="30" path= "/">
Line 40: </forms>
Source File: C:\Inetpub\wwwroot\dingtian1\admin\web.config Line: 38
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="Forms">
Line 39: <forms name=".ASPXAUTH " loginUrl="login.aspx" timeout="30" path= "/">
Line 40: </forms>
Source File: C:\Inetpub\wwwroot\dingtian1\admin\web.config Line: 38
解决问题了,可是又有Could not load type 'dingtian1.admin.login'
在项目里面怎么将文件夹生成应用程序?
http://support.microsoft.com/?scid=kb;zh-cn;306155&spid=1108&sid=global
C:\Inetpub\wwwroot\dingtian1 对应为:http://localhost/dingtian1
那么在iis中要将 admin 对应到:C:\Inetpub\wwwroot\dingtian1\admin 下且admin虚拟目录要在dingtian1 虚拟目录中设置在iis 中选定dingtian1 右键, 再创建admin的虚拟目录。仅供参考。