Corrigindo erro SQL Server 2005 Express – Atachando databases (.mdf)

Quando tenta atachar um .mdf ao Server dá erro 5 (access denied).

“Unable to open the physical file ‘c:\Program Files\Microsoft SQL Server\MSSQL1.1\MSSQL\Data\TravCom.mdf’. Operating system error 5 (Access Denied).”
Solução

Now to resolve this you need not to uninstall Sql Express. Just go to SQL express configuration manager and click on Services from the left pane. From the right pane select Sql server service and go to its properties. The builtin login should be “Nerwork Service”, change it to “Local system” and restart the service. thats it.

sqlexpress.jpg

Deixe uma resposta

Preencha os seus dados abaixo ou clique em um ícone para log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Sair / Alterar )

Imagem do Twitter

You are commenting using your Twitter account. Sair / Alterar )

Foto do Facebook

You are commenting using your Facebook account. Sair / Alterar )

Connecting to %s

Seguir

Obtenha todo post novo entregue na sua caixa de entrada.