problem with SQL statement after host migrated updated webserver
I have a sight that my webhost migrated to a new server and now one of my classic asp dynamic pages isn't loading correctly for the life of me I can't figure it out.
I get a 'An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.'
Not sure if its cause I'm doing a classic asp thing and the new server doesn't quite support that or what the problem is. Any help or directions in troubleshooting would be great, host is slow getting back to me, as I figure they are busy trying to troubleshoot all of the folks that got migrated also?
Waiting to hear back from host. I'll keep you posted. As far as the "all" thing, I am the only one making calls to that so I would always use the ALL. You can't manually type that in anywhere. I'll keep you guys posted....
Big Monty
did you try displaying the sql statement as I suggested?
Thanks on the SQL injection stuff. I'm familiar with it I've had to fight it off before. Thanks for all of your help.
I believe that when I was entering test data to test what was going on i got the phrase 'test' inserted into a 'int' field. So that was the problem. So I'm giving the majority of points to Big Daddy. But I'm gonna give a few to the others that chimed in. As being a web developer that is a one man show, I don't always have other folks to ask questions and this forum has saved me I don't know how many times. My appreciation goes out to all of you!
Also this is not safe
Open in new window
You should be in the habit of scrubbing your data before you send it to your db. Otherwise you are open to sql injection.