Microsoft MVP성태의 닷넷 이야기
개발환경 구성 : 4. COM+ 서비스에서 인증서 사용. [링크 복사], [링크+제목 복사],
조회: 14130
글쓴 사람
정성태 (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/200612177MS 인증서버 : 인증서 유효 기간 기본값 변경
157정성태4/13/200611615Converting a managed PDB into a XML file
158정성태4/13/200610951    답변글 [추가]: A SymWriter sample is coming...
156정성태4/13/200611960Method Call Interception (MCI) in C++
155정성태4/13/200611515Web Project Conversion Wizard
154정성태12/21/200512284Interprocess Communication Using the Running Object Table (ROT)파일 다운로드1
153정성태4/13/200611944Assembly loading failure is expensive [1]
152정성태4/13/200612270ASCX 컨트롤을 커스텀 컨트롤로 사용하는 방법.
151정성태4/13/200611150TechNet 세미나 목록
150정성태4/13/200611227SCDL Tool [2]
149정성태4/13/200611307Disk (based) Output Cache
147정성태4/13/200611155CLR Profiler for the .NET Framework 2.0
146정성태4/13/200612090Scriptomatic Version 2.0 by the Microsoft Scripting Guys
145정성태4/13/200611607Windows Server 2003 R2 [2]
144정성태4/13/200612095WTL(Windows Template Library) 7.5
143정성태4/13/200612391.NET 1.1 에서 WebService Client 의 KeepAlive = false; 설정
142정성태4/13/200611533Virtual Server 2005 R2 (x86, x64) EE 180-day Evaluation [2]
141정성태4/13/200612193.NET 표준개발 가이드와 Microsoft.Framework 공개
140정성태4/13/200610675PAINT.NET
139정성태11/30/20051168312월 세미나 행사
137정성태11/17/200511145WSE 3.0 정식 버전
162정성태4/13/200611780    답변글 [추가]: Web Service Security Guide
136정성태11/17/200511428Creating an Outlook My.Blogs Managed Code Add-in
138정성태11/24/200510848    답변글 Ceating an Outlook Business Contact Assistant Add-in with Visual Studio Tools for Office
135정성태11/16/200511180What's port 445 used for in Windows 2000/XP?파일 다운로드1
134정성태11/15/200511135Microsoft 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  ...