System.IO.FileLoadException on a previously working project.
- From: sushant.bhatia@xxxxxxxxx
- Date: 4 May 2006 11:17:35 -0700
Hi All.
I had a project in vs2003 that used remoting and it worked perfectly.
Then I had to upgrade to vs2005 and I used the project converter to do
so. Now, I am unable to even call a simple function through remoting.
At the first call to the remoting object, I get the following
exception:
System.IO.FileLoadException: Could not load file or assembly
'X.ServiceFacade\, X.ServiceFacade' or one of its dependencies. The
given assembly name or codebase was invalid. (Exception from HRESULT:
0x80131047)
The rest of the exception is shown at the end. I've tried everything I
can think of. I've added a refernce to the X.ServiceFacade in a test
project and made the same call and it works. Having remoting is
screwing things up. I've checked that X.ServiceFacade is in the IIS bin
directory and that the dependent assemblies are also there. I've seen
the config files and they are identical. Nothing should have really
changed and yet it screws up royally.
If anyone has any suggestions for me to try, I'd be most thankful
because I've run out of things to try.
Thanks for all your help.
Sincerely,
Sushant
Ps - I've changed the version from 1.1 to 2.0 in the IIS ASP.NET tab.
File name: 'Salt.ServiceFacade\, Salt.ServiceFacade'
at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean
forIntrospection, Boolean raiseResolveEvent)
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.RemotingConfigHandler.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)
.
- Prev by Date: Reference to object in Client application
- Next by Date: Re: Reference to object in Client application
- Previous by thread: Reference to object in Client application
- Next by thread: Re: two way comminucation in Remoting
- Index(es):
Loading