Trouble enabling FIM-CM SmartCardClient logging.
I am having trouble getting the smartcardclient to log on my Windows7 machine. The troubleshooting docs say to set "Log Level" and "LogFileName" at the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CLM\v1.0\SmartCardClient registry key, but then go on to say that for the LogFileName, "Set the string value to the path and file name of the log file name, delimited with quotes." What would that syntax equate to when "delimited with quotes"? The example value referenced in the docs doesn't show any quotes. Currently I have it set to: Log Level = REG_DWORD 0x00000004 LogFileName = "c:\temp\client.log" But no log file is being created (I set Everyone with Write access on the c:\temp directory). Another question: If on Windows7 64bit, using the 32bit client, would the registry value be HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\CLM\v1.0\SmartCardClient, or would it still be HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CLM\v1.0\SmartCardClient ?
November 10th, 2010 12:56pm

Those steps are out-of-date. Please follow these steps to enable logging (use Wow6432Node for 32-bit client on 64-bit OS): In HKLM\SOFTWARE\Microsoft\Clm\adk\TraceError\ Set the REG_DWORD to 1 for the component(s) for which you want to enable tracing. For example: "C:\Program Files\Internet Explorer\iexplore.exe" 0x00000001 (1) In HKLM\SOFTWARE\Microsoft\Clm\adk\TraceError\Folder\ Set the REG_SZ to the path of the log file to which you want tracing messages for that component to be written. For example: "C:\Program Files\Internet Explorer\iexplore.exe" "C:\CLMLogs"
Free Windows Admin Tool Kit Click here and download it now
November 10th, 2010 2:14pm

Thank you Henna. I added the key for C:\Program Files (x86)\Internet Explorer\iexplore.exe (without quotes) to HKLM\SOFTWARE\Wow6432Node\Microsoft\Clm\adk\TraceError\ with a DWORD value of 0x00000001, and also added the same key to HKLM\SOFTWARE\Wow6432Node\Microsoft\Clm\adk\TraceError\Folder\ with a REG_SZ value of c:\temp\clientlogs. Now when I launch my FIM-CM process to enroll for a smartcard, one logfile gets created in the directory (_clm_20101110), but the only thing in the file is: Unable to open Software\Microsoft\Clm\adk\EventSource. Error: 0x00000002. Does this work with the 32bit client on 64bit OS? Or am I missing a permissions setting (etc) somewhere?
November 10th, 2010 4:02pm

Thank you Henna. I added the key for C:\Program Files (x86)\Internet Explorer\iexplore.exe (without quotes) to HKLM\SOFTWARE\Wow6432Node\Microsoft\Clm\adk\TraceError\ with a DWORD value of 0x00000001, and also added the same key to HKLM\SOFTWARE\Wow6432Node\Microsoft\Clm\adk\TraceError\Folder\ with a REG_SZ value of c:\temp\clientlogs. Now when I launch my FIM-CM process to enroll for a smartcard, one logfile gets created in the directory (_clm_20101110), but the only thing in the file is: Unable to open Software\Microsoft\Clm\adk\EventSource. Error: 0x00000002. Does this work with the 32bit client on 64bit OS? Or am I missing a permissions setting (etc) somewhere?
Free Windows Admin Tool Kit Click here and download it now
November 10th, 2010 4:02pm

Hello, It sounds like the log file is being successfully created. You can disregard the trace messages that say, "Unable to open..." Have you executed an actual enroll or other smart card operation? You should see corresponding traces in the log file.
November 11th, 2010 1:30pm

Yeah, that is the only entry that got put in the log though. I had a quite a mix of installs (64-bit card middleware, 32-bit FIM-CM, running 32-bit IE on 64-bit Win7). Installed the 64-bit FIM-CM and ran under the 64-bit IE, and the log started populating with more detail. I assume it didn't work under the 32-bit IE because i didnt have the 32-bit middleware?? I will have to verify that.
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2010 6:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics