In this post, we will see how to resolve Clickonce install illegal character error 0x80070246
Question:I have one user trying to install a clickonce application and they’re getting the error below. Is this a Windows configuration issue or something else?
Activation of \usflnas1.wst.corproot.com\Home$\714099\Downloads\AgentToolbox (5).application resulted in exception. Following failure messages were detected: + An illegal character was encountered. For a multi-byte character set this includes a lead byte without a succeeding trail byte. For the Unicode character set this includes the characters 0xFFFF and 0xFFFE. (Exception from HRESULT: 0x80070246)
Best Answer:The solution to solve this issue is to
clear the ClickOnce cache of the problem machine.
If you have better answer, please add a comment about this, thank you!