读书人

请问:Could not load type… 这个有关

发布时间: 2012-02-14 19:19:19 作者: rapoo

请教: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 "

读书人网 >asp.net

热点推荐