| Author | Topic | 
                            
                                    | smondrupStarting Member
 
 
                                        6 Posts | 
                                            
                                            |  Posted - 2007-07-06 : 04:48:39 
 |  
                                            | When I import a trace i ClearTrace 2.0.26 on Vista 64 bit, I get a BadImageFormatException when atempting to load 'c:\\Program Files (x86)\\Microsoft SQL Server\\90\\Tools\\Binn\\pfclnt90.dll'I can see that ClearTrace run 64 bit (IntPtr.Size = 8). I asume that pfclnt90.dll is 32 bit. 32 bit code cannot be loadet into a 64 bit process, so can you make ClearTrace run 32 bit? Best regards Søren Mondrup Stack trace:       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)       at System.Delegate.DynamicInvokeImpl(Object[] args)       at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)       at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)       at System.Threading.ExecutionContext.runTryCode(Object userData)       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)       at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)       at System.Windows.Forms.Control.InvokeMarshaledCallbacks()       at System.Windows.Forms.Control.WndProc(Message& m)       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)       at ClearTraceGui.Program.Main()
 |  | 
       
                            
                       
                          
                            
                                    | grazChief SQLTeam Crack Dealer
 
 
                                    4149 Posts | 
                                        
                                          |  Posted - 2007-07-06 : 08:13:48 
 |  
                                          | I haven't had any luck with 64-bit at all.  SMO has all kinds of problems reading 64-bit trace files too.  I'm afraid I don't have any answers on anything 64-bit right now.===============================================Creating tomorrow's legacy systems today.One crisis at a time. |  
                                          |  |  | 
                            
                       
                          
                            
                                    | smondrupStarting Member
 
 
                                    6 Posts | 
                                        
                                          |  Posted - 2007-07-10 : 04:05:03 
 |  
                                          | The solution could be very simple - setting 'Platform target' to x86 (instead of AnyCpy) would force the program to run 32 bit. Could you try that? I believe it would cure the problem I see.:) Søren |  
                                          |  |  | 
                            
                       
                          
                            
                                    | grazChief SQLTeam Crack Dealer
 
 
                                    4149 Posts | 
                                        
                                          |  Posted - 2007-07-10 : 07:04:30 
 |  
                                          | Søren,Thanks!  I'll give it a try.  Do you run on 64-bit?  Could you test this if I made a private build?-Bill===============================================Creating tomorrow's legacy systems today.One crisis at a time. |  
                                          |  |  | 
                            
                       
                          
                            
                                    | smondrupStarting Member
 
 
                                    6 Posts | 
                                        
                                          |  Posted - 2007-07-11 : 04:07:23 
 |  
                                          | Yes, I run 64 bit and would very much like to test a private build. How do I obtain it?:) Søren |  
                                          |  |  | 
                            
                       
                          
                            
                                    | smondrupStarting Member
 
 
                                    6 Posts | 
                                        
                                          |  Posted - 2007-07-12 : 10:19:54 
 |  
                                          | I'm going on vacation in one week. It would be nice to test the change before that. /Søren |  
                                          |  |  | 
                            
                       
                          
                            
                                    | grazChief SQLTeam Crack Dealer
 
 
                                    4149 Posts | 
                                        
                                          |  Posted - 2007-07-20 : 12:24:40 
 |  
                                          | There is a build available that should support 64-bit traces.===============================================Creating tomorrow's legacy systems today.One crisis at a time. |  
                                          |  |  | 
                            
                       
                          
                            
                                    | smondrupStarting Member
 
 
                                    6 Posts | 
                                        
                                          |  Posted - 2007-08-13 : 08:06:16 
 |  
                                          | It works now on Vista 64-bit :) I just ran version 2.0.27 and everything looks good. Thanks.It's a super tool - I'll be using it a lot to troubleshoot performance.:) Søren |  
                                          |  |  | 
                            
                       
                          
                            
                                    | grazChief SQLTeam Crack Dealer
 
 
                                    4149 Posts | 
                                        
                                          |  Posted - 2007-08-13 : 08:06:48 
 |  
                                          | Great!  Glad it works.===============================================Creating tomorrow's legacy systems today.One crisis at a time. |  
                                          |  |  | 
                            
                       
                          
                            
                                    | BB AUStarting Member
 
 
                                    1 Post | 
                                        
                                          |  Posted - 2008-10-08 : 22:42:31 
 |  
                                          | is this smondrup from sql turbo?  I'm trying to get a hold of you.  branden |  
                                          |  |  | 
                            
                       
                          
                            
                                    | smondrupStarting Member
 
 
                                    6 Posts | 
                                        
                                          |  Posted - 2008-10-09 : 02:50:42 
 |  
                                          | Nope. Wrong smondrup. I'm Søren Mondrup and from Edlund.:) |  
                                          |  |  | 
                            
                            
                                |  |