2016-01-03 93 views
0

我在尝试在我的猫鼬安装中加载网页时出现问题。导航到URL时,我收到以下消息。我希望有人能在这里指出我正确的方向。IIS网页无法加载

Server Error in '/WSWebClient' Application. 

配置错误 描述:

该请求提供服务所需的配置文件的处理过程中发生了错误。请查看下面的具体错误细节并适当修改您的配置文件。

Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 

源错误:

Line 13:   <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
Line 14:   <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
Line 15: <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
Line 16:   <!-- Nevron (Diagram) Assemblies --> 
Line 17:   <add assembly="Nevron.Diagram.WebForm, Version=9.3.24.12, Culture=neutral, PublicKeyToken=95BCC3D41B0512E9"/> 

Source File: C:\inetpub\wwwroot\WSWebClient\web.config Line: 15 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded. 


=== Pre-bind state information === 
LOG: User = IIS APPPOOL\ASP.NET v4.0 
LOG: DisplayName = System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 
(Fully-specified) 
LOG: Appbase = file:///C:/inetpub/wwwroot/WSWebClient/ 
LOG: Initial PrivatePath = C:\inetpub\wwwroot\WSWebClient\bin 
Calling assembly : (Unknown). 
=== 
LOG: This bind starts in default load context. 
LOG: Using application configuration file: C:\inetpub\wwwroot\WSWebClient\web.config 
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. 
LOG: Post-policy reference: System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/wswebclient/c0740cfa/5af5eef5/System.Web.Mvc.DLL. 
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/wswebclient/c0740cfa/5af5eef5/System.Web.Mvc/System.Web.Mvc.DLL. 
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/WSWebClient/bin/System.Web.Mvc.DLL. 
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/WSWebClient/bin/System.Web.Mvc/System.Web.Mvc.DLL. 
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/wswebclient/c0740cfa/5af5eef5/System.Web.Mvc.EXE. 
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/wswebclient/c0740cfa/5af5eef5/System.Web.Mvc/System.Web.Mvc.EXE. 
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/WSWebClient/bin/System.Web.Mvc.EXE. 
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/WSWebClient/bin/System.Web.Mvc/System.Web.Mvc.EXE. 



-------------------------------------------------------------------------------- 
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929 ` 

回答

0

的错误状态:装配加载跟踪:下列信息有助于确定程序集“System.Web.Mvc,版本= 2.0。 0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'无法加载。通常,您将其部署到您网站的垃圾箱。在这种情况下,它没有找到它,所以它试图在其他路径中查找它,如日志中所示。

检查您的网站bin文件夹是否有System.Web.Mvc.dll。如果你有,并且仍然有错误,请检查它是否是正确的版本。

+0

我检查了网站的bin文件夹,但没有看到那里的System.Web.Mvc.dll文件。我怎么才能得到它?对于noob问题抱歉...不熟悉IIS,.Net。 – Bertocious

+0

您应该回到开发/部署该网站的人员。它看起来并没有正确部署。 –