Microsoft KB Archive/198531

= FIX: RDS 2.0 Client Cannot SubmitChanges to RDS 1.5 Server =

Article ID: 198531

Article Last Modified on 8/11/2006

-

APPLIES TO


 * Microsoft Data Access Components 1.5
 * Microsoft Data Access Components 2.0
 * Microsoft Data Access Components 2.1 Service Pack 2

-



This article was previously published under Q198531



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.



Steps to Reproduce Behavior
To reproduce this behavior, you need access to two computers, a server and a client.  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/

 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/dataaccess

 Start Internet Explorer on the server and navigate to the following page:

http:// /msadc/samples/adctest.asp

 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. Start Internet Explorer on the client and navigate to the same page:

http:// /msadc/samples/adctest.asp

</li> Repeat step four. This time when you select Save Changes you will receive the error listed in the "Symptoms" section of the article.</li> Install Microsoft Data Access Components on the server and repeat steps 3 to 6. You should receive no errors updating your data.</li></ol>

<div class="references_section">