Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

EvtSaveChannelConfig function is failed

$
0
0

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



Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>