Thedunk
12-21-2004, 03:44 PM
I have written a few .asp & .htm programs that add, update, and delete from an access database. When I run these programs (through the msn browers) //localhost/voucher/vcgetemp.htm all works well. I currently have moved these programs to one of our servers. Techservices then create a vertual drive to access these programs.
Problem:
Whne I start the first program where I enter in some information, I then ACTION to another .asp page which opens the database and checks to see if the information is correct, at which point the user hits Display, this will then call another .asp and that's when I get the error 0x80004005 unspecified error.
Code:
Instantiate an ADO Connection object.
Set objDBConn = Server.CreateObject("ADODB.Connection")
' Using the connection string open the connection.
strConn = "vouchers"
objDBConn.Open strConn
The error is pointing to objDBConn.Open strConn. Please note that strConn = "vouchers" was opened in the previous .asp. I do have that close and nothing statements in the previous .asp.
Sometimes if I wait for a few minutes and press display the next page is displayed with the data, but not always.
Thanks
Problem:
Whne I start the first program where I enter in some information, I then ACTION to another .asp page which opens the database and checks to see if the information is correct, at which point the user hits Display, this will then call another .asp and that's when I get the error 0x80004005 unspecified error.
Code:
Instantiate an ADO Connection object.
Set objDBConn = Server.CreateObject("ADODB.Connection")
' Using the connection string open the connection.
strConn = "vouchers"
objDBConn.Open strConn
The error is pointing to objDBConn.Open strConn. Please note that strConn = "vouchers" was opened in the previous .asp. I do have that close and nothing statements in the previous .asp.
Sometimes if I wait for a few minutes and press display the next page is displayed with the data, but not always.
Thanks