Save Form - WaitForFormClose Exception: Binary stream '0' does not contain a valid BinaryHeader

Hello,

I am using the Assistant Attended Framework - version 1.0.3

Attempting to add a field on to the menu.
I have updated the config.xlsx “Form Display” worksheet.

From Studio, the “DisplayForm.xaml” - click “Open Form Designer”.

Add a “Text Field” into the panel where it displays "Drag and Drop a form Component. Set the Label, heck the Field name matches the value in the confix worksheet.

Save the form. Response says “saved”
Close the “UiPath Form Designer”

Errors in Studio Project Log and on a pop-up.

12:25:44.9576 => [ERROR] [UiPath.Studio.Launcher.exe] [1] WaitForFormClose Exception: Binary stream ‘0’ does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
12:25:44.9606 => [ERROR] [UiPath.Studio.Launcher.exe] [1] DesignForm Exception: Binary stream ‘0’ does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.

Result is no change to the Designer Form.

Any ideas on how to resolve?

I have verified that using a new project, the Designer Form can be used and successfully add a field to a form.

Hi DavidMartin, what version of UiPath.Forms.Activities are you using?

Hello Tuan,
Sorry for the slow reply.
I am using UiPath.Forms.Activities 1.9.3 and it is Studio 2021.10.5
From some research, I saw references to similar issues, so I have also installed UiPath.cefSharpBundle 1.7.0-Preview unfortunately that did not resolve the issue.

Regards, Dave

Thanks for confirming, could you downgrade the Forms package to 1.5.0? I believe there was a name change to the Form activity that is causing this issue. I’ll be sure to upgrade the package versions in the framework after the 22.4 release.

Hello Tuan,

Thanks for the suggestion.

Unfortunately, that did not work. It made the “Open Designer” activity become invalid.

I tried using other interim versions such as 1.7.2 and 1.8.0 but these also had issues.

Does the “UiPath.FormActivityLibrary” version also need to be altered? I have it set at 1.9.3.

Regards, Dave

Ether Solutions

www.ether-solutions.co.uk

Office Tel: 0845 643 4410

Mobile: 0772 0707 662

https://www.linkedin.com/in/davidmartin-ethersolutions/

Intelligent Automation for Productivity and Quality

RPA - Robotic Process Automation – UiPath

90 Day Automation – UiPath Kickstart

Book a meeting - Calendar

image001.png

Can you try and remove the “UiPath.FormActivityLibrary” dependency?

Hi Tuan,

I removed the “UiPath.FormActivityLibrary” dependency as you suggested and down graded the “Form” to 1.8.0. This combination worked!

Many thanks for your help.

Regards, Dave

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.