Error loading Dynamo-File on other PC


I have written a dynamo file for bulk adding shared parameters on my main workstation. I’m using the revit dynamo plugin.
Now I tested, if I can run it on an other system. I copied the file and tried to load it with the same revit version (2018).

I get this error (translated):

Error opening the corrupted file: E:\Insert_Shared_Parameter_V1.dyn

  • with this details:

System.Xml.XmlException: Ungültige Daten auf Stammebene. Zeile 1, Position 1.
bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
bei System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
bei System.Xml.XmlTextReaderImpl.ParseDocumentContent()
bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
bei System.Xml.XmlDocument.Load(XmlReader reader)
bei System.Xml.XmlDocument.Load(String filename)
bei Dynamo.Models.DynamoModel.OpenFileFromPath(String xmlPath, Boolean forceManualExecutionMode)
bei Dynamo.Models.DynamoModel.ExecuteCommand(RecordableCommand command)
bei Dynamo.ViewModels.DynamoViewModel.Open(Object parameters)

The suspicious is, that this only happend if I create or change the file on my mainstation. Then I can run/open it ONLY on my mainstation.
When I create it on my teststation, I can run it there AND on my mainstation.

On my mainstation is the newest dynamo, which i downloaded from the website and installed it per “hand”.
On my teststation is the dynamo, which comes with revit 2018.

While I’m a new user, I can’t upload the .dyn. But it’s only a SharedParameterFile - Node and a Python Script - Node.

I hope you can help me.


Dynamo 2.0 can open 1.3.X files but not the other way… That is most likely your problem…

(1.3.X comes with Revit, manual update will give you 2.0)

Thanks for the fast reply and you are right.
On my teststation is version 1.2.2 and on my workstation is 2.0.1.

Is there an option to save a file on a lower version level?

I do not believe that is possible, the best solution would be to make sure to have the same version on both, specific versions can be downloaded for manual install on dynamos homepage