Ask a Question related to ASP Database, Design and Development.
-
TT #1
Failed to acces the SQL Server table from MS Access by ODBC Link T
My MS Access database use "link table" to connect the SQL Server by ODBC. But I failed to access the table which link to SQL Server with the following error in ASP.
Microsoft JET Database Engine error '80004005'
ODBC--connection to '[ConnectionString]' failed.
/test.asp, line 21
My connection string in ASP is as following:
ConnStr = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("abc.mdb") & ";"
How can I fix the problem?
Thank you very much.
TT Guest
-
MS Access with Mysql link table connection failed
CF error: ODBC--connection to 'ProdTracking' failed. In our MS access table we have a "link table" to the MySql database on a Linux box. We... -
odbc failed to verify please help!!!!!!
Hi all, I have a problem regarding an odbc setup using cold fusion administrators. Version of Cold Fusion used : professional 5 -
Windows 2003 Server ODBC Error -Not a valid password - connecting to MS Access DB
We are currently busy moving our website from a NT4 Server to a Windows 2003 Server. One of the site are making use of an MS access DB. A DSN was... -
Export UniData database to SQL Server 2000 using DTS via ODBC driver failed
Dear all, I've downloaded, installed, and running UniData 6.0 for Windows beautifully in the last three hours or so, during which time, I've... -
SQL Server 2000, Exchange, COM-Add in for Outlook XP; Dynamically link ACCESS xp & SQL SERVER???
Can SQL Server 2000 manage the contacts in Exchange? Is there any connectivity between SQL Server and Outlook XP? Furthermore, can SQL Server... -
TT #2
Failed to acces the SQL Server table from MS Access by ODBC Link T
My MS Access database use "link table" to connect the SQL Server by ODBC. But I failed to access the table which link to SQL Server with the following error in ASP.
Microsoft JET Database Engine error '80004005'
ODBC--connection to '[ConnectionString]' failed.
/test.asp, line 21
My connection string in ASP is as following:
ConnStr = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("abc.mdb") & ";"
How can I fix the problem?
Thank you very much.
TT Guest
-
Bob Barrows [MVP] #3
Re: Failed to acces the SQL Server table from MS Access by ODBC Link T
TT wrote:
You probably failed to provide a SQL Server user name and password in the> My MS Access database use "link table" to connect the SQL Server by
> ODBC. But I failed to access the table which link to SQL Server with
> the following error in ASP.
>
> Microsoft JET Database Engine error '80004005'
> ODBC--connection to '[ConnectionString]' failed.
> /test.asp, line 21
>
>
> My connection string in ASP is as following:
>
> ConnStr = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" &
> Server.MapPath("abc.mdb") & ";"
>
> How can I fix the problem?
>
>
connection string for the linked table (using NT Authentication will
probably not work, because your asp code is running under the context of the
IUSR_Machinename account).
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Bob Barrows [MVP] Guest
-
Bob Barrows [MVP] #4
Re: Failed to acces the SQL Server table from MS Access by ODBC Li
You cannot pass the username and password via the connection string used to
connect to the Jet database. You have to save the password information in
the actual link to the sql server table. See an Access newsgroup for
information about doing this if you cannot get it from online help.
Bob Barrows
TT wrote:--> ##### How to set the connection string? #####
>
> 1) I have checked the save password check box when I use odbc to link
> the SQL server tables.
>
> Error:
> Microsoft JET Database Engine error '80004005'
> ODBC--connection to '[ConnectionString]' failed.
> /index.asp, line 21
>
> 2) I have tried to add the user name and password (User
> Id=sa;Password=password) in the connection string
> ConnStr = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" &
> Server.MapPath("abc.mdb") & ";User Id=sa;Password=password"
>
> However, error returns:
> Microsoft JET Database Engine error '80040e4d'
> Cannot start your application. The workgroup information file is
> missing or opened exclusively by another user. index.asp, line 17
>
> Any idea?
> Thank you very much.
>
>
> "Bob Barrows [MVP]" wrote:
>>> TT wrote:>> You probably failed to provide a SQL Server user name and password>>> My MS Access database use "link table" to connect the SQL Server by
>>> ODBC. But I failed to access the table which link to SQL Server with
>>> the following error in ASP.
>>>
>>> Microsoft JET Database Engine error '80004005'
>>> ODBC--connection to '[ConnectionString]' failed.
>>> /test.asp, line 21
>>>
>>>
>>> My connection string in ASP is as following:
>>>
>>> ConnStr = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" &
>>> Server.MapPath("abc.mdb") & ";"
>>>
>>> How can I fix the problem?
>>>
>>>
>> in the
>> connection string for the linked table (using NT Authentication will
>> probably not work, because your asp code is running under the
>> context of the
>> IUSR_Machinename account).
>>
>> Bob Barrows
>>
>> --
>> Microsoft MVP - ASP/ASP.NET
>> Please reply to the newsgroup. This email account is my spam trap so
>> I
>> don't check it very often. If you must reply off-line, then remove
>> the "NO SPAM"
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Bob Barrows [MVP] Guest



Reply With Quote

