i changed RemotingProxy's Portal property by commenting out the following on line 64:
//if (_portal == null)_portal = (Server.
IDataPortalServer)Activator.GetObject( typeof(Server.Hosts.RemotingPortal), ApplicationContext.DataPortalUrl.ToString()); return _portal;the reason i did this is because i push content to a large number of servers using a class extending CommandBase. i found that when i switched out the CslaDataPortalUrl value in appSettings using a custom config section that i wrote. i found that if i didn't reset the portal every time, it would cling onto the last server that i touched
there may be a better method of doing this, but this is what i used.
Copyright (c) Marimer LLC