|
-
Sep 8th, 2003, 10:53 AM
#1
Thread Starter
Hyperactive Member
New Webform
When I create a new webform then go to the selected place in my browser i get this ;---
VB Code:
Server Error in '/projects/cadenzza-net' Application.
--------------------------------------------------------------------------------
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 'cadenzza_net.WebForm2'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb" Inherits="cadenzza_net.WebForm2"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <html>
Source File: c:\inetpub\wwwroot\projects\cadenzza-net\authentication\Default.aspx Line: 1
--------------------------------------------------------------------------------
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.
-
Sep 8th, 2003, 12:24 PM
#2
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
-
Sep 9th, 2003, 03:04 AM
#3
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|