Had a server that went belly up. ALL database files were on the SAN and were "supposedly" ok.
We rebuilt the server to have Windows Advanced Server 2003 R2. Install went fine.
Installed SQL Server 2000 SP4 + latest builds to 2187 and SQL Server 2005 SP1.
That all went well.
We attached a few of our DBs in SS2K and ALL of them are coming up in read only mode. We try to put then in normal mode my unchecking the read only option on the properties of the DB but we get the following error:
ERROR 5105: Device activation error. The physical file named 'D:\myDB.mdf' may be incorrect.
Device activation error. The physical file named 'D:\myDB.ldf' may be incorrect.
Could not restart database 'myDB'. Reverting back to old status.
ALTER DATABASE statement failed.
Device activation error. The physical file named 'D:\myDB.ldf' may be incorrect.
sp_dboption failed.
The D: drive in this example is a LOCAL drive. I moved this DB from the SAN. The MDF was on on volume and the LDF was on another volume.
I did receieve the same error when the database files were in the SAN locations.
I thought by moving both the MDF and LDF to a local drive I could elimitate the possibility that the SAN was causing the issue BUT that seems not to be the case.
The account being used for the SQL Server services is a Domain Admin account that has also been added to the Admins group on the server.
All persmission are set and look good on the shares and volumes.
As a side note, I copied over a small test DB from another server (copied the MDF & LDF).
I attached the DB and IT TOO attached in a READ-ONLY mode.
Thanks ALL!
Thanks
J. Kusch
We rebuilt the server to have Windows Advanced Server 2003 R2. Install went fine.
Installed SQL Server 2000 SP4 + latest builds to 2187 and SQL Server 2005 SP1.
That all went well.
We attached a few of our DBs in SS2K and ALL of them are coming up in read only mode. We try to put then in normal mode my unchecking the read only option on the properties of the DB but we get the following error:
ERROR 5105: Device activation error. The physical file named 'D:\myDB.mdf' may be incorrect.
Device activation error. The physical file named 'D:\myDB.ldf' may be incorrect.
Could not restart database 'myDB'. Reverting back to old status.
ALTER DATABASE statement failed.
Device activation error. The physical file named 'D:\myDB.ldf' may be incorrect.
sp_dboption failed.
The D: drive in this example is a LOCAL drive. I moved this DB from the SAN. The MDF was on on volume and the LDF was on another volume.
I did receieve the same error when the database files were in the SAN locations.
I thought by moving both the MDF and LDF to a local drive I could elimitate the possibility that the SAN was causing the issue BUT that seems not to be the case.
The account being used for the SQL Server services is a Domain Admin account that has also been added to the Admins group on the server.
All persmission are set and look good on the shares and volumes.
As a side note, I copied over a small test DB from another server (copied the MDF & LDF).
I attached the DB and IT TOO attached in a READ-ONLY mode.
Thanks ALL!
Thanks
J. Kusch