Ask a Question related to ASP Database, Design and Development.
-
MattG #1
ADO Connection Error
Can anyone give me an idea why this isn't working?
strMDBpath = "dmiscal.mdb"
oConn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & strMDBPath
the error is:
ADODB.Connection.1 error '800a0bb9'
The application is using arguments that are of the wrong type, are out of
acceptable range, or are in conflict with one another.
Thanks!
Matt
MattG Guest
-
connection error!! please help
Hello. Can somebody please help me with "connection error" from a remote pc? Streaming LIVE from my webcam to my website. When I enter the website... -
DB2 Connection Error
I keep getting the following error: Event Type: Error Event Source: ColdFusion MX 7 ODBC Server Event Category: None Event ID: 0... -
SQL Connection 405 error - HELP
please let me know if you find out,,, lars67@direcway.com -
Error when calling a web service (The underlying connection was closed: An unexpected error occurred on a receive.)
I am calling a simple service. Always on the first call I have this error (System.Net.WebException: The underlying connection was closed: An... -
Error 711 and Error 5, Remote access connection manager service
I'm trying to set up a dial-up connection, but my computer will not start Remote Access Connection Manager or Remote Access Auto Connection... -
Bob Barrows #2
Re: ADO Connection Error
MattG wrote:
It's got nothing to do with your error, but you should use the native Jet> Can anyone give me an idea why this isn't working?
>
> strMDBpath = "dmiscal.mdb"
> oConn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" &
> strMDBPath
OLEDB provider instead of the obsolete ODBC driver:
oConn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
strMDBPath
I suspect the error is not being caused by this line of code. You must have>
>
> the error is:
>
> ADODB.Connection.1 error '800a0bb9'
> The application is using arguments that are of the wrong type, are
> out of acceptable range, or are in conflict with one another.
>
a later line of code that uses one of the ADO constants (asOpenStatic,
adUseClient, etc.) and you have failed to include the definitions of those
constants in your page. The best way to do this is described here:
[url]http://www.aspfaq.com/show.asp?id=2112[/url]
--
HTH,
Bob Barrows - Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Bob Barrows Guest
-
Tom Kaminski [MVP] #3
Re: ADO Connection Error
"MattG" <remove.msg@standardpub.com> wrote in message
news:uNwPceLlDHA.2328@TK2MSFTNGP10.phx.gbl...[url]http://www.aspfaq.com/show.asp?id=2102[/url]> Can anyone give me an idea why this isn't working?
>
> strMDBpath = "dmiscal.mdb"
> oConn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & strMDBPath
>
>
> the error is:
>
> ADODB.Connection.1 error '800a0bb9'
> The application is using arguments that are of the wrong type, are out of
> acceptable range, or are in conflict with one another.
--
Tom Kaminski IIS MVP
[url]http://www.iistoolshed.com/[/url] - tools, scripts, and utilities for running IIS
[url]http://mvp.support.microsoft.com/[/url]
[url]http://www.microsoft.com/windowsserver2003/community/centers/iis/[/url]
Tom Kaminski [MVP] Guest
-
Aaron Bertrand - MVP #4
Re: ADO Connection Error
"MattG" <remove.msg@standardpub.com> wrote in message
news:uNwPceLlDHA.2328@TK2MSFTNGP10.phx.gbl...You need to provide a proper path. If dmiscal.mdb is in the same folder as> Can anyone give me an idea why this isn't working?
>
> strMDBpath = "dmiscal.mdb"
> oConn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & strMDBPath
the ASP page, you can say:
cst = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & server.mappath("dmiscal.mdb")
oConn.open cst
I'm guessing you will still get this error message, but it's probably> ADODB.Connection.1 error '800a0bb9'
> The application is using arguments that are of the wrong type, are out of
> acceptable range, or are in conflict with one another.
happening on a different line...
Aaron Bertrand - MVP Guest



Reply With Quote

