apple163 - 2009/6/8 14:27:00
版本信息: Microsoft .NET Framework 版本:1.1.4322.2407; ASP.NET 版本:1.1.4322.2407
你的NET版本太低,需要主机设置为2.0或以上版本
tom - 2009/6/8 14:38:00
我是在虚拟主机上测试的,是本地的。net版本要设置为2.0,还是说虚拟空间上的设置没有达到?
apple163 - 2009/6/8 14:43:00
虚拟主机让主机商设置为2.0
tom - 2009/6/8 15:04:00
谢谢apple大哥指教,虚拟主机已设置为2.0了,但是又出来问题了,如下:
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 67: </buildProviders>
Line 68: </compilation>
Line 69: <authentication mode="Forms" />
Line 70: <customErrors mode="Off">
Line 71: <error statusCode="404" redirect="/" />
Source File: d:\freehost\dzdqsc\web\pageadmin\web.config Line: 69
Show Additional Configuration Errors:
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. (d:\freehost\dzdqsc\web\pageadmin\web.config line 73)
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
这个怎么解决,谢谢。
xiyou - 2009/6/8 15:12:00
网站没有放在根目录下吧