Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 MSDE (2000)
 MSDE connection problems

Author  Topic 

woodge
Starting Member

2 Posts

Posted - 2005-09-08 : 21:43:47
Via an Access application I was able to establish a connection with my MSDE Release A db. But then I got run-time error 3027 (Cannot update. Database or object is read-only.) when trying to alter a record. So I change something and try again. This time I can't even connect to the db and the change was unrelated to it. I get "Connection failed. SQLState '01000' SQL Server error: 53 .... etc ... ConnectionOpen(Connect())... etc."

Sound familiar? Any ideas?

woodge
Starting Member

2 Posts

Posted - 2005-09-12 : 21:23:50
An update: I figured out the code I needed for my Access app to connect to the MSDE db:

connectionStr = "ODBC;DSN=myComputerName\myServerName;UID=sa;PWD=myStrongPassword;DATABASE=myDBname"
Set ws = DBEngine.Workspaces(0)
Set db = ws.OpenDatabase("myServerName", False, False, connectionStr)

But now I can't get past "run-time error 3027: Cannot update. Database or object is read-only." I got this while trying to delete a record from one of my db tables. How can I alter the read-only property??
Go to Top of Page
   

- Advertisement -