When you deploy, are you doing so with the debug or release build?
Also, have you compiled in support for MySQL?
--oren
Håkan Höglund wrote:
> 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=0x130(304), Thread id=0x55c(1372)."
>
> The following console message is then showed:
>
> "Unhandled Exception: System.IO.FileNotFoundException: File or
> assembly name 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
>
> === Pre-bind state information ===
> LOG: DisplayName = quickfix_net, Version=1.0.2090.18765,
> Culture=neutral, PublicKeyToken=null
> (Fully-specified)
> LOG: Appbase = D:\data\tmp\SecurityCollector\
> LOG: Initial PrivatePath = NULL
> Calling assembly : SecurityCollector, Version=1.0.2148.24242,
> Culture=neutral, PublicKeyToken=null.
> ===
>
> 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=1.0.2090.18765,
> Culture=neutral, PublicKeyToken=null
> 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
> application (D:/data/tmp/SecurityCollector/
> <file:///D:/data/tmp/SecurityCollector/quickfix_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åkan
|