Hi,
I've had this error occur a few times today.
API Error Message: The object is no longer valid.
Does anyone know what I'm doing wrong to cause this error?
The LastError.txt file contains the following,
Int64 MdlModelRefP(): The object is no longer valid.0: at Bentley.Interop.MicroStationDGN.ModelReference.MdlModelRefP()1: at MicEctEcad.NETMicEctEcad.clsTagCache.Clear()2: at MicEctEcad.NETMicEctEcad.Header.WorkingSetHelper.SetWorkingModelReference(ModelReference model)3: at ECT.ECAD.API.DrawingTool.UpdateTitleBlockVariables(Page pg, Boolean needDefaultModel)4: at ECT.ECAD.API.Page.RefreshAll(Boolean isForOpen)5: at ECT.ECAD.API.Utility.RefreshActivePageNoCheck(Boolean bForOpen)6: at ECT.ECAD.API.Page.Open(Boolean readOnly)7: at ECT.ECAD.API.CommandProcessor.ExecutePageCommand(Command val)8: at ECT.ECAD.API.CommandProcessor.Execute(Command val)9: at ECT.ECAD.API.CommandProcessor.Execute(Commands val)
Kind regards,
DM
Hi Doug,We would like to know if you are getting the above Error Message after using any specific command in a Project ?Regards,Satish Saptasagar
I can recreate the error by pressing File to enter the Project Manager, then when I select a different page to open the error pops up.
It doesn't happen every time.
I've also noticed the following icon in the project manager, to the left of the page that's open.
Does that indicate the page is not online?
Promis•e CONNECT Edition Update 10
Hi Doug,Can you try using Update Page by selecting all the Pages in the Project and then check if you get similar issue after you try to open the Page.Regards,Satish Saptasagar
Satish,
I updated all the pages on 6-1-20, but it didn't make a difference then.
However, today when I try to recreate the issue it doesn't occur. So I have no problem for now.
Regards,