I get the following error message when trying to run a ASPX page on my site, and yes ASP.net is installed.<BR><BR>Line: 5<BR>Char: 5<BR>Error: Expected';'<BR>Code: 0<BR>URL: http://bluemistonline.com/FormsXml/Register/Register.aspx<BR><BR><BR><BR>heres the code:<BR><BR><%@ Import Namespace="System.Data" %><BR><BR><Script Runat="Server"><BR><BR>Sub Button_Click( s As Object, e As EventArgs )<BR> Dim dstPasswords As DataSet<BR> Dim dtblPasswords As DataTable<BR> Dim arrUsers() As DataRow<BR> Dim drowNew As DataRow<BR><BR> If IsValid Then<BR> dstPasswords = New DataSet()<BR> dstPasswords.ReadXml( MapPath( "../Passwords.xml" ) )<BR> dtblPasswords = dstPasswords.Tables( 0 )<BR> arrUsers = dtblPasswords.Select( "Name='" & txtUsername.Text & "'" )<BR> If arrUsers.Length > 0 Then<BR> lblMessage.Text = "Username Already Registered!"<BR> Else<BR> drowNew = dtblPasswords.NewRow()<BR> drowNew( "Name" ) = txtUsername.Text<BR> drowNew( "Password" ) = txtPassword.Text<BR> dtblPasswords.Rows.Add( drowNew )<BR> dstPasswords.WriteXml( MapPath( "../Passwords.xml" ) )<BR> FormsAuthentication.RedirectFromLoginPage( txtUsername.Text, False )<BR> End If<BR> End If<BR>End Sub<BR><BR></Script><BR><BR><html><BR><head><title>Register.aspx</title></head><BR><body><BR><form Runat="Server"><BR><BR><h2>Please Register</h2><BR><BR><asp:Label<BR> ID="lblMessage"<BR> ForeColor="Red"<BR> Font-Bold="True"<BR> EnableViewState="False"<BR> Runat="Server" /><BR><p><BR><b>Username:</b><BR><BR><BR><asp:TextBox<BR> ID="txtUsername"<BR> Runat="Server" /><BR><asp:RequiredFieldValidator<BR> ControlToValidate="txtUsername"<BR> Text="Required!"<BR> Runat="Server" /><BR><p><BR><b>Password:</b><BR><BR><BR><asp:TextBox<BR> ID="txtPassword"<BR> Runat="Server" /><BR><asp:RequiredFieldValidator<BR> ControlToValidate="txtPassword"<BR> Text="Required!"<BR> Runat="Server" /><BR><p><BR><asp:Button<BR> Text="Register!"<BR> OnClick="Button_Click"<BR> Runat="Server" /><BR><BR></Form><BR></body><BR></html><BR>You might want to set the language of the script you're writing. I have a feeling your page is just seeing the generic script tag and assuming it's javascript rather than vb. <BR><BR>Try <script language="VB" runat="server"><BR><BR>Just a thought,<BR><BR>])ryok it worked but i cant see any of the form feilds on my page still but no errors come up on the page anymoreHmm, something not right going on, cause I'm able to view your source code and see everything between your <script> tags. <BR><BR>Might want to add a page directive and see where that gets you. Just after you import the System.Data namespace put:<BR><BR><%@ page language="VB" explicit="True" trace="False" %><BR><BR>That might do it,<BR><BR>])ry<BR><BR><BR><BR>no it does not work