Click here to Skip to main content
12,953,865 members (46,054 online)
Rate this:
Please Sign up or sign in to vote.
I am backup the database in MS SQL server 2005.
It's throwing me error: "operating system error 5 access is denied"
Any body can suggest me by ASAP.

Posted 19-Sep-11 3:11am
Jhaye Ferrera 27-Aug-13 10:37am
I was not able to attach an MDF file to SQLEXPRESS.
It always gets an error: Operating system error 5: "5(Access is denied)". Somebody can do me a favor for this bug. Thank You so much. Anyway i'll be using it for crystal report.

Rate this: bad
Please Sign up or sign in to vote.

Solution 2


I think you are using user account in your system.And some servers can not support backup process while they are not installed perfectly.

you can generate scripts for required database then use that whereever you want.
In this case you are unable to maintain values in table but you can maintain table definition with keys also.B'coz you said you are using sql2005 .if it sql2008 we can maintain data also.

process for generating scripts for data base in

rightclick on database thn select task and then select Generate Scripts.

Thats all you can see sript file for creating tables in that database.

Try it

All the best
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This might help (and if it doesn't, just google the error message you posted here, and you'll get over 800,000 results you can wade through on your own.

MSDN Knowledgebase 555644[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,464
CHill60 3,490
Maciej Los 3,123
ppolymorphe 2,020
Jochen Arndt 1,975

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 19 Sep 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100