Discussion:
OPC .net, COM interop problems: Server execution failed (80080005)
(too old to reply)
Veltsu
2004-06-23 12:36:19 UTC
Permalink
Hi,

I'm developing an OPC Client application with C# (VS.NET 2003) on a
computer running WinXP. Im connecting locally to Matrikon OPC
Simulation Server.
Everything works fine in my computer, but when try to run the
application on another computer, which has Win2000 and Matrikon,
problems arise.

After invoking the Activator.CreateInstance(<type>) I get this
exception:
COMException (0x80080005): Server execution failed.

Matrikon launches, but does not do anything else.

Curiously, the application works fine in other XP computers. DCOM
permissions for Matrikon in the Win2k machine have been set to allow
everything. .NET framework version is 1.1, and SP2 has been installed.

Does anyone know, what the problem is?

Thanks in advance,
Veltsu
Mark Ramey
2004-07-22 18:07:51 UTC
Permalink
Hi Veltsu,
I think this could be any number of things. Here is an idea to get
more information on the problem. Download the Local IO product from
IndustrialDotNet.com and enable the verbose tracing in the app.config.
This is all done in C#. You can use the Quick Data client to test
the connection. Send me the output file and I will try to help you
figure it out. (PS: The downloads are free.)
Post by Veltsu
Hi,
I'm developing an OPC Client application with C# (VS.NET 2003) on a
computer running WinXP. Im connecting locally to Matrikon OPC
Simulation Server.
Everything works fine in my computer, but when try to run the
application on another computer, which has Win2000 and Matrikon,
problems arise.
After invoking the Activator.CreateInstance(<type>) I get this
COMException (0x80080005): Server execution failed.
Matrikon launches, but does not do anything else.
Curiously, the application works fine in other XP computers. DCOM
permissions for Matrikon in the Win2k machine have been set to allow
everything. .NET framework version is 1.1, and SP2 has been installed.
Does anyone know, what the problem is?
Thanks in advance,
Veltsu
Loading...