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 **************


        Assembly Version:

        Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)

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



        Assembly Version:

        Win32 Version:

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



        Assembly Version:

        Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/



        Assembly Version:

        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/



        Assembly Version:

        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/



        Assembly Version:

        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/



        Assembly Version:

        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

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



    ************** 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



    For example:



        <system.windows.forms jitDebugging="true" />



    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.

    Saturday, February 12, 2011 4:18 PM


  • 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:



    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