Question : Resore Failed for TEXSEL\SQLEXPRESS

Hi,

I just installed SQL Expres and the SQL Server Management Studio and ran into this error when trying to restore the database to one which I created with SQL Server 2000.

Obviously it's a permissions problem.  Any ideas?

Bob


TITLE: Microsoft SQL Server Management Studio Express
------------------------------

Restore failed for Server 'TEXSEL\SQLEXPRESS'.  (Microsoft.SqlServer.Express.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL\data\ODBCsubsystem_Data.MDF" failed with the operating system error 5(Access is denied.). (Microsoft.SqlServer.Express.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

Answer : Resore Failed for TEXSEL\SQLEXPRESS

The error message looks simple:
"operating system error 5(Access is denied)" for "C:\Program Files\Microsoft SQL Server\MSSQL\data"

can you check that this folder exists, respectively, ensure that you are specifying existing folders for the database files in the restore options (TSQL: RESTORE ... WITH MOVE)
Random Solutions  
 
programming4us programming4us