Home Forums SQL Server 2005 Administering The operating system returned error 5(Access is denied.) to SQL Server during a write at offset 0x00000000012000 in file 'D:\data\data.mdf' RE: The operating system returned error 5(Access is denied.) to SQL Server during a write at offset 0x00000000012000 in file 'D:\data\data.mdf'

  • JP10 (7/9/2013)


    yes I believe it's on a SAN (IT guy is on vacation). This happens when we restart the service only and not the server.

    So what was your fix on this?

    Thanks.

    my issues not the same as yours; in my case i had to set a service dependency, so SQL would start after the SAN service was already started.

    as i remember it, you can VIEW the dependencies in Services.msc, but cannot set it there ;

    to set them it was a command line argument named "sc"?, and we had to point it to a service that exists that represents the SAN, i don't have it in front of me, or i'd screenshot it.

    sorry.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!