robertdoo / ospy

Automatically exported from code.google.com/p/ospy
1 stars 0 forks source link

problem to start injection #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, before all i'd like to congratz with you for you amazing application,
but lately i'm getting always the following problem when i try to inject
the agent.

Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché
questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.ComponentModel.Win32Exception: Impossibile trovare il file specificato
   in System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo
startInfo)
   in System.Diagnostics.Process.Start()
   in oSpy.InjectForm.asStartButton_Click(Object sender, EventArgs e)
   in System.Windows.Forms.Control.OnClick(EventArgs e)
   in System.Windows.Forms.Button.OnClick(EventArgs e)
   in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ButtonBase.WndProc(Message& m)
   in System.Windows.Forms.Button.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

************** Assembly caricati **************
mscorlib
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.1433 (REDBITS.050727-1400)
    Base di codice:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
oSpy
    Versione assembly: 1.9.7.0
    Versione Win32: 1.9.7.0
    Base di codice:
file:///C:/Documents%20and%20Settings/LOCU/Desktop/oSpy-1.9.7/oSpy.exe
----------------------------------------
System.Windows.Forms
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.1433 (REDBITS.050727-1400)
    Base di codice:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e
089/System.Windows.Forms.dll
----------------------------------------
System
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.1433 (REDBITS.050727-1400)
    Base di codice:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.1433 (REDBITS.050727-1400)
    Base di codice:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy
stem.Drawing.dll
----------------------------------------
System.Data
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.1433 (REDBITS.050727-1400)
    Base di codice:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.
Data.dll
----------------------------------------
System.Xml
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.1433 (REDBITS.050727-1400)
    Base di codice:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System
.Xml.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.1433 (REDBITS.050727-1400)
    Base di codice:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b
77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.1433 (REDBITS.050727-1400)
    Base di codice:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Accessibility
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.1433 (REDBITS.050727-1400)
    Base di codice:
file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Acc
essibility.dll
----------------------------------------

************** Debug JIT **************
Per attivare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
attivato.

Original issue reported on code.google.com by xzero...@gmail.com on 7 Feb 2009 at 1:04

GoogleCodeExporter commented 9 years ago
You need to run oSpy with administrative privileges. Please re-open the bug if 
that's
what you did. I should probably add a check for this at startup in future 
versions
though. :-)

Original comment by ole...@gmail.com on 5 Apr 2009 at 3:57

GoogleCodeExporter commented 9 years ago
I'm about to release 1.10.0 which has this check implemented. Thanks for the 
bug-
report!

Original comment by ole...@gmail.com on 20 Aug 2009 at 12:17