Additional Error Remoting::Configure

  • Thread starter Thread starter Mas L via DotNetMonster.com
  • Start date Start date
M

Mas L via DotNetMonster.com

This is what I get by the way : the error on my Remoting.

Code:
RemotingConfiguration::Configure ("RTC_cpp.exe.config");

Error:
An unhandled exception of type 'System.Runtime.Remoting.RemotingException'
occurred in mscorlib.dll

Additional information: Cannot run a non-default constructor when connecting
to well-known objects.

Hep:
What do I do with it?

Thx:
Kind Regards

NETFAN
 
I have found it.

It seems that my class cannot have copy-constructor and only a default-
constructor since it is used by
Remoting at server-side.

So thats one problem gone.

The less cool part is , that now he gives an error on this line

RealTimeDataManager manager = gcnew RealTimeDataManager();

Saying you need a copy-constructor!!!! How the hell is this possible and how
can I fix this?

Server-side object remoting can have only default construtor and when you
make an instance it says, you need a copy constructor...

Kind Regards

MasL
 
I found it myself again gosh I am good ;)


Mas said:
I have found it.

It seems that my class cannot have copy-constructor and only a default-
constructor since it is used by
Remoting at server-side.

So thats one problem gone.

The less cool part is , that now he gives an error on this line

RealTimeDataManager manager = gcnew RealTimeDataManager();

Saying you need a copy-constructor!!!! How the hell is this possible and how
can I fix this?

Server-side object remoting can have only default construtor and when you
make an instance it says, you need a copy constructor...

Kind Regards

MasL
This is what I get by the way : the error on my Remoting.
[quoted text clipped - 15 lines]
 
Back
Top