Link to home
Start Free TrialLog in
Avatar of tjgilbert
tjgilbert

asked on

Visual Basic .Net Using ASP .Net Web Service to connect to a Microsoft Access Database

The question is how do I connect to a MS Access Database using the ASP .net Web Service in Visual Basic .Net.
I have Windows XP professional version and IIS installed.

I'm trying to use the OleDBConnection

Dim conn as New OleDbConnection("\Inetpub\wwwroot\WebService1\Response.mdb")

The connection string is wrong and I'm not sure how to make it right.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of drichards
drichards

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tjgilbert
tjgilbert

ASKER

Do you know if that connection string is correct for the MS Access 2003?
It's what I use (with different file name, of course), so I hope it's correct!