Skip to content

contracttool 在jexus上部署,其他界面正常打开,default界面打开报错 #25

Description

@ea5y

System.Web.Compilation.ParseException
The parent type 'ContractTools.WebApp.Default' does not derive from System.Web.UI.Page

Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.
Details: The parent type 'ContractTools.WebApp.Default' does not derive from System.Web.UI.Page
Error origin: Parser
Error source file: /var/www/contracttools/Default.aspx
Exception stack trace:
at System.Web.UI.BaseParser.ThrowParseException (System.String message, System.Object[] parms) <0x41715ee0 + 0x00087> in :0
at System.Web.UI.TemplateParser.SetBaseType (System.String type) <0x416a0da0 + 0x001eb> in :0
at System.Web.UI.TemplateParser.ProcessMainAttributes (IDictionary atts) <0x416ac790 + 0x00bc3> in :0
at System.Web.UI.TemplateControlParser.ProcessMainAttributes (IDictionary atts) <0x416ab590 + 0x0042f> in :0
at System.Web.UI.PageParser.ProcessMainAttributes (IDictionary atts) <0x416a8000 + 0x027ef> in :0
at System.Web.UI.TemplateParser.AddDirective (System.String directive, IDictionary atts) <0x416a6b80 + 0x0019e> in :0
at System.Web.UI.TemplateControlParser.AddDirective (System.String directive, IDictionary atts) <0x416a65d0 + 0x0054b> in :0
at System.Web.UI.PageParser.AddDirective (System.String directive, IDictionary atts) <0x416a6130 + 0x0042b> in :0
at System.Web.Compilation.AspGenerator.GetInheritedType (System.String fileContents, System.String filename) <0x416a3520 + 0x00401> in :0
at System.Web.Compilation.AspGenerator.GetRootBuilderType (System.IO.Stream inputStream, System.String filename) <0x416a2cf0 + 0x000bf> in :0
at System.Web.Compilation.AspGenerator.CreateRootBuilder (System.IO.Stream inputStream, System.String filename) <0x416a2b00 + 0x0003b> in :0
at System.Web.Compilation.AspGenerator.InitParser (System.IO.TextReader reader, System.String filename) <0x416a1f90 + 0x00353> in :0
at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader, System.String filename, Boolean doInitParser) <0x416a1b80 + 0x00063> in :0
at System.Web.Compilation.GenericBuildProvider1[TParser].Parse () <0x4169b730 + 0x000c3> in <filename unknown>:0 at System.Web.Compilation.GenericBuildProvider1[TParser].GenerateCode () <0x4169b660 + 0x00016> in :0
at System.Web.Compilation.GenericBuildProvider`1[TParser].GenerateCode (System.Web.Compilation.AssemblyBuilder assemblyBuilder) <0x4169b420 + 0x0004c> in :0
at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, Boolean debug) <0x4169a840 + 0x002e2> in :0
Error source context:
Error lines: 1, 1
1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ContractTools.WebApp.Default" ValidateRequest="false" %>
2:
3:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions