“/”应用程序中的服务器错误。

编译错误

说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。

编译器错误消息: ASPNET: 请确保此代码文件中定义的类与“inherits”特性匹配,并且该类扩展的基类(例如 Page 或 UserControl)是正确的。

源错误:


行 2:  using DAL;
行 3:  
行 4:  public partial class product_index : System.Web.UI.Page
行 5:  {
行 6:      private readonly DB _db = new DB();

源文件: d:\WebRoot\WebCrod\xhmoney_com\xhmoney_com\wwwroot\product\index.aspx.cs    行: 4






版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.4057.0