Group:  Microsoft Access ยป microsoft.public.access.odbcclientsvr
Thread: Problems with Access 2003 and SQL Server 2005

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Problems with Access 2003 and SQL Server 2005
"Thanas" <atsioplakis[ at ]gmail.com> 23.08.2006 23:47:45
Hi, everyone.
I trying to connect a SQL Server 2005 to an Access 2003 frontend. Now
in the past I have not had any trouble, but today seems to be a
different day.

Every time I go to try and open a dao.database object I get the error
"Run-Time error '3000'': Reserved error(-1038); there is no message
for this error."


I am not really sure what the issue is here. Below is the line of code



Set dbSQLServer = DBEngine.OpenDatabase("", dbDriverNoPrompt, False,
gSQLServConnectionString)


Just so everything is clear gSQLServConnectionString =
ODBC;DSN=SQLServer;Trusted_Connection=yes;DATABASE=DicomSQLServer;


Now, I have tried a simlar connection string and it works just fine for

another server. When I test the connection in the ODBC manager it
connects to the server without a problem, but when I try to get access
to
do it. I get the aforementioned error.


Thanks for all your help .


-Thanas

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net