Hi All,
while i was looking the Event viewer in one of my MS CRM 2011 instance, i got the below error message in event viewer
while i was looking the Event viewer in one of my MS CRM 2011 instance, i got the below error message in event viewer
|
Invalid Trace Directory. Additional Info:[ Unable to
Write file , Trace directory not defined (Reporting Process:File Name is
Null. LocalTraceSettings: {Filename:
,FileCountSuffix:1 ,TraceFileSize:10485760 ,TraceDirectory:
,TracingCallStack:Yes ,IsTracingOff:No ,LoadState:LoadSuccessfulUnreported
,RefreshTraceInt:-1 ,SiteWideRefreshTraceInt:-1 ,RegistryRefreshTraceInt:-1}
] , AppDomain:CrmAsyncService)
|
this means the trace directory is nto available.
so set the directory by following the below commands
open the windws power shell in admin mode
run the below commands...
Add-PSSnapin Microsoft.Crm.PowerShell
Get-CrmSetting TraceSettings
$setting=Get-CrmSetting TraceSettings
$setting.Directory=”C:\Program Files\Microsoft Dynamics CRM\Trace” (this is the directory that u want)
Set-CrmSetting $setting
Get-CrmSetting TraceSettings
Get-CrmSetting TraceSettings
$setting=Get-CrmSetting TraceSettings
$setting.Directory=”C:\Program Files\Microsoft Dynamics CRM\Trace” (this is the directory that u want)
Set-CrmSetting $setting
Get-CrmSetting TraceSettings
Regards,
yes.sudhanshu

No comments:
Post a Comment