You need to compile first.

______________________
Paul Brinkley-Rogers
Web Developer
The Sak
[EMAIL PROTECTED]
http://www.thesak.com 



-----Original Message-----
From: Sapp, Tim [mailto:[EMAIL PROTECTED]] 
Sent: Friday, January 03, 2003 1:29 PM
To: dotnet
Subject: Why would I get this error?


I am getting a parser error when I try and run my page.   I am just learning
.Net...  I have saved both the .aspx and the .aspx.vb where the class is at
but I get the follwing error.

Thanks for any help...

Tim Sapp



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 'User_Create.CreateUser1'.

Source Error: 

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

Source File: D:\VP\user_Create\createuser.aspx �� Line: 1 

Version Information:�Microsoft .NET Framework Version:1.0.3705.288; ASP.NET
Version:1.0.3705.288



Here is what I have in the codebehind (.aspx.vb) page....
****************************************************************************
***

Public Class CreateUser1
    Inherits System.Web.UI.Page
    Protected WithEvents Label1 As System.Web.UI.WebControls.Label
    Protected WithEvents UserID As System.Web.UI.WebControls.TextBox
    Protected WithEvents Password As System.Web.UI.WebControls.TextBox
    Protected WithEvents Button_Login As System.Web.UI.WebControls.Button
    Protected WithEvents Label2 As System.Web.UI.WebControls.Label

#Region " Web Form Designer Generated Code "

    'This call is required by the Web Form Designer.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()

    End Sub

    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
        'CODEGEN: This method call is required by the Web Form Designer
        'Do not modify it using the code editor.
        InitializeComponent()
    End Sub

#End Region

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
        'Put user code to initialize the page here
    End Sub

    Private Sub Button_Login_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button_Login.Click
        UserID.Visible = False
        Password.Visible = False
        Label1.Visible = False
        Label2.Visible = False
        Button_Login.Visible = False
    End Sub
End Class

**********************************************************************
Here is the web page
**********************************************************************

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="CreateUser.aspx.vb" Inherits="User_Create.CreateUser1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
        <HEAD>
                <title>CreateUser</title>
                <meta name="GENERATOR" content="Microsoft Visual Studio.NET
7.0">
                <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
                <meta name="vs_defaultClientScript" content="JavaScript">
                <meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5";>
        </HEAD>
        <body MS_POSITIONING="GridLayout">
                <form id="Form1" method="post" runat="server">
                        <asp:TextBox id="UserID" style="Z-INDEX: 101; LEFT:
136px; POSITION: absolute; TOP: 18px" runat="server"></asp:TextBox>
                        <asp:TextBox id="Password" style="Z-INDEX: 102;
LEFT: 136px; POSITION: absolute; TOP: 44px" runat="server" Width="155px"
TextMode="Password"></asp:TextBox>
                        <asp:Label id="Label1" style="Z-INDEX: 103; LEFT:
21px; POSITION: absolute; TOP: 19px" runat="server" Width="111px">Domain \
User ID</asp:Label>
                        <asp:Label id="Label2" style="Z-INDEX: 104; LEFT:
21px; POSITION: absolute; TOP: 46px" runat="server">Password</asp:Label>
                        <asp:Button id="Button_Login" style="Z-INDEX: 105;
LEFT: 110px; POSITION: absolute; TOP: 75px" runat="server" Width="88px"
Text="Login"></asp:Button>
                </form>
        </body>
</HTML>



---
You are currently subscribed to dotnet as: [EMAIL PROTECTED]
To unsubscribe send a blank email to %%email.unsub%%

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/



---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to