Attempting to open a project gives the following error:
System.FormatException: Bad key/value pair: Bill's Matls: 0
When a user attempts to open a Project, he gets the following error about referencing a material library that has an apostrophe... System.FormatException: Bad key/value pair: Bill's Matls: 0 at Ansys.Core.DataSpecs.ScriptSyntaxHelper.ParseKeyValuePair(String str, Char delimiter) at Ansys.Core.DataSpecs.ScriptSyntaxHelper.ConvertStringToDictionary(String str, Boolean parseStringLiteral) --- System.FormatException: Invalid dictionary syntax: Preferences: 0, ToolbarExp: 0, FileTypesContainer: 0, FileContainer: 0, Messages: 0, Parameters: 0, Schematic: 0, ReportDataContainer: 0, Graphics: 0, Units: 0, Geometry: 842, Engineering Data: 3628, EngineeringDataGeneratedChartData: 0, EngineeringDataCurveFit: 0, EngineeringDataFavoriteItems: 0, Model: 0, Setup: 0, Solution: 0, Results: 0, Bill's Matls: 0 at Ansys.Core.DataSpecs.ScriptSyntaxHelper.ConvertStringToDictionary(String str, Boolean parseStringLiteral) at Ansys.Core.DataModel.ProjectSystem.DataContainerRecord.LoadContainerInternal(IStorageObjectReader storage, DataContainerReference reference, PersistenceContext context) at Ansys.Core.DataModel.ProjectSystem.Project.LoadContainersInternal(IStorageObjectReader rootContainersStorage, IDictionary containerMap, PersistenceContext context) at Ansys.Core.DataModel.ProjectSystem.Project.LoadProject(String projectFilePath, PersistenceContext context, Boolean resetBackupEngineAfterLoad) at Ansys.Core.Persistence.Commands.OpenCommand.LoadProjectInternal(IFullContext context, String projectFilePath, Boolean resetBackupE With Notepad or other generic text editor, open the designPoint.wbdp file. Search for all the words "Bill's Matls" (most likely in EngineeringData), and then change them to be "Bills Matls" (no apostrophe for the material name). Save the designPoint.wbdp and then attempt to load the project. |
||
|