Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2004, 10:42 PM
Authorized User
 
Join Date: Jun 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot connect DB though conn. tested sucessfully?

I have posted the similiar question in the ADO.NET about the same problem too, I once thought it is my connection string problem at first, but seemed like it doesn't.

I had tried to connect an Access DB through design mode for testing. The initial connection was tested successfully. I created a datagrid binded to that data and the preview of the data is successfully shown.

Then the same problem arised again when I tried to debug it, it gives the following errors:

Server Error in '/WebApplication3' Application.
----------------------------------------------------------------------
The Microsoft Jet database engine cannot open the file '\\spngweb3\MSDSPenang\msdsback.mdb'. It is already opened exclusively by another user, or you need permission to view its data.


How come? I have already successfully preview the dataset?

 
Old August 5th, 2004, 12:01 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

This error occurs normally when another process or user has the database access open.

 
Old August 5th, 2004, 01:17 AM
Authorized User
 
Join Date: Jun 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes the database is currently used by another program called MSDSFinder, while I am writing a program to select query from it. It is nothing about update the data, just simply querying.

What should I do?

 
Old August 5th, 2004, 01:18 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Take a look at this FAQ: http://imar.spaanjaars.com/QuickDocID.aspx?QUICKDOC=263

It talks about ASP, but the idea is the same for ASP.NET.

Cheers,

Imar
 
Old August 5th, 2004, 01:26 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Check out this if this could help you...
http://support.microsoft.com/default...b;en-us;306269

 
Old August 5th, 2004, 02:23 AM
Authorized User
 
Join Date: Jun 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hmm.... apparently I am not given the authorise to test the permission setting yet, but it really match the problem currently. I will refer to my boss for further instruction, I will see if the problem can be solved or not. Thanx!






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to connect to DB rtr1900 VB Databases Basics 4 December 5th, 2006 03:36 PM
Connect to DB hernann C# 2005 2 July 31st, 2006 05:06 PM
Disconnect ADO Conn from Access DB myedu2k4 Pro VB Databases 2 May 27th, 2004 01:55 AM
Cannot Connect to Access DB mjmfgm Classic ASP Databases 8 March 9th, 2004 07:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.