Microsoft Knowledge Base Email Alertz

(198531) - When submitting changes using the SubmitChanges of the RDS.DataControl or the RDSServer.DataFactory the user may see the following error message: [Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database engine cannot open the file...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 198531 - Last Review: August 11, 2006 - Revision: 5.2

FIX: RDS 2.0 Client Cannot SubmitChanges to RDS 1.5 Server

This article was previously published under Q198531

On This Page

SYMPTOMS

When submitting changes using the SubmitChanges of the RDS.DataControl or the RDSServer.DataFactory the user may see the following error message:
[Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet database engine cannot open the file 'C:\WINDOWS\system32'. It is already opened exclusively by another user, or you need permission to view its data.
NOTE: The above error is for Access databases ONLY. The problem may occur with other databases, with different error messages.

Also note: This problem only occurs on the SubmitChanges. Querying the database does not cause the above error. If you are receiving an error querying a database, see the "References" section for additional articles that may help.

CAUSE

One cause of this problem is the client has RDS 2.0 installed while the server has RDS 1.5 installed. There may be other causes to this error message. This problem may also occur if permissions are not correctly set.

RESOLUTION

This problem has been fixed in MDAC version 2.5

Upgrade the Server to the latest version of RDS. The most current version of RDS should be able to handle clients of previous versions. It is not guaranteed that newer clients can connect to older servers, however.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug was corrected in Microsoft Data Access Components version 2.5.

MORE INFORMATION

Steps to Reproduce Behavior

To reproduce this behavior, you need access to two computers, a server and a client.
  1. Using the Windows NT Option Pack, install both IIS 4.0 and MDAC 1.5 on the server. Do a complete install of both items (make sure all options are checked.) The Option Pack can be found at:
    http://www.microsoft.com/ntserver/ (http://www.microsoft.com/ntserver/)
  2. Install Internet Explorer 4.0 sp1 or greater on the client computer. Install Microsoft Data Access Components version 2.0 on the client computer. This can be found at:
    http://msdn.microsoft.com/en-us/data/aa937729.aspx (http://msdn.microsoft.com/en-us/data/aa937729.aspx)
  3. Start Internet Explorer on the server and navigate to the following page:
    http://YourServerName/msadc/samples/adctest.asp
  4. Run the query and change some data in the grid. After you change the data, click on 'Save Changes.' The data should save and the grid should refresh without a problem.
  5. Start Internet Explorer on the client and navigate to the same page:
    http://YourServerName/msadc/samples/adctest.asp
  6. Repeat step four. This time when you select Save Changes you will receive the error listed in the "Symptoms" section of the article.
  7. Install Microsoft Data Access Components on the server and repeat steps 3 to 6. You should receive no errors updating your data.

REFERENCES

This problem may also occur if permissions are not correctly set. Query the Knowledge Base for the following keywords: "RDS and Permissions" to get the latest permissions information on RDS.

APPLIES TO
  • Microsoft Data Access Components 1.5
  • Microsoft Data Access Components 2.0
  • Microsoft Data Access Components 2.1 Service Pack 2
Keywords: 
kbado250fix kbbug kbdatabase kbfix KB198531
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate