ASP.net application using RemotingConfiguration.Configure

  • Thread starter Thread starter big A
  • Start date Start date
B

big A

I am writing an ASP.net application using the web.config file and
RemotingConfiguration.Configure to define the remoting configuration.
This technique works fine for the initial page load; however if the
page is refreshed or accessed again, I receive the following error:

Remoting configuration failed with the exception
System.Runtime.Remoting.RemotingException: Attempt to redirect
activation of type '<interface name>, <assembly>' which is already
redirected.

Is there a way to unregister WellKnownTypes or something similiar to
"RemotingConfiguration.Un-Configure" Thanks in advance for any help.

thanks,
-a.n.
 
Registger the type in the Application_Start method of your globabl.asax.
That should do it.

Jerry
 
Back
Top