Hi there ..
A bit new to ASP o sorry for the experts out there who are reading this.
I'm having trouble executing a sql 2000 proc through my asp/vbscript code. (Snippet below) .. Any ideas?
I find it a bit hard to find out where I'm going wrong as I'm doing it in notepad ... are there any good (& free if possible) asp debuggers that you know of?
Perhaps something that can step through the code line by line or at least return me an error?
Your help would be much appreciated thx.
strSQL1 = "exec sp_register '" & strUsername & "','" & strPassword & "','" & strName & "','" & strSurname & "','" & strAge & "','" & strSuburb & "','" & strStreet & "','" & strPostcode & "','" & strPhone & "','" & strEmail
strConnection = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=myID;Password=myPassword;Initial Catalog=MYDB;Data Source=MyServer"
Set conn = Server.CreateObject("ADODB.Connection")
conn.open strConnection
conn.execute(strSQL1)
A bit new to ASP o sorry for the experts out there who are reading this.
I'm having trouble executing a sql 2000 proc through my asp/vbscript code. (Snippet below) .. Any ideas?
I find it a bit hard to find out where I'm going wrong as I'm doing it in notepad ... are there any good (& free if possible) asp debuggers that you know of?
Perhaps something that can step through the code line by line or at least return me an error?
Your help would be much appreciated thx.
strSQL1 = "exec sp_register '" & strUsername & "','" & strPassword & "','" & strName & "','" & strSurname & "','" & strAge & "','" & strSuburb & "','" & strStreet & "','" & strPostcode & "','" & strPhone & "','" & strEmail
strConnection = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=myID;Password=myPassword;Initial Catalog=MYDB;Data Source=MyServer"
Set conn = Server.CreateObject("ADODB.Connection")
conn.open strConnection
conn.execute(strSQL1)