[project name].vshost.exe - Application Error

M

Michael

Hello,

I made a Windows Application useing C# in Visual Studio 2005. In this
application the user has the option to select a visio drawing and then open
it in a new Window (using an axDrawingControl). When i test the application I
get an error named: Microsoft Visio, and the error message: Error - Can not
initialize model-engine.
I get this same error when i try to open the same drawing in windows Visio.

I click ok on this error. The visio drawing has loaded just fine, nothing
seems to be wrong. Next I close this Windows Form (without making any changes
to the document) and then I close the main Window of my application.

When the main form closses i get the following error named: [project
name].vshost.exe - Application Error, and the error message: The instruction
at 0x73466b89 referenced memory at 0x73466b89. The memory could not be
"read". When i press OK the application closes.

I can open other Visio Files just fine both in my application and in Windows
Visio, I dont get any error. But one of the files gives errors and I have no
idea where it is comming from or how it can be fixed. I hope there is someone
who can help me with this issue.

Thanks,
Michael

(I translated the error message from my language (Dutch) to english, I hope
you understand the errors)
 
J

JuneTheSecond

I have the same error always in debugging
on the Drawing Control, when to stop by
clicking x-mark or command button on the
application form .
I don't know how to solve this problem.
I've heard ...vshost.exe is used to quicken to
start the debugger.
Published application has no such problem,
and has no .....vshost.exe.
I decided to stop debugging by clicking stop
button on the debugger, not the button on
the application form.
 
A

Al Edlund

Just as a SWAG, the first message appears to give you a clue in that it is
trying to call a modeling engine. The drawing may be linked to one of the
add-ins and it can't find the code.
al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top