• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD P&ID

    Reply
    Valued Contributor
    Heckmeck
    Posts: 53
    Registered: ‎10-10-2011

    Report - Name too Long

    360 Views, 2 Replies
    11-09-2012 05:45 AM

    Hi again,

     

    recently I added lots of new properties to the project configuration.

    Now, I wanted to create a user defined report with some of the properties.

     

    In the project configuration I noticed, that some reports just did not show anything anymore, but no error message.

    I found out, that this deals with the length of the name of the property.

     

    Then I went into the Report Creator, tried to create the reports from there and got the message:

     

    PNPCompletionStatus.NameIsTooLong

     

    What can I do to allow longer names?

    How can I change propery names afterwards? I cant delete them, since they contain lots of information.

     

    My property names aren't that long, I guess it is also about the class names.

    Please use plain text.
    Valued Contributor
    Heckmeck
    Posts: 53
    Registered: ‎10-10-2011

    Re: Report - Name too Long

    04-04-2013 04:23 AM in reply to: Heckmeck

    Hi Everyone!

     

    I still have no solution for the problem. Changing of attribute names afterwards is still not possible and the length of the names is still producing an error.

     

    Could you at least add one thing to the wishlist:

    Remove the restricion of a maximum length for attributes in the project creator

    Alternative: Show a warning message whilst creating the attribute in Acad PID, that it might be too long for report creation.

     

    If you have any hints on that one, this would be great!

     

    Thanks and best regards!

     

     

    Please use plain text.
    Valued Contributor
    Heckmeck
    Posts: 53
    Registered: ‎10-10-2011

    Re: Report - Name too Long

    04-04-2013 05:13 AM in reply to: Heckmeck

    This is the complete error message, hope it help

     

    Informationen über das Aufrufen von JIT-Debuggen anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

    ************** Ausnahmetext ************** Autodesk.ProcessPower.ReportCreator.ReportCreatorException: Fehler beim Abfragen von Daten aus der Datenbank.

    Fehlerdetails: Fehler beim Abfragen von Daten aus der Datenbank.

    Fehlerdetails: PnPCompletionStatus.NameIsTooLong ---> Autodesk.ProcessPower.ReportCreatorUtils.ReportCreatorUtilsException: Fehler beim Abfragen von Daten aus der Datenbank.

    Fehlerdetails: Fehler beim Abfragen von Daten aus der Datenbank.

    Fehlerdetails: PnPCompletionStatus.NameIsTooLong ---> Autodesk.ProcessPower.ReportCreatorUtils.ReportCreatorUtilsException: Fehler beim Abfragen von Daten aus der Datenbank.

    Fehlerdetails: PnPCompletionStatus.NameIsTooLong ---> Autodesk.ProcessPower.DataObjects.PnPException: PnPCompletionStatus.NameIsTooLong    bei Autodesk.ProcessPower.DataObjects.PnPQuery.Prepare()    bei Autodesk.ProcessPower.DataObjects.PnPQueryRowSource.Select(String filter, PnPRowIdArray rowids)    bei Autodesk.ProcessPower.DataObjects.PnPDataView.SelectRows(PnPRowSource rowsource, String filter)    bei Autodesk.ProcessPower.DataObjects.PnPDataView.ApplyFilters()    bei Autodesk.ProcessPower.DataObjects.PnPDataView.Initialize(PnPRowSource rsource, String filter, PnPRowIdArray rowids)    bei Autodesk.ProcessPower.ReportCreatorUtils.Database.MultiClassDataView.GetClassDataView(ClassDefinition clsDef, ColumnFilters columnInfos)    --- Ende der internen Ausnahmestapelüberwachung ---    bei Autodesk.ProcessPower.ReportCreatorUtils.Database.MultiClassDataView.GetClassDataView(ClassDefinition clsDef, ColumnFilters columnInfos)    bei Autodesk.ProcessPower.ReportCreatorUtils.Database.MultiClassDataView.GetDataTable()    --- Ende der internen Ausnahmestapelüberwachung ---    bei Autodesk.ProcessPower.ReportCreatorUtils.Database.MultiClassDataView.GetDataTable()    bei Autodesk.ProcessPower.ReportCreator.Manager.GetQueryData(QueryDefinition queryDef, Collection`1 dwgs)    --- Ende der internen Ausnahmestapelüberwachung ---    bei Autodesk.ProcessPower.ReportCreator.Manager.GetQueryData(QueryDefinition queryDef, Collection`1 dwgs)    bei Autodesk.ProcessPower.ReportCreator.QueryDefinitionForm.OnExecuteQueryBtn_Click(Object sender, EventArgs e)    bei System.Windows.Forms.Control.OnClick(EventArgs e)    bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)    bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)    bei System.Windows.Forms.Control.WndProc(Message& m)    bei System.Windows.Forms.ButtonBase.WndProc(Message& m)    bei System.Windows.Forms.Button.WndProc(Message& m)    bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Geladene Assemblys ************** mscorlib     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll. ---------------------------------------- PnPReportCreator     Assembly-Version: 6.0.39.0.     Win32-Version: 6.0.39.00.     CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20P%26ID%202012%20-%20Deutsch/PnPReportCreator.exe. ---------------------------------------- System.Windows.Forms     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.F.... ---------------------------------------- System     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll. ---------------------------------------- System.Drawing     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll. ---------------------------------------- PnPReportCreatorUtils     Assembly-Version: 6.0.39.0.     Win32-Version: 6.0.39.00.     CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20P%26ID%202012%20-%20Deutsch/PnPReportCreatorUtils.DLL. ---------------------------------------- System.Xml     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll. ---------------------------------------- System.Configuration     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configura.... ---------------------------------------- xnojzpqg     Assembly-Version: 6.0.39.0.     Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll. ---------------------------------------- 7nu7fv6t     Assembly-Version: 6.0.39.0.     Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll. ---------------------------------------- PnPReportCreator.resources     Assembly-Version: 6.0.39.0.     Win32-Version: 6.0.39.00.     CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20P%26ID%202012%20-%20Deutsch/de-DE/PnPReportCreator.res.... ---------------------------------------- PnPProjectManagerMgd     Assembly-Version: 6.0.39.0.     Win32-Version: 6.0.39.00.     CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20P%26ID%202012%20-%20Deutsch/PnPProjectManagerMgd.DLL. ---------------------------------------- PnPDataObjects     Assembly-Version: 1.0.4206.15217.     Win32-Version: 6.0.39.00.     CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20P%26ID%202012%20-%20Deutsch/PnPDataObjects.DLL. ---------------------------------------- msvcm90     Assembly-Version: 9.0.30729.6161.     Win32-Version: 9.00.30729.6161.     CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83b.... ---------------------------------------- PnPCommonMgd     Assembly-Version: 6.0.39.0.     Win32-Version: 6.0.39.00.     CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20P%26ID%202012%20-%20Deutsch/PnPCommonMgd.DLL. ---------------------------------------- ce231inm     Assembly-Version: 1.0.4206.15217.     Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll. ---------------------------------------- sjog_rcy     Assembly-Version: 1.0.4206.15217.     Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll. ---------------------------------------- PnPSQLiteEngine     Assembly-Version: 1.0.4206.15224.     Win32-Version: 6.0.39.00.     CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20P%26ID%202012%20-%20Deutsch/PnPSQLiteEngine.DLL. ---------------------------------------- System.Data     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll. ---------------------------------------- System.Data.SQLite     Assembly-Version: 1.0.65.0.     Win32-Version: 1.0.65.0.     CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20P%26ID%202012%20-%20Deutsch/System.Data.SQLite.DLL. ---------------------------------------- System.Transactions     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).     CodeBase: file:///C:/Windows/assembly/GAC_64/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.... ---------------------------------------- Microsoft.VisualC     Assembly-Version: 8.0.0.0.     Win32-Version: 8.00.50727.4927.     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.d.... ---------------------------------------- System.EnterpriseServices     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_64/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.Enterp.... ---------------------------------------- mscorlib.resources     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll. ---------------------------------------- Accessibility     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll. ---------------------------------------- System.Windows.Forms.resources     Assembly-Version: 2.0.0.0.     Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/Syst.... ---------------------------------------- PnPReportCreatorUtils.resources     Assembly-Version: 6.0.39.0.     Win32-Version: 6.0.39.00.     CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20P%26ID%202012%20-%20Deutsch/de-DE/PnPReportCreatorUtil.... ---------------------------------------- fbshhpdl     Assembly-Version: 1.0.4206.15217.     Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).     CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll. ----------------------------------------

    ************** JIT-Debuggen ************** Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der Konfigurationsdatei der Anwendung oder des Computers (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden. Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

    Zum Beispiel:

    <configuration>     <system.windows.forms jitDebugging="true" /> </configuration>

    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten Ausnahmen an den JIT-Debugger gesendet, der auf dem Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

     

    Please use plain text.