Solved

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

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
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…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

911 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

20 Experts available now in Live!

Get 1:1 Help Now