Results 1 to 3 of 3

Thread: New Webform

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Chesterfield, UK
    Posts
    298

    New Webform

    When I create a new webform then go to the selected place in my browser i get this ;---


    VB Code:
    1. Server Error in '/projects/cadenzza-net' Application.
    2. --------------------------------------------------------------------------------
    3.  
    4. Parser Error
    5. 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.
    6.  
    7. Parser Error Message: Could not load type 'cadenzza_net.WebForm2'.
    8.  
    9. Source Error:
    10.  
    11.  
    12. Line 1:  <%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb" Inherits="cadenzza_net.WebForm2"%>
    13. Line 2:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    14. Line 3:  <html>
    15.  
    16.  
    17. Source File: c:\inetpub\wwwroot\projects\cadenzza-net\authentication\Default.aspx    Line: 1
    18.  
    19.  
    20. --------------------------------------------------------------------------------
    21. Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

    Why??

    When I view the code behind the default.aspx, the Public class is "weform2" so why the heck am I getting this???

    Any help would be much appreciated.


    Kind Regards,



    Matt.

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724
    As I'm sure you're aware of, the code in the "code behind" resides in a dll. When requesting the new page through your browser, it looks for the code behind in the above dll. It's a new addition, so the code behind doesn't exist in the dll - thus the error. Simple solution - rebuild your project

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Chesterfield, UK
    Posts
    298
    Thank you very much!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width