Microsoft MVP성태의 닷넷 이야기
개발환경 구성 : 4. COM+ 서비스에서 인증서 사용. [링크 복사], [링크+제목 복사],
조회: 13099
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

nop, COM+ service control manager does not load the user profile
; http://blogs.msdn.com/davidsalgado/archive/2006/06/17/635496.aspx

인증서가 "Machine" 영역과 각 사용자의 "User" 영역에 있지요.
문제는, COM+ 서비스가 해당 사용자 계정으로 로그인이 안되어 있다면 기본적으로 "User Storage" 영역을 로드하지 않는다는 데에 있습니다.

따라서, 인증서가 "Machine" 영역이 아닌 "User" 영역(IE 인증서 관리자에서는 "My" 영역으로 불리죠)에 있는 경우 다음과 같은 3가지 방법을 통해서 해결할 수 있다고 하는군요.

1. 의도적으로 "UserProfileAPI"를 호출. 코드 수정을 해야 하는 부담이 작용.

2. COM+ 구동 계정과 동일한 사용자 계정으로 설정된, 껍데기 코드만 포함하고 있는 NT Service를 만들어 둡니다. 왜냐하면, "NT Service"에서는 해당하는 User Profile을 로드하기 때문입니다.

3. 인증서 사용을 User 영역이 아닌, "Machine" 영역에 있는 것으로 합니다.

--------- 결국, 해결은 COM+ 응용 프로그램 설정의 "Run as an NT Service"를 설정하는 것으로 해결했다는군요. ^^








[최초 등록일: ]
[최종 수정일: 6/28/2021]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  [38]  39  40  41  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
239정성태4/18/200611610Display a Web Page in a Plain C Win32 Application
238정성태4/17/200611532ASP.NET 2.0 의 Provider 관련 쪽 소스 공개
237정성태4/17/200611222Microsoft Application Verifier
236정성태4/17/200612469IIS6 - IE static resource caching problem
235정성태4/13/200611134"Atlas" Control Toolkit for April CTP Released
234정성태4/13/200611495Access Visual Studio 2005 Team System From Macintosh and UNIX Systems, and from within the Eclipse IDE
233정성태4/13/200611178More Workflow Videos
232정성태4/13/200612152Microsoft Visual C++ 2005 Redistributable Package
231정성태4/13/200611672Windows Presentation Foundation Hands-On-Labs - February 2006 CTP
230정성태4/13/200611519Microsoft Management Model Designer
229정성태4/13/200612512Discovery Wizard for SharePoint
228정성태4/13/200612053TeamPlain Web Access for Team System
227정성태4/13/200611872Scrum for Team System Released
226정성태4/13/200611785Visual Studio Team Foundation Server MSSCCI Provider Version 1.0
224정성태4/13/200611349VC++ - GroupLab Component Library
223정성태4/13/200610482MSBuild Community Tasks Project releases new version
225정성태4/13/20069900    답변글 Visual Studio 2005 Web Application Projects (RC1)
222정성태4/13/200610944Visual Studio 2005 Security Features and Tools
220정성태6/8/200610830Shared Source Common Language Infrastructure 2.0 Release [1]
219정성태8/4/200610675Simple List Extensions Specification
218정성태4/13/2006112953rd party library - EZShellExtensions.Net 1.0 [1]
217정성태4/13/200611066Bug Details: GC fails to load in server mode if config file contains none ASCII characters
215정성태4/13/200611218http://www.400plusdifferences.com/
214정성태4/13/20069701Team Foundation Server, Biztalk 2006
216정성태4/13/200611070    답변글 Team Foundation Server 시험판 공개 다운로드
213정성태4/13/200611152Introduction to the MSN Messenger Activity SDK
... 31  32  33  34  35  36  37  [38]  39  40  41  42  43  44  45  ...