Solved

importing Access DB ito SQL 2005 DB

Posted on 2011-03-01
13
278 Views
Last Modified: 2012-05-11
Experts,

whats' the Username for a password protected Access database? When i try and import into SQL 2005, i know the password, but just not the user name. I've tried everyword in the dictionary...

thanks in advance,

Tom
0
Comment
Question by:Butterfield_Cayman
13 Comments
 
LVL 25

Expert Comment

by:reb73
ID: 35009611
Did you try 'Admin'?
0
 

Author Comment

by:Butterfield_Cayman
ID: 35010240
yes
0
 
LVL 7

Expert Comment

by:RemRemRem
ID: 35010382
Have you tried leaving the user name blank but filling in the pwd? (Not sure it'll work, but it's possible...I'd also try using no user/pwd and seeing if it asks for it on processing)

-Rachel
0
 

Author Comment

by:Butterfield_Cayman
ID: 35010411
yes and yes
0
 
LVL 7

Expert Comment

by:RemRemRem
ID: 35010491
Just ran a quick test - added a password to a DB then tried to export a table from it to a SQL db. It asked me for the SQL side user name and password, not the DB side, which makes sense - you need the end point's read/write access. I may be stating the obvious for you again, but have you tried using the server's login and pwd?

-Rachel
0
 

Author Comment

by:Butterfield_Cayman
ID: 35010594
you saying i need the SQL account user credentials, doesn't make sense. the MDB is password protected, when trying to import a non-password protected MDB, it runs fine. with password protected MDB, i get prompted. I have a domani account with god privelages on the SQL server, adn using that i'm getting no where. same error as i've been recieving all along:

OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Cannot start your application. The workgroup information file is missing or opened exclusively by another user

i've googled it, lots of ppl experiencing the same problem, but can't seem to find a fix so far.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:Butterfield_Cayman
ID: 35010601
thanks for your efforts btw
0
 

Author Comment

by:Butterfield_Cayman
ID: 35010663
sorry, and wrong error message i've sent you there - this is my err: "Cannot start your application. The workgroup information file is missing or opened exclusively by another user"
0
 
LVL 7

Accepted Solution

by:
RemRemRem earned 500 total points
ID: 35010869
Sorry, I was going from the Access side to the SQL side - I assume you're going SQL side and grabbing it using the import tool?

If so, I just managed to find an advanced setting (I'm on SQL 2008, so it may be somewhere slightly different) which is under the ADVANCED: ALL tab as you use the wizard. In that, it appears to just list all the property settings, but you can edit them...included in the list is one called "Jet OLEDB: Database Password" - set THAT to your DB password, do not use a user level login/password, and you should be set (you will still need/be asked for the SQL side passwords partway thru the import).

-Rachel
0
 
LVL 84
ID: 35010870
The default credentials are "admin" with a blank password. I'm not sure what you're doing, or how your doing it, but in some case you must specify the Workgroup file required for these operations even if the file is "secured" using the default system.mdw file.

Note the concept of "password protected" and "secured" are two different scenarios. You can "password protect" a database without securing it through User Level Security. If you ONLY password protect the db, then you ONLY need to enter the password - there is no username. If you use User Level Security (or if your import process requires you to specify the username/password) then you must supply both a username and password (even if the password is blank).

So - How are you doing the Import?

0
 

Author Closing Comment

by:Butterfield_Cayman
ID: 35011171
Genius...... if i could send kisses down over the internet i would. Thanks for your continued effort. much appreciated.
0
 
LVL 7

Expert Comment

by:RemRemRem
ID: 35011263
Aw, gee! (blush)

Glad I could help...and I learned something new in the process! (Of course, I'd be interested to know what benefits are gained drawing data IN to SQL vs pushing it out from Access.)
-R
0
 

Author Comment

by:Butterfield_Cayman
ID: 35012144
long story:
-third party Access app
-i'm pulling some data from it
- using the data to populate a SharePoint web part that needs a SQL database to drive it

thanks again.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now