I have an ASP.NET application that runs 5 sub-applications. I want one helper application to run in a different domain. I tried to create a new AppDomain:
AppDomain domain = AppDomain.CreateDomain("MyDomain");
When I try to get FriendlyName with the following code:
System.Diagnostics.Debug.WriteLine(domain.FriendlyName);
I got this error:
Cannot obtain fields or call methods on the instance of type 'System.AppDomain' because it is a proxy to a remote object.
Aditi source
share