This topic is locked

dbConnection error on ASPR ver. 9

8/11/2015 3:09:42 PM
ASPRunnerPro General questions
G
gonzalosb author

Hi All,

I get the error:



Microsoft VBScript runtime error '800a01a8'
Object required: 'dbConnection'


I'm recreating an old project that I use on versions 7 and 8 where works fine, but on 9 I get this error every time I use a dbConnection.Execute .

I also start from scratch the project to have it clean of errors but I get the same result

I use the same code provide on ASP manual online and always work before
it change the way connecting the database on version 9 ?
is someone else having this error?
can be an error or glitch on version 9 ?
thank you

acaruson 8/11/2015



Hi All,

I get the error:
I'm recreating an old project that I use on versions 7 and 8 where works fine, but on 9 I get this error every time I use a dbConnection.Execute .

I also start from scratch the project to have it clean of errors but I get the same result

I use the same code provide on ASP manual online and always work before
it change the way connecting the database on version 9 ?
is someone else having this error?
can be an error or glitch on version 9 ?
thank you


What's your connection string?

G
gonzalosb author 8/11/2015

Here it is



sql="Update Table1 set Phone='123' where Name='Mikey Pluto'"

dbConnection.Execute sql
M
Maurits 8/11/2015

I had this with version 6

The db connection file got overwritten wrong every time after I built the project, it added twice the password, just incase check this.

Deleted 1 password and it connected again.

admin 8/12/2015

You should not be using dbConnection object directly. Use ASPRunnerPro API for this purpose:

http://xlinesoft.com/asprunnerpro/docs/customquery.htm