RemotingException: Cannot load type

  • Thread starter Thread starter Sharon
  • Start date Start date
S

Sharon

Hi all.
I have a console app which is a remoting server.
When trying to access the server using console app client,
it works fine.
But when i try the same client code from aspx page on iis i get this:
RemotingException: Cannot load type
Any ideas?
Thanks,
Sharon.
 
Hi,

is the assembly version of the well known type in both cases the same?
The remoting will only work if the client and server reference the
same assembly version of the type to be loaded.

Cheers
Lars Behrmann

_________________
Nothing is impossible. UML is the key for all your problems.
AODL - Make your .net apps OpenOffice ready
http://aodl.sourceforge.net/
 
Thanks Lars.
The class path had to be the same.
Now it works.
It used to work, but something must have changed in framework v2.
Sharon.
 
Back
Top