473,405 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Database connection error

i tried to create a conecction to a database MSAccess 2002 with Microsoft JET
4.0 OLE Provider but it gives me the error:

'Teste connection failed because of an error in initializating provider.
cannot start your application.
the workgroup information file is missing or opened exclusively by another
user.'

how can i fix this problem???

Nov 22 '05 #1
3 1501

<Nascimento>; "Daniel" <Nascimento, Da****@discussions.microsoft.com> wrote
in message news:A5**********************************@microsof t.com...
i tried to create a conecction to a database MSAccess 2002 with Microsoft JET 4.0 OLE Provider but it gives me the error:

'Teste connection failed because of an error in initializating provider.
cannot start your application.
the workgroup information file is missing or opened exclusively by another
user.'

how can i fix this problem???

The Access database you are trying to connect to has been secured (user
level security) with a Workgroup Information File (WIF), which now
effectively "owns" the database. You'll need to get with the person who
created the WIF to see what user name and password you can use to connect.
You'll also need the name and location of the .mdw file.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 22 '05 #2
Thanks Peter van der Goes.

It was me who created the Access database.
The location is z:\bd.mdb.
i also associated the file Z:\bd-user.mdb to the database.
is the WIF the z:\bd-user.mdb file???
if not, where i can get it?

i tried to create a database conection:

Tools -> Connect to Datbase...

->...>>Provider (Microsoft JET 4.0 OLE Provider)
->...>>Connection
..........1.Databasename(Z:\bd-user.mdb)
..........2.Information to log on
............user(admin)
............password(pass)

when i test the connection it still gives me the same error...
what's wrong??
Nov 22 '05 #3

<Nascimento>; "Daniel" <Na**************@discussions.microsoft.com> wrote in
message news:2C**********************************@microsof t.com...
Thanks Peter van der Goes.

It was me who created the Access database.
The location is z:\bd.mdb.
i also associated the file Z:\bd-user.mdb to the database.
is the WIF the z:\bd-user.mdb file???
if not, where i can get it?

i tried to create a database conection:

Tools -> Connect to Datbase...

->...>>Provider (Microsoft JET 4.0 OLE Provider)
->...>>Connection
.........1.Databasename(Z:\bd-user.mdb)
.........2.Information to log on
...........user(admin)
...........password(pass)

when i test the connection it still gives me the same error...
what's wrong??


When you used the Security Wizard, you created a file with the extension
..mdw. The default name would have been Security.mdw. You were given the
opportunity to designate the storage location for the file, so if you don't
know where it is, you'll need to search for it. This is the file that now
"owns" your database. When you set up user-level security, the wizard
created a report for you which included information on established user
groups, users and passwords and group membership. You were advised to both
print the report and to save a copy for future reference. You're going to
need the content to solve your issues.
I'd also suggest that you pursue resolution to your problem in the:

microsoft.public.access

newsgroup, as the problems you're now encountering have to do with Access
and user level security more than with .NET. You may end up having to create
a new version of your database *not* tied to user level security by logging
into the database as an admin, creating a second database object, then
copying all existing objects in the current database to the new database
object, thus creating a new version with no user-level security applied.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ben M. | last post by:
Greetings all, This should be an easy task, and Im sure it is, but as many times as I have tried, I cant seem to get this to work properly. We changed ISPs recently from a shared host to a...
4
by: Bernardo Heynemann | last post by:
The following block of code gives me an error. MultiBD is my class for multiple databases. connection= MultiBd.GetConnection(DataProviderType.OLEDB); connection.ConnectionString =...
8
by: John Smith | last post by:
How do I connect to a FoxPro 7 database?
1
by: dave | last post by:
I'm classic ASP developer and trying to switch to .net ...I'm newbie to ..net... In classic ASP for ADO connectivity i used to put below code in one separate file and used to include that file...
7
by: News | last post by:
Hello, I have to build a program with the future in mind and I need a bit of guidance from a guru or two. My program will start as a multi-user Windows Application built with VB.Net and using an...
3
by: Martin B | last post by:
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database...
5
by: samadams_2006 | last post by:
I'm having a problem in accessing a Microsoft Access Database in a VB.NET Web Application. It's so straight forward, I thought I'd walk you through all the details here: 1) I have a .NET Web...
9
by: Jerim79 | last post by:
I am no PHP programmer. At my current job I made it known that I was no PHP programmer during the interview. Still they have given me a script to write with the understanding that it will take me a...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.