I have a RemotingPortal configured and it works as it should. I have the following reference in the web,config:
<add assembly="Csla, Version=2.0.0.0, Culture=neutral, PublicKeyToken=93be5fdc093e4c30" />
I believe we are still on the older version because there are so many different solutions in place that utilize CSLA and we have not had an opportunity to evaluate the impact of changing versions across the board.
As noted above the RemotingPortal works but we have recently had an issue occur that requires us to move out assemblies out of the web application's bin folder and into the GAC. When CSLA is moved to the GAC the RemotingPortal no longer works. As soon as I move CSLA back to the bin it works again. Below is the error that occurs when CSLA is moved to the GAC. Is there a setting I am missing somewhere that will tell the RemotingPortal that CSLA is now in the GAC?
This is the output when I navigate to
https://www.site.com/RemotingPortal.rem?wsdl
System.IO.FileNotFoundException: Could not load file or assembly 'Csla' or one of its dependencies. The system cannot find the file specified.
File name: 'Csla'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.LoadType(String typeName, String assemblyName)
at System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.GetServerTypeForUri(String URI)
at System.Runtime.Remoting.RemotingServices.GetServerTypeForUri(String URI)
at System.Runtime.Remoting.Channels.Http.HttpRemotingHandler.CanServiceRequest(HttpContext context)
at System.Runtime.Remoting.Channels.Http.HttpRemotingHandler.InternalProcessRequest(HttpContext context)
Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll
Running under executable c:\windows\system32\inetsrv\w3wp.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = DOMAIN\user
LOG: DisplayName = Csla
(Partial)
LOG: Appbase = file:///C:/inetpub/wwwroot/wss/VirtualDirectories/www.site.com443/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\wss\VirtualDirectories\www.site.com443\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\wss\VirtualDirectories\www.site.com443\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/f8305cdb/d34d5b87/Csla.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/f8305cdb/d34d5b87/Csla/Csla.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/www.site.com443/bin/Csla.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/www.site.com443/bin/Csla/Csla.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/www.site.com443/_app_bin/Csla.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/www.site.com443/_app_bin/Csla/Csla.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/f8305cdb/d34d5b87/Csla.EXE.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/f8305cdb/d34d5b87/Csla/Csla.EXE.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/www.site.com443/bin/Csla.EXE.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/www.site.com443/bin/Csla/Csla.EXE.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/www.site.com443/_app_bin/Csla.EXE.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/www.site.com443/_app_bin/Csla/Csla.EXE.