Amastaneh blog is a discussion site on software development, programming, algorithms, software architectures,software run-time errors and solutions from software engineers who love building great softwares.
October 18, 2012
CREATE FILE encountered operating system error 5
Problem:
- CREATE FILE encountered operating system error 5(Access is denied.)
- CREATE FILE encountered operating system error 5(failed to retrieve text for this error. Reason: 15105) while attempting to open or create the physical file 'PATH\FILE.mdf'.
- CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'PATH\FILE.mdf'.
Solution:
- Go to Control Panel > Administrative Tools > Services
- Right click on SQL SERVER (BLAH BLAH) and select the Properties
- Stop service
- Go to Log On tab and change the Log on as: to Local System Account
- Apply and Start service again ans enjoy ;-)
Subscribe to:
Post Comments (Atom)
10 comments:
Thank you for sharing. Not to many people in your position are so gracious. Your article was very poignant and understandable. It helped me to understand very clearly. Thank you for your help.
Awesome post, where is the rss? I cant find it!
Thats good, your blog is cool, i like it. Thanks for the efforts my friend.
I have been having access issues while attaching the database. But the problem got solved when I ran SSMS as an admin. This helped.
Thanks, this solve my problem.
Thanks.
Awesome Post!!!!!
Oh man, save my time thank you very much.
Finally find my answer. Rescpect.
Finally find my answer. Respect.
Post a Comment