Solved

Visio cannot create table in Access database (ODBC error 42000)

Posted on 2004-09-01
1
938 Views
Last Modified: 2008-02-01
I'm attempting to run the Database Wizard in Visio.  It errors out when it's time to create the table in the Access database that I have created.  The full text of the error is below.

I don't have any security set up on the Access database in question, in other words I am not prompted with an Access login when opening this database.  Any suggestions?


ODBC Error: 42000
[Microsoft][ODBC Microsoft Access Driver] You do not have the necessary permissions to use the 'hardware' object.  Have your system administrator or the person who created this object establish the appropriate permissions for you.
0
Comment
Question by:jbpowell
1 Comment
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 11955461
You ALWAYS log into an Access database with security, regardless of whether you've implemented it or not. The default security file is "system.mdw", the default user is "Admin" and the default password is blank.

You'll almost certainly need to Visio with the full path to the system.mdw file. You can do a file search to find the file, then write down the path and, from within Visio, go back through the connect options. I'm at work now, don't have Visio installed here but I do at home. Go back through your connection options and see if you can edit the connnection options and/or string to include the path to the system.mdw file, and also pass in the default user "Admin" and no password.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft Access 2016 Bug? 9 47
Access syntax 1 35
Convert VBA UDF to SQl SERVER UDF 4 52
How to I read text a text box using code in another form? 9 27
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

696 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