Cannot export conf to Adiscon cfg format

Forum for the RSyslog Windows Agent. Here you can ask all questions regarding installation, configuration or occuring problems.

Moderator: rgerhards

Google Ads


Cannot export conf to Adiscon cfg format

Postby cmk » Thu Oct 01, 2015 3:45 pm

Either when choosing 'File -> Export configuration -> Adiscon config format' or going into 'File -> Options -> Config Access', and try to change from registry to file based config it fails with the following error.

Code: Select all
The Configuration could not be saved: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\RSyslog\Agent\{ea1ced76-e3c5-4bfd-9512-59440716efc6}\Application.data'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
   at adiscon.configuration.client.CConfigReaderFile.SaveDataValuesIntoDataFiles(CConfigEntry myConfigEntry)
   at adiscon.configuration.client.CConfigReaderFile.SaveConfiguration()


That path in the first line does not look correct.

BR,

kristian
cmk
New
 
Posts: 6
Joined: Wed Sep 23, 2015 5:53 pm

Re: Cannot export conf to Adiscon cfg format

Postby alorbach » Mon Oct 05, 2015 1:18 pm

Thanks for reporting this issue.
This looks like a configuration client bug related to saving EventLog Monitor data values which should not be done in this case.
We will investigate and fix this problem in the configuration client ASAP.

best regards,
Andre Lorbach
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Re: Cannot export conf to Adiscon cfg format

Postby rjcuk » Tue Oct 06, 2015 5:01 pm

I have seen this issue too. A workaround is to close the Client Configuration program and open it again, which may mean you need to redo your config.
rjcuk
New
 
Posts: 9
Joined: Tue Oct 06, 2015 4:51 pm

Re: Cannot export conf to Adiscon cfg format

Postby alorbach » Tue Oct 13, 2015 1:13 pm

This problem should be fixed now in the current beta version. However I could not reproduce the problem in my environment, can somebody else confirm that the problem is solved now?

best regards,
Andre Lorbach
alorbach
Site Admin
 
Posts: 1627
Joined: Thu Feb 13, 2003 11:55 am

Google Ads



Return to Windows Agent

Who is online

Users browsing this forum: No registered users and 0 guests

cron