Error accessing Access DB

M

Mantorok

Hi all

I'm trying to connect to an Access db that uses workgroups, here is the connection
string:

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database.mdb;Jet OLEDB:System
Database = system.mdw;User Id=infadmin;Jet OLEDB Database Password=******"

The error is: "not a valid account name or password."

I've confirmed the user id and password, any ideas?

Kev
 
M

Morten Wennevik

I won't claim to know much about Access, but a quick google seemed to
indicate that this might be related to the workgroup id file.

You may need to specify this file in your connection string, substituting
system.mdw with the correct file, if needed.

Jet OLEDB:System Database=system.mdw;
 
M

Morten Wennevik

I'm afraid I'm out of ideas.

Try the newsgroups

microsoft.public.access
microsoft.public.access.security
microsoft.public.dotnet.framework.adonet
 
S

sloan

The connection string is super anal.

Every space , semi colon must be perfect.

You also need to try the different versions at connectionstrings.com

Personally, I've never used the system.mdw thing.

Also, try a fully qualified path name for the mdb file
Data Source=c:\mydatabase.mdb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top