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.
Pages
▼
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 ;-)
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.
ReplyDeleteAwesome post, where is the rss? I cant find it!
ReplyDeleteThats good, your blog is cool, i like it. Thanks for the efforts my friend.
ReplyDeleteI have been having access issues while attaching the database. But the problem got solved when I ran SSMS as an admin. This helped.
ReplyDeleteThanks, this solve my problem.
ReplyDeleteThanks.
ReplyDeleteAwesome Post!!!!!
ReplyDeleteOh man, save my time thank you very much.
ReplyDeleteFinally find my answer. Rescpect.
ReplyDeleteFinally find my answer. Respect.
ReplyDelete