CodeBehind停止工作

时间:2017-07-17 16:16:34

标签: c# asp.net visual-studio-2008

使用VS2008

我已经使用这个(遗留)应用程序一年了,然后在上周五,当我尝试调试它时,我收到了这个错误:

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 'FIPS._Default'.

Source Error: 

Line 1:  <%@ Page Language="C#" AutoEventWireup="true" 
CodeBehind="Default.aspx.cs" Inherits="FIPS._Default" %>
Line 2:  
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

我认为我可以简单地将“CodeBehind”更改为“CodeFile”,我已阅读Could not load type 'site._Default'CodeFile vs CodeBehind@ Page

问题是我们确实使用TSF而且我是唯一有这种情况的人,为什么我要修改整个项目?

请帮我解决这个问题。可能导致此错误的原因是什么?我该如何解决?

修改

<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="FIPS.Web.Admin.Default" Title="FIPS" %>

这应该是有罪的,但问题甚至可能不存在;这个项目有一天工作正常,然后是下一个,kaputz!未对代码或计算机应用任何更改,可能已应用我的控件之外的自动更新。

0 个答案:

没有答案