부모글 보이기/감추기 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 비밀번호 댓글 작성자 ... 121 122 123 124 125 126 127 128 129 [130] 131 132 133 134 135 ... NoWriterDateCnt.TitleFile(s) 1805정성태11/5/201421868.NET Framework: 476. Visual Studio에서 Mono용 Profiler 개발 [3]11804정성태11/5/201428113.NET Framework: 475. ETW(Event Tracing for Windows)를 C#에서 사용하는 방법 [9]11803정성태11/4/201420216오류 유형: 261. Windows Server Backup 오류 - Error in backup of E:\$Extend\$RmMetadata\$TxfLog1802정성태11/4/201422204오류 유형: 260. 이벤트 로그 - Windows Error Reporting / AEAPPINVW81801정성태11/4/201427431오류 유형: 259. 이벤트 로그 - Windows Error Reporting / IPX Assertion / KorIME.exe [1]1800정성태11/4/201418218오류 유형: 258. 이벤트 로그 - Starting a SMART disk polling operation in Automatic mode.1799정성태11/4/201422960오류 유형: 257. 이벤트 로그 - The WMI Performance Adapter service entered the stopped state.1798정성태11/4/201431722오류 유형: 256. 이벤트 로그 - The WinHTTP Web Proxy Auto-Discovery Service service entered the stopped state. [1]1797정성태11/4/201417392오류 유형: 255. 이벤트 로그 - The Adobe Flash Player Update Service service entered the stopped state.1796정성태10/30/201424435개발 환경 구성: 249. Visual Studio 2013에서 Mono 컴파일하는 방법1795정성태10/29/201426968개발 환경 구성: 248. Lync 2013 서버 설치 방법1794정성태10/29/201422408개발 환경 구성: 247. "Microsoft Office 365 Enterprise E3" 서비스에 대한 간략 소개1793정성태10/27/201423029.NET Framework: 474. C# - chromiumembedded 사용 - 두 번째 이야기 [2]11792정성태10/27/201423169.NET Framework: 473. WebClient 객체에 쿠키(Cookie)를 사용하는 방법1791정성태10/22/201422906VC++: 83. G++ - 템플릿 클래스의 iterator 코드 사용에서 발생하는 컴파일 오류 [5]1790정성태10/22/201418434오류 유형: 254. NETLOGON Service is paused on [... AD Server...]1789정성태10/22/201421034오류 유형: 253. 이벤트 로그 - The client-side extension could not remove user policy settings for '...'1788정성태10/22/201423107VC++: 82. COM 프로그래밍에서 HRESULT 타입의 S_FALSE는 실패일까요? 성공일까요? [2]1787정성태10/22/201431281오류 유형: 252. COM 개체 등록시 0x8002801C 오류가 발생한다면?1786정성태10/22/201432626디버깅 기술: 65. 프로세스 비정상 종료 시 "Debug Diagnostic Tool"를 이용해 덤프를 남기는 방법 [3]11785정성태10/22/201421848오류 유형: 251. 이벤트 로그 - Load control template file /_controltemplates/TaxonomyPicker.ascx failed [1]1784정성태10/22/201429931.NET Framework: 472. C/C++과 C# 사이의 메모리 할당/해제 방법11783정성태10/21/201423347VC++: 81. 프로그래밍에서 borrowing의 개념1782정성태10/21/201420079오류 유형: 250. 이벤트 로그 - Application Server job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance1781정성태10/21/201420502디버깅 기술: 64. new/delete의 짝이 맞는 경우에도 메모리 누수가 발생한다면?1780정성태10/15/201424152오류 유형: 249. The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID ... 121 122 123 124 125 126 127 128 129 [130] 131 132 133 134 135 ...