请教:Could not load type… 这个问题如何解决?
最近有个旧的Asp.net 应用程序,打开编译没错,但运行就提示:
Server Error in '/Pds ' 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 'PRS.WaferMap._Default '.
Source Error:
Line 1: <%@ Page language= "c# " Codebehind= "Default.aspx.cs " AutoEventWireup= "false " Inherits= "PRS.WaferMap._Default " %>
Line 2: <%@ Register TagPrefix= "uc1 " TagName= "Header " Src= "../../../pds/public/Header.ascx " %>
Line 3: <%@ Register TagPrefix= "iewc " Namespace= "Microsoft.Web.UI.WebControls " Assembly= "Microsoft.Web.UI.WebControls " %>
Source File: C:\Inetpub\wwwroot\PDS\PRS\WaferMap\Default.aspx Line: 1
不知道哪里问题,请教各位DX,看有没有解决过此类问题的?
------解决方案--------------------up
------解决方案--------------------Line 1: <%@ Page language= "c# " Codebehind= "Default.aspx.cs " AutoEventWireup= "false " Inherits= "PRS.WaferMap._Default " %>
一般是:Inherits= "_Default "