|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
The "undefined error"-problem
hi! i wonder why I sometimes get a message saying "undefined error on line X". The SAME script can work several times before this error turns in, but when it well has turned in there's no return.... it'll stay there.... <br><br>Now my question is WHY do I get this message..<br><br>The error ALWAYS occour at the line WHERE this code is written:<br>RecSet.Open SQL, Connect, adOpenStatic, adLockOptimistic
|
|
#2
|
|||
|
|||
|
Since the message should not be coming from ADO/SQL I would first check the SQL before executing the command
If UserName = "MyUserName" Then Response.Write(SQL) RecSet.Open SQL, Connect, adOpenStatic, adLockOptimistic |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > The "undefined error"-problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|