Eivo Posted April 28, 2008 Share Posted April 28, 2008 I was recently hit with a malicious bot that wiped a lot of data from my database. I learned the importance of log files and db backups real fast. After a week of complete chaos and angry customers, I have everything back up and backed up. So now I have located how the attack happened and what I need to do in order to fix it, which leads me to my question.How should I handle an error in VBscript/ASP when a MsSQL reaches EOF without finding its query?When I used JScript/ASP, I used the "Try...Catch" statement. Is there anything like that with VBScript?Thanks for any help in advance. Link to comment Share on other sites More sharing options...
justsomeguy Posted April 28, 2008 Share Posted April 28, 2008 I don't think VBscript has a try/catch block. It's probably better just to check for EOF after running the query. Link to comment Share on other sites More sharing options...
Eivo Posted April 28, 2008 Author Share Posted April 28, 2008 Now I swore that when I tried that in JScript, it didn't work. I got it working though, Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.