Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

hang at execute applicationservices.documentmanager.open(target file path)

1 REPLY 1
SOLVED
Reply
Message 1 of 2
keep_smile
176 Views, 1 Reply

hang at execute applicationservices.documentmanager.open(target file path)

Hello Autocad Support Team,

 

 

AutoCAD hangs at time of executing this line(Autodesk.autocad.applicationserveice.DocumentManger.open(target file path) .

I added picture on attached screenshot. To unfreeze AutoCAD I must go to Task Manager.

 

got error on below Line Cant open my target file :

 

 Application.DocumentManager.Open(target file);

 

 

Note :  All works fine if code is executed under Visual Studio Debugger.

 

Do you have ideas where is trouble can be?

 

Thank you for any ideas.

 

described exact Screen at the time of hang autocad

 

1 REPLY 1
Message 2 of 2

Hi,

 

verify that you have set the correct references (for your specific AutoCAD release) and also make sure you have set the flag "copy local" to false (so none of the *mgd*.dll" from AutoCAD do not exist in your output-patch.

 

If that does not help please find the forum for ".NET with AutoCAD" >>>there<<< (at leat for your future questions) 😉

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost