Solved

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

Posted on 2004-09-01
1
931 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

856 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