Parser Error - Running an ASPX file.

Discussion in 'ASP.NET / ASP.NET Core' started by RealView, Mar 16, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. All of a sudden I get the error below when I create a new web form.
    I've deleted, recreated, changed names, no content on the web page other than an "OK" in the form. If I remove Inherits="BAPWP.ptest" from the "<%@ Page ..." header it works ok but isn't properly associated with the code page. On my local computer it works fine.
    Any Ideas?



    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 'BAPWP.Testing'.

    Source Error:


    Line 1: <%@ Page language="c#" Codebehind="Testing.aspx.cs" AutoEventWireup="false" Inherits="BAPWP.Testing" %>
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    This error is usually caused by a missing DLL. Make sure you move your latest dll (in your bin folder) to the server.

    Let us know if this fix the problem

    quote:Originally posted by RealView

    All of a sudden I get the error below when I create a new web form.
    I've deleted, recreated, changed names, no content on the web page other than an "OK" in the form. If I remove Inherits="BAPWP.ptest" from the "<%@ Page ..." header it works ok but isn't properly associated with the code page. On my local computer it works fine.
    Any Ideas?



    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 'BAPWP.Testing'.

    Source Error:


    Line 1: <%@ Page language="c#" Codebehind="Testing.aspx.cs" AutoEventWireup="false" Inherits="BAPWP.Testing" %>



    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page