Communication problems between Visio and external .NET application

M

Markus Breugst

Hello,

we are developing a .NET application that interacts with Visio via Visio's
object model.
Unfortunately, there seem to be communication problems between our
application and Visio. These problems occur only on some computers of our
customers. At our test site it works, so that we cannot reproduce the
failure. The message is "RPC server not available".
So, our application somehow seems to lose the connection to Visio.
It seems that this error mainly occurs with Visio 2003. (Originally, our
application just worked with Visio 2002, and recently we extended it for
Visio 2003 support.)

The operating system of one of our customers who faces this problem is
Windows XP, and the installed Visio versions on different machines are Visio
2003 [11.3216.5606] and [11.3216.5703].
Our application uses the Visio 2003 type library (runtime version v1.1.4322)
generated by Visual Studio (tlbimp).

Did we perhaps miss sinething when extending our application for Visio 2003?
Or are there any known installation issues concerning interacting Windows
programs and services?

Thanks a lot for any hints & best regards,
Markus
 
A

Al Edlund

I'd suggest first checking whether the service is really started. Some
clients disable the service as a protection from virus'.
Al
 
M

Markus Breugst

Hi Al,

thanks for your answer!
The problem is that this error only occurs sometimes. The customer works
with the product for a while, and suddenly this error appears.
Meanwhile I was told that the PIA generated by Visual Studio may cause the
problems. Yesterday we delivered a new version of our product with the PIA
provided by Visio itself, and now we have to wait for new user comments.

Best regards,
Markus

Al Edlund said:
I'd suggest first checking whether the service is really started. Some
clients disable the service as a protection from virus'.
Al
Markus Breugst said:
Hello,

we are developing a .NET application that interacts with Visio via Visio's
object model.
Unfortunately, there seem to be communication problems between our
application and Visio. These problems occur only on some computers of our
customers. At our test site it works, so that we cannot reproduce the
failure. The message is "RPC server not available".
So, our application somehow seems to lose the connection to Visio.
It seems that this error mainly occurs with Visio 2003. (Originally, our
application just worked with Visio 2002, and recently we extended it for
Visio 2003 support.)

The operating system of one of our customers who faces this problem is
Windows XP, and the installed Visio versions on different machines are
Visio
2003 [11.3216.5606] and [11.3216.5703].
Our application uses the Visio 2003 type library (runtime version
v1.1.4322)
generated by Visual Studio (tlbimp).

Did we perhaps miss sinething when extending our application for Visio
2003?
Or are there any known installation issues concerning interacting Windows
programs and services?

Thanks a lot for any hints & best regards,
Markus
 

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