부모글 보이기/감추기 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 비밀번호 댓글 작성자 ... 76 77 78 79 80 81 82 83 84 85 86 87 [88] 89 90 ... NoWriterDateCnt.TitleFile(s) 11828정성태2/26/201930038개발 환경 구성: 429. Component Services 관리자의 RuntimeBroker 설정이 2개 있는 경우 [8]11827정성태2/26/201922068오류 유형: 521. Visual Studio - Could not start the 'rsync' command on the remote host, please install it using your system package manager.11826정성태2/26/201922525오류 유형: 520. 우분투에 .NET Core SDK 설치 시 패키지 의존성 오류11825정성태2/25/201929019개발 환경 구성: 428. Visual Studio 2019 - CMake를 이용한 리눅스 빌드 환경 설정 [1]11824정성태2/25/201923092오류 유형: 519. The SNMP Service encountered an error while accessing the registry key SYSTEM\CurrentControlSet\Services\SNMP\Parameters\TrapConfiguration. [1]11823정성태2/21/201923379오류 유형: 518. IIS 관리 콘솔이 뜨지 않는 문제11822정성태2/20/201923481오류 유형: 517. docker에 설치한 MongoDB 서버로 연결이 안 되는 경우11821정성태2/20/201924265오류 유형: 516. Visual Studio 2019 - This extension uses deprecated APIs and is at risk of not functioning in a future VS update. [1]11820정성태2/20/201927536오류 유형: 515. 윈도우 10 1809 업데이트 후 "User Profiles Service" 1534 경고 발생11819정성태2/20/201926385Windows: 158. 컴퓨터와 사용자의 SID(security identifier) 확인 방법11818정성태2/20/201924120VS.NET IDE: 131. Visual Studio 2019 Preview의 닷넷 프로젝트 빌드가 20초 이상 걸리는 경우 [2]11817정성태2/17/201919879오류 유형: 514. WinDbg Preview 실행 오류 - Error : DbgX.dll : WindowsDebugger.WindowsDebuggerException: Could not load dbgeng.dll 11816정성태2/17/201924559Windows: 157. 윈도우 스토어 앱(Microsoft Store App)을 명령행에서 직접 실행하는 방법11815정성태2/14/201922829오류 유형: 513. Visual Studio 2019 - VSIX 설치 시 "The extension cannot be installed to this product due to prerequisites that cannot be resolved." 오류 발생11814정성태2/12/201920384오류 유형: 512. VM(가상 머신)의 NT 서비스들이 자동 시작되지 않는 문제11813정성태2/12/201921080.NET Framework: 809. C# - ("Save File Dialog" 등의) 대화 창에 확장 속성을 보이는 방법11812정성태2/11/201918668오류 유형: 511. Windows Server 2003 VM 부팅 후 로그인 시점에 0xC0000005 BSOD 발생11811정성태2/11/201925927오류 유형: 510. 서버 운영체제에 NVIDIA GeForce Experience 실행 시 wlanapi.dll 누락 문제11810정성태2/11/201921314.NET Framework: 808. .NET Profiler - GAC 모듈에서 GAC 비-등록 모듈을 참조하는 경우의 문제11809정성태2/11/201925109.NET Framework: 807. ClrMD를 이용해 메모리 덤프 파일로부터 특정 인스턴스를 참조하고 있는 소유자 확인11808정성태2/8/201926801디버깅 기술: 123. windbg - 닷넷 응용 프로그램의 메모리 누수 분석11807정성태1/29/201924321Windows: 156. 가상 디스크의 용량을 복구 파티션으로 인해 늘리지 못하는 경우 [4]11806정성태1/29/201922193디버깅 기술: 122. windbg - 덤프 파일로부터 PID와 환경 변수 등의 정보를 구하는 방법11805정성태1/28/201926225.NET Framework: 806. C# - int []와 object []의 차이로 이해하는 제네릭의 필요성 [4]111804정성태1/24/201923891Windows: 155. diskpart - remove letter 이후 재부팅 시 다시 드라이브 문자가 할당되는 경우11803정성태1/10/201922848디버깅 기술: 121. windbg - 닷넷 Finalizer 스레드가 멈춰있는 현상 ... 76 77 78 79 80 81 82 83 84 85 86 87 [88] 89 90 ...