Hi,
I have used EvtSetChannelConfigProperty to set EvtChannelLoggingConfigLogFilePath and used environment variable as value of this property. After setting this property I have used EvtSaveChannelConfig method to save it.
The problem is that, some times EvtSaveChannelConfig is failed with error "system cannot find the file specified". Issue is getting rarely. When i give the expanded path for EvtChannelLoggingConfigLogFilePath( instead of environment variable) , its always working without any issue.
But I didn't get any valid reference related to that. Any one already got this issue?. Is there any relation to VS2010.
EvtSaveChannelConfig: http://msdn.microsoft.com/en-us/library/windows/desktop/aa385477(v=vs.85).aspx
EvtSetChannelConfigProperty: http://msdn.microsoft.com/en-us/library/windows/desktop/aa385484(v=vs.85).aspx
Thanks,
Arun