Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products

Unexpected error on Workbench: Root element not found.

TAGGED: 

    • shreyan.sarkar.mec23
      Subscriber

      An unexpected error has occurred: Root element is missing.
      System.Xml.XmlException: Root element is missing.
         at System.Xml.XmlTextReaderImpl.Throw(Exception e)
         at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
         at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
         at System.Xml.XmlDocument.Load(XmlReader reader)
         at System.Xml.XmlDocument.Load(String filename)
         at Ansys.Core.Addins.AddinConfigReader.ReadConfigFile(String file)
         at Ansys.Core.Addins.AddinConfigReader.ReadConfigFilesFromAddinsConfiguration()
         at Ans.Program.Runtime.LoadAddins(RuntimeSettings settings)

      The above error is displayed when running Workbench in Ansys Student v242. Tried changing regions and deleting app data folders. Manually installed prerequisites. Nothing worked, please help.

       

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Shreyan,

      Please try the following the below workaround:

      Please change the PATH System Variable to make sure that C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;… entries are in front of everything else.
      Like:  PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;…all other entries...

      Manually register the DLLs listed below by starting a Command Prompt (DOS) "as administrator" and changing to the directory c:\windows\system32, then typing:

      regsvr32.exe ole32.dll
      regsvr32.exe atl.dll
      regsvr32.exe oleaut32.dll
      regsvr32.exe scrrun.dll
      regsvr32.exe jscript.dll
      regsvr32.exe vbscript.dll

      Rename .ansys to old.ansys  (just type: %TEMP% in the address bar)

      Rename Ansys to Ansys.old (just type: %appdata% in the address bar)

      Run the ProductConfig.exe from C:\Program Files\Ansys Inc\v2xx  (use student directory) and configure the application again, by right-clicking the productconfig.exe file and select "Run as Administrator", selecting all options. Make sure you run this as administrator and install all the prerequisites.

      If this does not resolve the problem, we need to check the file size for the downloaded files. It might be that the downloaded files are corrupted, and you may need to download them again and reinstall ANSYS from scratch.

      Please check and let me know if that resolve the problem.

    • shreyan.sarkar.mec23
      Subscriber

       

      Thank you the process worked.

       

Viewing 2 reply threads
  • You must be logged in to reply to this topic.