Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
Error While Attach .mdf file in sql server...
Error While Attach .mdf file in sql server 2005
Rate Topic
Display Mode
Topic Options
Author
Message
ashishnigam04r
ashishnigam04r
Posted Wednesday, May 06, 2009 10:44 AM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, January 28, 2010 10:01 PM
Points: 3,
Visits: 15
I am facing the problem while attaching my sql server 2005 database.
the Error is" Create file encountrerd operating system error 5(access is denied" while attempting to open or create physical file
Plz do needfull.
Post #711291
Lynn Pettis
Lynn Pettis
Posted Wednesday, May 06, 2009 10:53 AM
SSC-Insane
Group: General Forum Members
Last Login: Yesterday @ 11:17 PM
Points: 21,617,
Visits: 27,450
Looks like a permissions issue. You may not have the proper permissions to access the files where they reside.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #711303
maechismo_8514
maechismo_8514
Posted Wednesday, May 06, 2009 6:24 PM
Ten Centuries
Group: General Forum Members
Last Login: Friday, August 24, 2012 8:11 AM
Points: 1,097,
Visits: 2,157
ashishnigam04r (5/6/2009)
I am facing the problem while attaching my sql server 2005 database.
the Error is" Create file encountrerd operating system error 5(access is denied" while attempting to open or create physical file
Plz do needfull.
Definitely its a permission issue. What permissions have you got on the server or on the file system?
Post #711700
white shadow
white shadow
Posted Thursday, May 07, 2009 6:15 AM
Old Hand
Group: General Forum Members
Last Login: Tuesday, November 13, 2012 5:04 AM
Points: 388,
Visits: 93
I would check the permission on the folder where your data and tlog files are being put.
Post #711945
MarkusB
MarkusB
Posted Thursday, May 07, 2009 8:17 AM
SSCarpal Tunnel
Group: General Forum Members
Last Login: 2 days ago @ 3:22 AM
Points: 4,218,
Visits: 3,875
What's your OS?
If you use Windows2008 or Vista the UAC can cause this error while attaching a database.
Markus Bohse
Post #712055
BLADE-1043594
BLADE-1043594
Posted Thursday, May 07, 2009 8:52 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Monday, June 01, 2009 6:06 AM
Points: 518,
Visits: 354
The account that sql runs as needs to have the security privlege to access the directory or file.
+++BLADE+++
Post #712084
add2700
add2700
Posted Friday, May 08, 2009 12:27 PM
SSC Rookie
Group: General Forum Members
Last Login: Wednesday, October 10, 2012 11:34 AM
Points: 34,
Visits: 128
its a permissions issue.
Post #713260
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.