以前我有一个 MVC4 网站,在 Windows 8.1 上托管没有任何问题,但现在迁移到 Windows 10 后,我看到了很多问题,例如:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource
required to service this request. Please review the following specific
parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'ClientSide.MvcApplication'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="ClientSide.MvcApplication" Language="C#" %>
Source File: /global.asax Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319;
ASP.NET Version:4.6.79.0