Could not load file or assembly. cannot find the file specified.
Posted on 2012-08-15
I am a not a new .NET programmer and should be able to figure this out myself, but I am stumped someone please help!
Here is the first error I am dealing with.
Could not load file or assembly Infragistics2.Win.v9.2, version=..., or one of its dependencies. The system cannot find the file specified.
So I have an application (IPAPSig) that works on my dev machine but gives the above error when it loads on a newly installed XP Pro sp3 (virtual) machine. The listed file is located in the GAC along with all of the rest of the Infragistics toolset.
I have copied all of the Infragistics files into the startup directory. With the files in the startup directory I get a different error as follows:
Could not load file or assembly Infragistics2.Win.v9.2, version=..., or one of its dependencies. The located assembly's manifeest definition does not match the assembly reference (Exception from HRESULT: 0c80131040)
So I take the files from the startup directory and drop them in the GAC and remove them from the startup directory. When I run IPAPSig I am back to "cannot find the file specified".
These files are the same exact files that I compiled with.
OK That is confusing but here is the really confusing part. I have another app called IPAP.
IPAPSig is a duplicate of the IPAP code. Software to capture signatures was added and the new code was called IPAPSig. I have installed IPAP on the same machine and it works perfectly!
I thought perhaps that the signature code and 3rd (SigPlusNET) party dll might be the issue but the error messages are complaining about Infragistics not SigPlusNET.
thx in advance