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 `
我檢查了網站的bin文件夾,但沒有看到那裏的System.Web.Mvc.dll文件。我怎麼才能得到它?對於noob問題抱歉...不熟悉IIS,.Net。 – Bertocious
您應該回到開發/部署該網站的人員。它看起來並沒有正確部署。 –