MSSQLTips.com - your daily source for SQL Server tips

Google
 
Web mssqltips.com

ESSENTIALS: Home | Tips | Search | Categories | Top 10 | Products | Authors | Blogs | Forums | Webcasts | Advertise | About
Cannot attach SQL 2005 DB - seen as read-only -

in Search

Cannot attach SQL 2005 DB - seen as read-only

Last post 08-06-2008 2:56 AM by omprakaa18. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-23-2008 6:30 AM

    Cannot attach SQL 2005 DB - seen as read-only

    Vista Ultimate, logged as administrator, clean install of latest SQL 2008 RC.  Installed VS 2008 with default SQL Express 2005.

     Detach 2 DBs from XP SP2 SQL Express 2005  - copy to data folders of two installs of SQL on Vista box

     MS 2008 attaches both DBs to SQL Express 2005 on that box, but they are seen as read only.  Flipping Read Only prop to false does the trick.

    MS 2008 refuses to attach its copies of the DBs to SQL 2008 server - says they are Read-only.

     Both DBs re-attach to SQL Express 2005 on the XP box with not problem  They are not and have never been read only.

    Do I need to attach with CREATE DATEBASE .... TO ATTACH TRUSTWORTHY ON?  If there is a programmatic trick I'd very much appreciate help with the syntax as I've never done it this way and can't seem to get it write.

    Guidance appreciated

    TIA

    Charles Hankey

     

  • 08-06-2008 2:56 AM In reply to

    Re: Cannot attach SQL 2005 DB - seen as read-only

    Dear Charles

    Give right to .net user for accessing this folder and also set shared property to this folder

    GUPTA

Page 1 of 1 (2 items)