Microsoft
Software
Hardware
Network
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.Expre
ss.Smo)
For help, click:
http://go.microsoft.com/fw
link?ProdN
ame=Micros
oft+SQL+Se
rver&
ProdV
er=9.00.20
47.00&
EvtS
rc=Microso
ft.SqlServ
er.Managem
ent.Smo.Ex
ceptionTem
plates.Fai
ledOperati
onExceptio
nText&
EvtI
D=Restore+
Server&Lin
kId=20476
--------------------------
----
ADDITIONAL INFORMATION:
System.Data.SqlClient.SqlE
rror: Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL\data\ODBCsubs
ystem_Data
.MDF" failed with the operating system error 5(Access is denied.). (Microsoft.SqlServer.Expre
ss.Smo)
For help, click:
http://go.microsoft.com/fw
link?ProdN
ame=Micros
oft+SQL+Se
rver&
ProdV
er=9.00.20
47.00&Link
Id=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
SendObject -- Message Text Truncates
Output to Email after printing to PDF
Conditional Row Filtering based on column grouping
Is it possible to store the format for the format property in a table?
scripts to export Access table (in .xsl format)
Is there a way to restart Windows service remotely?
The string was not recognized as a valid DateTime when I call the Stored Procedure
How to limit the memory usage of a VB.NET process in Win Server 2008
Dragging ReportViewer in VS2005 generates a 'protected memory' and an 'Invalid FORMATETC' error.
vs 2008 and 2 pc's