时出时没 ASPNET: Make sure that the class defined in this code file matches
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
Source Error:
5分钟出现一次,在5分钟又正常显示页面,过2分钟刷新又出错。代码改动一下又从正常变成报错了,过一会又好了,不影响运行,只是调试制作时很麻烦。
<%@ Page Language="C#" EnableViewState="true" AutoEventWireup="true" CodeFile="DKPayJ.aspx.cs"
Inherits="dkpayjishuan" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>修改</title>
</head>
<body>
<form id="form1" runat="server">
</form>
</body>
</html>
using System;
public partial class dkpayjishuan : System.Web.UI.Page
{protected void Page_Load(object sender, EventArgs e)
{int aaa = 000001;}}
代码就这点也出错
------解决方案--------------------
http://stackoverflow.com/questions/1088204/asp-net-2-0-compilation-error-make-sure-that-the-class-defined-in-this-code-fil