Microsoft MVP성태의 닷넷 이야기
개발환경 구성 : 4. COM+ 서비스에서 인증서 사용. [링크 복사], [링크+제목 복사],
조회: 9654
글쓴 사람
정성태 (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)
160정성태4/13/20069425MS 인증서버 : 인증서 유효 기간 기본값 변경
157정성태4/13/20069038Converting a managed PDB into a XML file
158정성태4/13/20068693    답변글 [추가]: A SymWriter sample is coming...
156정성태4/13/20069493Method Call Interception (MCI) in C++
155정성태4/13/20068900Web Project Conversion Wizard
154정성태12/21/20059628Interprocess Communication Using the Running Object Table (ROT)파일 다운로드1
153정성태4/13/20069116Assembly loading failure is expensive [1]
152정성태4/13/20069703ASCX 컨트롤을 커스텀 컨트롤로 사용하는 방법.
151정성태4/13/20068526TechNet 세미나 목록
150정성태4/13/20068691SCDL Tool [2]
149정성태4/13/20068780Disk (based) Output Cache
147정성태4/13/20068726CLR Profiler for the .NET Framework 2.0
146정성태4/13/20069703Scriptomatic Version 2.0 by the Microsoft Scripting Guys
145정성태4/13/20069151Windows Server 2003 R2 [2]
144정성태4/13/20069538WTL(Windows Template Library) 7.5
143정성태4/13/20069782.NET 1.1 에서 WebService Client 의 KeepAlive = false; 설정
142정성태4/13/20068952Virtual Server 2005 R2 (x86, x64) EE 180-day Evaluation [2]
141정성태4/13/20069638.NET 표준개발 가이드와 Microsoft.Framework 공개
140정성태4/13/20068158PAINT.NET
139정성태11/30/2005922112월 세미나 행사
137정성태11/17/20058670WSE 3.0 정식 버전
162정성태4/13/20069337    답변글 [추가]: Web Service Security Guide
136정성태11/17/20058971Creating an Outlook My.Blogs Managed Code Add-in
138정성태11/24/20058423    답변글 Ceating an Outlook Business Contact Assistant Add-in with Visual Studio Tools for Office
135정성태11/16/20058719What's port 445 used for in Windows 2000/XP?파일 다운로드1
134정성태11/15/20058707Microsoft SQL Server Management Studio Express - Community Technical Preview (CTP) November 2005 [1]
... 31  32  33  34  35  36  37  38  39  40  [41]  42  43  44  45  ...