Intermitent issues writing files to Local_Username redirection.xml

%3CLINGO-SUB%20id%3D%22lingo-sub-1812178%22%20slang%3D%22en-US%22%3EIntermitent%20issues%20writing%20files%20to%20Local_Username%20redirection.xml%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1812178%22%20slang%3D%22en-US%22%3E%3CP%3Ehaving%20an%20issue%20with%20Sage%20200%20trying%20to%20write%20a%20file%20into%20FSLogix%20profile%20disk%20so%20moved%20file%20using%20redirection.xml%20to%20local_username%5Cappdata%5Clocal%5C%20and%20it%20has%20successfully%20writes%20the%20folder%20structure%20there%20however%20intermittently%20it%20will%20fail%20on%20one%20file%20stopping%20the%20program%20open%2C%20logging%20users%20off%20and%20onto%20a%20different%20VM%20intermittently%20works%2C%20not%20sure%20if%20its%20an%20FSLogix%20issue%20or%20a%20WVD%20issue%20as%20dont%20have%20the%20issue%20on%20standard%20rdp%20with%20old%20UPD's%20or%20on%20on%20prem%20windows%2010%20machines.%20anyone%20seen%20similar%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1902872%22%20slang%3D%22en-US%22%3ERe%3A%20Intermitent%20issues%20writing%20files%20to%20Local_Username%20redirection.xml%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1902872%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F815477%22%20target%3D%22_blank%22%3E%40StevenR%3C%2FA%3E%26nbsp%3Bwe%20are%20also%20experiencing%20the%20same%20issue%2C%20we%20are%20using%20WVD%20and%20FSLogix%20but%20not%20the%20redirections.xml.%20We%20have%20found%20that%20the%20issue%20moves%20between%20users%20after%20reboots%20and%20after%20using%20process%20monitor%20we%20established%20the%20issue%20arises%20when%20Sage%2F.NET%20attempts%20to%20rename%2Fmerge%20the%20user.config.%20This%20stackoverflow%20displays%20the%20same%20issues%20but%20using%20Citrix%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F64356026%2Fapplicationsettingsbase-save-unable-to-save-config-to-file%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F64356026%2Fapplicationsettingsbase-save-unable-to-save-config-to-file%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHis%20work%20around%20was%20to%20not%20use%20FSLogix%2C%20but%20this%20is%20far%20from%20ideal.%20Hope%20you%20find%20the%20extra%20information%20useful%20(or%20at%20least%20interesting).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20article%20suggests%20a%20development%20solution%2C%20which%20I%20am%20going%20to%20forward%20to%20our%20Sage%20support%20tomorrow.%20Fingers%20crossed%20they%20can%20ask%20Sage%20to%20implement%20a%20fix.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F20946627%2Fhow-to-work-around-localfilesettingsprovider-requiring-full-control-ownerrights%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F20946627%2Fhow-to-work-around-localfilesettingsprovider-requiring-full-control-ownerrights%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

having an issue with Sage 200 trying to write a file into FSLogix profile disk so moved file using redirection.xml to local_username\appdata\local\ and it has successfully writes the folder structure there however intermittently it will fail on one file stopping the program open, logging users off and onto a different VM intermittently works, not sure if its an FSLogix issue or a WVD issue as dont have the issue on standard rdp with old UPD's or on on prem windows 10 machines. anyone seen similar

3 Replies
Highlighted

@StevenR we are also experiencing the same issue, we are using WVD and FSLogix but not the redirections.xml. We have found that the issue moves between users after reboots and after using process monitor we established the issue arises when Sage/.NET attempts to rename/merge the user.config. This stackoverflow displays the same issues but using Citrix:

 

https://stackoverflow.com/questions/64356026/applicationsettingsbase-save-unable-to-save-config-to-f...

 

His work around was to not use FSLogix, but this is far from ideal. Hope you find the extra information useful (or at least interesting).

 

This article suggests a development solution, which I am going to forward to our Sage support tomorrow. Fingers crossed they can ask Sage to implement a fix.

 

https://stackoverflow.com/questions/20946627/how-to-work-around-localfilesettingsprovider-requiring-...

 

 

 

 

Highlighted

@brmmmm78 

 

Hi @brmmmm78  , well all the redirections didn't help basically "clickonce" installers are not supported on VDI's/Roaming profiles and since Sage use that then there in lies the issue, Unless Sage are prepared to change to another type of installer this issue wont go away.

 

Basically FSLogix's uses a driver to obscure the path of where config file actually exists and whether you exclude from the disk or not .net still needs to run through that driver, Perhaps FSLogix may improve that driver over time but right now its doesn't work 100% of the time.

 

However I would be very interested to here how you get on with your Sage support, as for now I have had to move the sage user away from WVD for now and hope this is resolved later on. Hope you have more luck

Highlighted

Hi @StevenR, Im not going to hold my breath with Sage, but our accounts team is quite small so we are just join to create a host-pool with a single host and disable FXLogix for the sage users. Not ideal but a solution for the time being.

 

Thanks for the info and good luck to you also.