[IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
From: cipher (removefolf_at_yahoo.com)
Date: 01/12/05
- Next message: Dilip Krishnan: "Re: Send DataTable from Client to WebService using DIME"
- Previous message: carolus.holman: "Accessing Webservices with a WinForm App - Issues"
- Next in thread: Dilip Krishnan: "Re: [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
- Reply: Dilip Krishnan: "Re: [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 12 Jan 2005 16:10:46 -0700
Hello,
I'm creating a webservice that needs to query an Access database (mdb).
Here's my code:
OdbcConnection *pConnection = new OdbcConnection("Driver={Microsoft Access
Driver (*.mdb)};DSN=MyDatasource");
try
{
pConnection->Open();
}
catch(OdbcException *e)
{
Console::WriteLine("An error occurred: '{0}'", e);
}
This always throws an exception with the message : [IM006][Microsoft][ODBC
Driver Manger]Driver's SQLSetConnectAttr failed
I have granted the ASPNET user account Administrative privileges to no
avail. I'm pretty much a web service security noob at this point so help
would be greatly appreciated.
Thanks!
- Next message: Dilip Krishnan: "Re: Send DataTable from Client to WebService using DIME"
- Previous message: carolus.holman: "Accessing Webservices with a WinForm App - Issues"
- Next in thread: Dilip Krishnan: "Re: [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
- Reply: Dilip Krishnan: "Re: [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|