wldggl - 2012/7/1 23:10:00
[code]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: Could not load file or assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 系统找不到指定的文件。 (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 182)
Source Error:
Line 180: <add name="Profile" type="System.Web.Profile.ProfileModule"/>
Line 181: <add name="ErrorHandlerModule" type="System.Web.Mobile.ErrorHandlerModule, System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 182: <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
Line 183: </httpModules>
Line 184: <mobileControls sessionStateHistorySize="6" cookielessDataDictionaryType="System.Web.Mobile.CookielessData">
Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config Line: 182
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 [/code]
xiyou - 2012/7/2 10:51:00
你是不是吧pa放在虚拟目录下了?
网站必须放在应用程序级的Iis根目录下
wldggl - 2012/7/2 16:16:00
这个是虚拟主机。不是在本机调试
xiyou - 2012/7/3 10:46:00
有两种可能,一种是你购买的主机不是一个独立虚拟主机,而是虚拟主机下的子目录
第二中可能就是服务器没有安装好framework。这个错误貌似是系统文件的错误