Re: [Quickfix-developers] Deploy problem
Brought to you by:
orenmnero
|
From: <pet...@em...> - 2006-11-22 20:29:56
|
Hi John, thanks for your answer. I'm deploying it by manually copying the necessary files? For the quickfix_settings file I'm referencing through an explicit path. But the problem is still there - somewhere i read, that it could be cau= sed by missing MySql installation on the computer, which quickfix is us= ing, but this is strange. I can't use quickfix app without MySQL instal= led? Thanks for any suggestions. Petr > ------------ P=F9vodn=ED zpr=E1va ------------ > Od: John Haldi <JH...@al...> > P=F8edm=ECt: RE: [Quickfix-developers] Deploy problem > Datum: 21.11.2006 13:57:04 > ---------------------------------------- > > Petr, > > Are you using ClickOnce Publishing from within VS 2005 to deploy the > application? Or are you using a setup project and/or deploying it by= > manually copying the necessary files? > > Also, are you referring to the quickfix.cfg (or whatever you named yo= ur > quickfix_settings file as) through an explicit path or are you relyin= g > on the IDE's reference path to find the file? > > My first suggestion (even if its just as a test) is to place your > quickfix_settings file into an explicit path (something like > "c:\quickfix\settings.cfg") and reference that when you create your > initiator. I only suggest this because I remember when I first tried= to > deploy quickfix I got similar errors and it was because it couldn't f= ind > the quickfix settings file and/or something it was referencing (like = the > xml 4.2 data dictionary). > > I'll be in the office in an hour and in front of my PC then if you wa= nt > me to offer any other suggestions on how I've built my projects. > > John > > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...] On Behalf = Of > Petr Postulka > Sent: Tuesday, November 21, 2006 5:23 AM > To: qui...@li... > Subject: [Quickfix-developers] Deploy problem > > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi all, > > I have a problem with deploying quickfix application. Everything work= s > fine on PC where I'm developing this application and have installed > Visual Studio 2005. But when i try to run it on some other PC I get = the > following error: > > See the end of this message for details on invoking just-in-time (JIT= ) > debugging instead of this dialog box. > > ************** Exception Text ************** > System.IO.FileLoadException: Could not load file or assembly > 'quickfix_net, Version=3D1.0.2508.42308, Culture=3Dneutral, > PublicKeyToken=3Dnull' or one of its dependencies. This application h= as > failed to start because the application configuration is incorrect. > Reinstalling the application may fix this problem. (Exception from > HRESULT: 0x800736B1) File name: 'quickfix_net, Version=3D1.0.2508.423= 08, > Culture=3Dneutral, PublicKeyToken=3Dnull' ---> > System.Runtime.InteropServices.COMException (0x800736B1): This > application has failed to start because the application configuration= is > incorrect. Reinstalling the application may fix this problem. (Except= ion > from HRESULT: 0x800736B1) > at FixTester.SessionConfig..ctor() > at FixTester.Form1.configureSessionsToolStripMenuItem_Click(Object= > sender, EventArgs e) > at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, > EventArgs e) > at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) > at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) > at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs= e) > at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventAr= gs > e, ToolStripItemEventType met) > at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, > ToolStripItemEventType met) > at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) > at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs= > mea) > at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons= > button, Int32 clicks) > at System.Windows.Forms.Control.WndProc(Message& m) > at System.Windows.Forms.ScrollableControl.WndProc(Message& m) > at System.Windows.Forms.ToolStrip.WndProc(Message& m) > at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) > at > System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m= ) > at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Messag= e& > m) > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 m= sg, > IntPtr wparam, IntPtr lparam) > > > > > ************** Loaded Assemblies ************** mscorlib > Assembly Version: 2.0.0.0 > Win32 Version: 2.0.50727.42 (RTM.050727-4200) > CodeBase: > file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll > ---------------------------------------- > FixTester > Assembly Version: 1.0.0.0 > Win32 Version: 1.0.0.0 > CodeBase: > file:///C:/Documents%20and%20Settings/vaclavk/Desktop/FixTester/FixTe= ste > r.exe > ---------------------------------------- > System.Windows.Forms > Assembly Version: 2.0.0.0 > Win32 Version: 2.0.50727.42 (RTM.050727-4200) > CodeBase: > file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b7= 7a5 > c561934e089/System.Windows.Forms.dll > ---------------------------------------- > System > Assembly Version: 2.0.0.0 > Win32 Version: 2.0.50727.42 (RTM.050727-4200) > CodeBase: > file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089= /Sy > stem.dll > ---------------------------------------- > System.Drawing > Assembly Version: 2.0.0.0 > Win32 Version: 2.0.50727.42 (RTM.050727-4200) > CodeBase: > file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f= 11d > 50a3a/System.Drawing.dll > ---------------------------------------- > System.Data > Assembly Version: 2.0.0.0 > Win32 Version: 2.0.50727.42 (RTM.050727-4200) > CodeBase: > file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e= 089 > /System.Data.dll > ---------------------------------------- > System.Xml > Assembly Version: 2.0.0.0 > Win32 Version: 2.0.50727.42 (RTM.050727-4200) > CodeBase: > file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934= e08 > 9/System.Xml.dll > ---------------------------------------- > > ************** JIT Debugging ************** To enable just-in-time (J= IT) > debugging, the .config file for this application or computer > (machine.config) must have the jitDebugging value set in the > system.windows.forms section. > The application must also be compiled with debugging enabled. > > For example: > > <configuration> > <system.windows.forms jitDebugging=3D"true" /> </configuration> > > When JIT debugging is enabled, any unhandled exception will be sent t= o > the JIT debugger registered on the computer rather than be handled by= > this dialog box. > > Can someone help me, how to solve this problem? It's strange, because= > both libraries quickfix_net.dll and quickfix_net_messages.dll I have = in > the same directory as the application. > > > Thanks for your suggestions. > > Petr Postulka > > > ---------------------------------------------------------------------= --- > - > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share yo= ur > opinions on IT & business topics through brief surveys - and earn cas= h > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CI= D=3DDEVDE > V > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > > Petr Postulka |