locked
Parser Error

    Question

  • 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 'VBNetUpload.WebForm1'.

    Source Error:

    Line 1:  <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="VBNetUpload.WebForm1"%>
    Line 2:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    Line 3:  <HTML>


    Source File: F:\arun\Easy_Upload\vbnetupload.aspx    Line: 1

    Am Trying to upload a file to the web server.

    How to resolve this error? Plz rep me...

     

     

    Friday, February 16, 2007 11:12 AM

Answers

  • The compiler can't find the VBNetUpload.WebForm1 class. Did you rename your file to vbnetupload.aspx... but not update the html code in this page?

     

    You may need to change the page to look like: (respective of the class name and files you have)

    <%@ Page Language="vb" AutoEventWireup="false" Codebehind="vbnetupload.aspx.vb" Inherits="VBNetUpload.vbnetupload"%>

    Friday, February 16, 2007 4:06 PM