Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm having big trouble loging into an access 2003 database from my VS.NET 2003 app.

 

Even when there is no password or even a user name, DataAdapter fails to generate anything except SELECT and asks for a password for un: Admin

(why are settings like Include Password on Don't Include Password; written in plaintext format etc. even there??) :o

 

I don't have ANY problems with Access 2002 (XP) or lower.

Posted
No, I made the database myself, this was on my workplace (where I'm part of a domain), BUT if I do it at my home (no domain, no multiusers, I'm the Admin) the doesn't work either - for the same reasons (unknown).
Posted

Permissions:

Me, admin and SYSTEM

 

I'd say that's enough. But I've been checking some Google and quite a few people have this problem yet no anwser.

The thing is - problem must be with Office being 2003 and not XP or lower (I never had any problem with those!).

Posted

Checked it, it's set to Admin and under Groups - Users, Admins

 

Still don't work, perhaps I should try generating an Adapter manualy?

But that's not really what I had in my mind.

Posted

Solved

 

Dare I say that it was just a stoopid mistake, or should I say that MS did it different in 2003 than 2002 (can't imagine how Whidbey will be).

 

Here's the deal (new conn):

Choose provider (Jet OleDb 4.0)

next page - path to mdb - THEN username is auto-set to "Admin", I should have deleted that... and that's it.

 

Username: blank

password: blank

 

Well, what do ye say? :confused:

Posted

OK... goddamit

 

Doesn't work! Adapter is generated successfully, but if I try to ExecuteNonQuery an insert command this error pops-up:

Format of the initialization string does not conform to the OLE DB specification.

 

Out of total despaire I started using ODBC... my deadline is coming close.

If anyone should ever have any idea how to fix this, please post!

 

Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...