Attaching catalog with SQL Authentication credentials attaches it as Read-Only

Posted by Nissim on Stack Overflow See other posts from Stack Overflow or by Nissim
Published on 2009-08-17T15:34:26Z Indexed on 2010/05/14 0:04 UTC
Read the original article Hit count: 222

Hello,

As part of our product's installation process, a database is attached to the server.

We use EXEC sp_attach_db in order to attach it to MSSQL. The problem occures when we try to attach it with "SQL Authentication" connection string - the database is attached to the server as read-only, thus preventing any write access from being performed

This is driving us nuts... it's working just fine with Windows Authentication, and the only difference is the connection string... I tried googling for it but no mention for such a scenario is found.

Any ideas anyone?

It's important to mention that the MDF/LDF physical files are not set with "ReadOnly" attribute, so this is not the problem.

© Stack Overflow or respective owner

Related posts about sql-server-2005

Related posts about sql-authentication