Article - CS50818

Error: "Unknown doc type" when using wt.load.LoadFromFile to load a soft type of Document in Windchill PDMLink

Modified: 01-Apr-2022   


Applies To

  • Windchill PDMLink 10.1 to 12.0

Description

  • Error: "Unknown doc type" when trying to load a Soft-type Document
  • Error: "Create Document Failed...Unknown document type" using wt.load.LoadFromFile utility
  • Below errors occur while using LoadFromFile functionality to load WTDocument Sub type object :
    • Create Document Failed (***): Unknown document type <WCTYPE|wt.doc.WTDocument|***>
      Loader method wt.doc.LoadDoc.beginCreateWTDocument reported a failure
      No objects were imported due to the error.
      Problem in export/import process.
      Nested exception is: wt.util.WTException: Loader method wt.doc.LoadDoc.beginCreateWTDocument reported a failure Error loading data from file.
      data file = <***>
      map file = <null,null>
      token separator = <null,null>
      method = <null,create>
      user = <null>
      Command line = <{User=, CONT_PATH=/wt.inf.container.OrgContainer=***/wt.pdmlink.PDMLinkProduct=***), Password=}>
      Problem in export/import process.
      Nested exception is: wt.util.WTException: Loader method wt.doc.LoadDoc.beginCreateWTDocument reported a failure
    • setType: Ignoring invalid type: wt.doc.WTDocument|<Internal Name of Subtype>
      
      Create Document Failed (***): wt.vc.VersionControlException: (wt.series.seriesResource/2) wt.series.SeriesException: The revision value is not valid within the series: 1, series=Default
      Nested exception is: The revision value is not valid within the series: 1, series=Default
      Nested exception is: (wt.series.seriesResource/2) wt.series.SeriesException: The revision value is not valid within the series: 1, series=Default
      Nested exception is: The revision value is not valid within the series: 1, series=Default
      Nested exception is: wt.vc.VersionControlException: (wt.series.seriesResource/2) wt.series.SeriesException: The revision value is not valid within the series: 1, series=Default
      Nested exception is: The revision value is not valid within the series: 1, series=Default
      Nested exception is: wt.series.SeriesException: The revision value is not valid within the series: 1, series=Default
      Nested exception is: wt.util.WTPropertyVetoException: The revision value is not valid within the series: 1, series=Default
      Loader method wt.doc.LoadDoc.beginCreateWTDocument reported a failure
      No objects were imported due to the error.
      Problem in export/import process.
      Nested exception is: wt.util.WTException: Loader method wt.doc.LoadDoc.beginCreateWTDocument reported a failure Error loading data from file.
      data file = <***>
      map file = <null,null>
      token separator = <null,null>
      method = <null,create>
      user = <null>
      Command line = <{User=, CONT_PATH=/wt.inf.container.OrgContainer=***/wt.pdmlink.PDMLinkProduct=***, Password=}>
      Problem in export/import process.
      Nested exception is: wt.util.WTException: Loader method wt.doc.LoadDoc.beginCreateWTDocument reported a failure
      

       
This is a printer-friendly version of Article 50818 and may be out of date. For the latest version click CS50818