검색결과 리스트
Attach에 해당되는 글 1건
- 2012.05.29 DB attach 오류
I spent a good number of hours the last couple days banging on a C# app trying to figure why I kept getting an “Access is denied” error when the application tried to attach to a local MDF file (SQL Server Express 2005). A Google search turned up numerous theories and “solution”. Based on the variety of solutions I’d venture to guess Microsoft, with its wonderful Vista, created several ways to arrive at this error.
For my case the solution was quite simple once I figured how to do it. First, I knew my app needed to run with elevated permissions, but even if I right clicked and selected “Run as administrator” the problem persisted. I read about creating SQL user accounts, and granting permissions, blah, blah, blah. None of those changes made a lick of different.
After much poking around the problem turned out to be the way the SQL Server service was configured. It was setup to run as a “Network Service” instead of the “Local System” account.
So here is the fix:
That’s it. Run as administrator and everything works perfect.
[출처] 운영 체제 오류 5(액세스가 거부되었습니다.)(으)로 인해..|작성자 신덕환
MySql : 스토리지 엔진 (0) | 2012.11.12 |
---|---|
오라클 : 계층형 데이타 쿼리 (0) | 2011.10.28 |
SQLServer2005에서 계정 비밀 번호 변경 (0) | 2011.10.28 |
.NET에서 오라클 사용하기 (0) | 2011.10.28 |
NHibernate에서 중복 제거 (0) | 2011.10.28 |
RECENT COMMENT