RE: Atteched DB's only "read only"
- From: jaavedm@microsoft (Jaaved Mohammed)
- Date: Wed, 16 Aug 2006 06:31:00 GMT
Hi Matt,
An OS Error of 5 typically means that you don't have permissions to modify
a particular file. I suspect that the account SQL Server Service is running
under does not have permissions to modify the .ldf and .mdf files. Firstly,
please verify the account the SQL Server service is using. To do this you
can click on Start > Microsoft SQL Server 2005 > Configuration Tools > SQL
Server configuration manager. Note the "log on as" column value for the SQL
Server instance you are connected to (MSSQLSERVER is the default).
Secondly, right click on both the .mdf and .ldf files and select
properties. Then from within the "security" tab verify that that the
account for the SQL Server service has write permissions to these files. I
would appreciate the knowing the outcome of this.
Thanks,
Jaaved Mohammed [MSFT]
.
- References:
- RE: Atteched DB's only "read only"
- From: Jaaved Mohammed
- RE: Atteched DB's only "read only"
- From: MattHHDE
- RE: Atteched DB's only "read only"
- Prev by Date: Re: JDBC driver for SQL server 7.0
- Next by Date: Implicit conversion from data type text to nvarchar is not allowed.
- Previous by thread: RE: Atteched DB's only "read only"
- Next by thread: Re: JDBC and Virtual Machines
- Index(es):
Relevant Pages
|