locked
Error while starting an application RRS feed

  • Question

  • Hello,

    I installed RAC Time Card. But when I try to run it it gives me an error with titling Microsoft .NET Framework.

    Popup Title: Microsoft .NET Framework

    Content: Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

    The system cannot find the file specified.

    Details: See the end of this message for details on invoking 

    just-in-time (JIT) debugging instead of this dialog box.

     

    ************** Exception Text **************

    System.ComponentModel.Win32Exception: The system cannot find the file specified

       at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

       at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

       at RacTimeCardLauncher.Form1.Form1_Load(Object sender, EventArgs e)

       at System.EventHandler.Invoke(Object sender, EventArgs e)

       at System.Windows.Forms.Form.OnLoad(EventArgs e)

       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

       at System.Windows.Forms.Control.CreateControl()

       at System.Windows.Forms.Control.WmShowWindow(Message& m)

       at System.Windows.Forms.Control.WndProc(Message& m)

       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

     

     

    ************** Loaded Assemblies **************

    mscorlib

        Assembly Version: 2.0.0.0

        Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)

        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

    ----------------------------------------

    RacTimeCardLauncher

        Assembly Version: 1.0.0.0

        Win32 Version: 1.0.0.0

        CodeBase: file:///C:/Users/HSN/AppData/Local/Exhedra/RacTimeCard/RacTimeCardLauncher.exe

    ----------------------------------------

    Microsoft.VisualBasic

        Assembly Version: 8.0.0.0

        Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

    ----------------------------------------

    System

        Assembly Version: 2.0.0.0

        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    System.Windows.Forms

        Assembly Version: 2.0.0.0

        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    ----------------------------------------

    System.Drawing

        Assembly Version: 2.0.0.0

        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    System.Runtime.Remoting

        Assembly Version: 2.0.0.0

        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

    ----------------------------------------

     

    ************** JIT Debugging **************

    To enable just-in-time (JIT) 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="true" />

    </configuration>

     

    When JIT debugging is enabled, any unhandled exception

    will be sent to the JIT debugger registered on the computer

    rather than be handled by this dialog box.

     

     

    Here's my system configuration (not sure it is needed or not)

    Processor: Intel Core i3 530

    RAM: Kingston ValueRAM 2GB DDR3

    OS: Windows 7 Ultimate (x64)

    .NET Framework: 2 (builtin in win7) / Microsoft .NET Framework 4 Client Profile / Microsoft .NET Framework 4 Extended / Microsoft .NET Framework 4 Multi-Targeting Pack

    Java: Version 6 Update 23

     

    I also posted this error on vworker.com but I don't know will they response to me or not and I need this application urgently as I have a project to do and this is the only application which will capture my time and upload on vworker then I can get paid.

     

    I don't know if this is right location to post or not. So, please rather than deleting move it to appropriate forum. Accept my apology on this.


    NixGurus
    Saturday, February 12, 2011 4:18 PM

Answers

  • with Hi pal

    Some time you must install Needed Framework ,for example I Design a software with .net 3.5 SP1 and when i want to run it in the another machine I've got  same error,

    then Install .net framework 3.5 SP1 and VC++ distribute package then my program run good :)

    you can download VC++ run-time package here:

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en

     

    thx: RaMa

    • Proposed as answer by Paul Zhou Tuesday, February 15, 2011 6:33 AM
    • Marked as answer by Paul Zhou Monday, February 21, 2011 2:23 AM
    Sunday, February 13, 2011 8:48 AM