부모글 보이기/감추기 AD BLOCK 해제 요청 이 글에는 광고가 많이 들어가 있지 않습니다. adblock을 해제하셔도 글을 읽는데 그다지 부담이 없으니 해제를 부탁드립니다. IIS 7.5 에서 SQL Express 연결 시 오류 IIS 7.5부터 ApplicationPool의 사용자 계정 기본값이 기존 "NetworkService"에서 "ApplicationPoolIdentity"로 바뀌었습니다. 이 소식을 아래의 글에서 전해주고 있습니다. Tip#98: Did you know… The default Application Pool Identity in IIS 7.5 (Windows 7) changed from NetworkService to AppPoolIdentity? ; http://blogs.iis.net/webdevelopertips/archive/2009/10/02/tip-98-did-you-know-the-default-application-pool-identity-in-iis-7-5-windows-7-changed-from-networkservice-to-apppoolidentity.aspx 주된 이유는, "보안 강화"입니다. 그런데, 이렇게 할 경우 SQL Express 버전을 "User Instance" 모드로 사용하면 오류가 발생합니다. Error connecting to SQL Server from Windows 7 / Windows 2008 R2 with ASP.NET ; http://blogs.iis.net/bills/archive/2009/10/07/error-connecting-to-sql-server-from-windows-7-windows-2008-r2-with-asp-net.aspx " Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed. " 위의 글에서 이유를 같이 설명해주고 있는데요. "ApplicationPoolIdentity" 계정이 사용자 프로파일을 가지고 있지 않기 때문입니다. 지난번에 SQL Express의 "User Instance" 모드를 상세하게 설명드렸지요. SQL Express 버전과 User Instance 옵션 ; https://www.sysnet.pe.kr/2/0/668 즉, SQL Express의 "User Instance" 모드에서는 해당 계정과 연계된 폴더 (비스타의 경우, "C:\Users\[계정명]\AppData\Local\Microsoft\Microsoft SQL Server Data\[SQL Express인스턴스 이름]")에 시스템 DB를 복사하게 되어 있는데, 이런 폴더를 찾을 수 없어서 오류가 발생하는 것입니다. 할 수 없지요. ^^ 이런 경우에는 "NetworkService" 계정을 사용하든가 별도의 사용자 계정을 지정하는 수밖에 없음을 "Tip#98"에서 설명해 주고 있습니다. [이 토픽에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.] [다음 글] .NET Framework: 166. WPF - XAML 요소의 네임스페이스와 CLR 타입 매핑[이전 글] 웹: 12. 요청 페이지에 대해 빈 화면만 보이는 경우 [최초 등록일: 10/17/2009] [최종 수정일: 6/27/2021] 이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다. by SeongTae Jeong, mailto:techsharer at outlook.com 비밀번호 댓글 작성자 ... 91 92 93 94 95 96 97 98 99 100 101 102 103 [104] 105 ... NoWriterDateCnt.TitleFile(s) 11365정성태11/25/201722102오류 유형: 429. 이벤트 로그 - User Policy could not be updated successfully11364정성태11/24/201724781사물인터넷: 11. Raspberry Pi Zero(OTG)를 다른 컴퓨터에 연결해 가상 마우스로 쓰는 방법 (절대 좌표) [2]11363정성태11/23/201724722사물인터넷: 10. Raspberry Pi Zero(OTG)를 다른 컴퓨터에 연결해 가상 마우스 + 키보드로 쓰는 방법 (두 번째 이야기)11362정성태11/22/201720416오류 유형: 428. 윈도우 업데이트 KB4048953 - 0x800705b4 [2]11361정성태11/22/201723383오류 유형: 427. 이벤트 로그 - Filter Manager failed to attach to volume '\Device\HarddiskVolume??' 0xC03A001C11360정성태11/22/201723850오류 유형: 426. 이벤트 로그 - The kernel power manager has initiated a shutdown transition.11359정성태11/16/201723118오류 유형: 425. 윈도우 10 Version 1709 (OS Build 16299.64) 업그레이드 시 발생한 문제 2가지11358정성태11/15/201728120사물인터넷: 9. Visual Studio 2017에서 Raspberry Pi C++ 응용 프로그램 제작 [1]11357정성태11/15/201728585개발 환경 구성: 336. 윈도우 10 Bash 쉘에서 C++ 컴파일하는 방법11356정성태11/15/201730134사물인터넷: 8. Raspberry Pi Zero(OTG)를 다른 컴퓨터에 연결해 가상 마우스 + 키보드로 쓰는 방법 [4]11355정성태11/15/201725322사물인터넷: 7. Raspberry Pi Zero(OTG)를 다른 컴퓨터에 연결해 가상 마우스로 쓰는 방법 [2]211354정성태11/14/201730157사물인터넷: 6. Raspberry Pi Zero(OTG)를 다른 컴퓨터에 연결해 가상 키보드로 쓰는 방법 [8]11353정성태11/14/201727148사물인터넷: 5. Raspberry Pi Zero(OTG)를 다른 컴퓨터에 연결해 가상 이더넷 카드로 쓰는 방법 [1]11352정성태11/14/201723482사물인터넷: 4. Samba를 이용해 윈도우와 Raspberry Pi간의 파일 교환 [1]11351정성태11/7/201726371.NET Framework: 698. C# 컴파일러 대신 직접 구현하는 비동기(async/await) 코드 [6]111350정성태11/1/201722434디버깅 기술: 108. windbg 분석 사례 - Redis 서버로의 호출을 기다리면서 hang 현상 발생11349정성태10/31/201723105디버깅 기술: 107. windbg - x64 SOS 확장의 !clrstack 명령어가 출력하는 Child SP 값의 의미 [1]111348정성태10/31/201719301디버깅 기술: 106. windbg - x64 역어셈블 코드에서 닷넷 메서드 호출의 인자를 확인하는 방법11347정성태10/28/201723075오류 유형: 424. Visual Studio - "클래스 다이어그램 보기" 시 "작업을 완료할 수 없습니다. 해당 인터페이스를 지원하지 않습니다." 오류 발생11346정성태10/25/201719721오류 유형: 423. Windows Server 2003 - The client-side extension could not remove user policy settings for 'Default Domain Policy {...}' (0x8007000d)11338정성태10/25/201717302.NET Framework: 697. windbg - SOS DumpMT의 "BaseSize", "ComponentSize" 값에 대한 의미111337정성태10/24/201719847.NET Framework: 696. windbg - SOS DumpClass/DumpMT의 "Vtable Slots", "Total Method Slots", "Slots in VTable" 값에 대한 의미111336정성태10/20/201721134.NET Framework: 695. windbg - .NET string의 x86/x64 메모리 할당 구조11335정성태10/18/201719922.NET Framework: 694. 닷넷 - <Module> 클래스의 용도11334정성태10/18/201720650디버깅 기술: 105. windbg - k 명령어와 !clrstack을 조합한 호출 스택을 얻는 방법11333정성태10/17/201720003오류 유형: 422. 윈도우 업데이트 - Code 9C48 Windows update encountered an unknown error. ... 91 92 93 94 95 96 97 98 99 100 101 102 103 [104] 105 ...