[Quickfix-developers] Deployment problem - quickfix_net, or of its dependencies, was not found
Brought to you by:
orenmnero
From: <hak...@gm...> - 2005-11-19 17:12:15
|
Hello, I'm developing a .NET application using QuickFix. Everything works just fine on my developing machine (Windows XP Pro) with the QuickFix 1.10.2 source installed. But I run into problems when I try to deploy it to the server (Windows Server 2003) with the QuickFix 1.10.2 bin installed. The application immediately crashes showing a message box: "Application has generated an exception that could not be handled. Process id=3D0x130(304), Thread id=3D0x55c(1372)." The following console message is then showed: "Unhandled Exception: System.IO.FileNotFoundException: File or assembly nam= e quickfix_net, or one of its dependencies, was not found. File name: "quickfix_net" at SecurityCollector.SecurityColl ector._run() at SecurityCollector.SecurityCollector.Main(String[] args) in c:\documents and settings\taw2\my documents\visual studio projects\securitycollector\securitycollector.cs:line 35 =3D=3D=3D Pre-bind state information =3D=3D=3D LOG: DisplayName =3D quickfix_net, Version=3D1.0.2090.18765, Culture=3Dneutral, PublicKeyToken=3Dnull (Fully-specified) LOG: Appbase =3D D:\data\tmp\SecurityCollector\ LOG: Initial PrivatePath =3D NULL Calling assembly : SecurityCollector, Version=3D1.0.2148.24242, Culture=3Dneutral, PublicKeyToken=3Dnull. =3D=3D=3D LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Post-policy reference: quickfix_net, Version=3D1.0.2090.18765, Culture=3Dneutral, PublicKeyToken=3Dnull LOG: Attempting download of new URL file:///D:/data/tmp/SecurityCollector/quickfix_net.DLL." [SecurityCollector is the name of the application. SecurityCollector._run() is the first place in the code where I use QuickFix-classes.] The file quickfix_net.dll is placed in the same directory as the applicatio= n (D:/data/tmp/SecurityCollector/<file:///D:/data/tmp/SecurityCollector/quick= fix_net.DLL>) and the version fits. I even tried to copy mscorelib.dll and Microsoft.VisualC.dll to the same directory but it still doesn't work. (A strange thing is that the Microsoft .NET Framework 1.1 Configuration utility fails to View the Assembly Dependencies for quickfix_net.dll on the server. "Unfortunately, the .NET Framework Configuration tool cannot show this list of assembly dependencies for this application due to an error during the generation of the list." On the developing machine this works however and shows the dependencies: mscorlib and Microsoft.VisualC.) I've wasted two days now, trying to make this work. So I would be very grateful for all help. Thank you in advance! /H=E5kan |