none
Unhandled exception has occurred in your application

    Question

    1. Hello, i am from Romania.
    2. I run Windows 7 Enterprise. Everytime i try to run Counter Strike Redirects, i get this error :
    3. See the end of this message for details on invoking
      just-in-time (JIT) debugging instead of this dialog box.

      ************** Exception Text **************
      System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Public\Desktop\Dsquad Redirects V4.0\configs\log.txt'.
         at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
         at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
         at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
         at System.IO.StreamWriter.CreateFile(String path, Boolean append)
         at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
         at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
         at System.IO.File.InternalAppendAllText(String path, String contents, Encoding encoding)
         at System.IO.File.AppendAllText(String path, String contents)
         at hlds.hlds.logError(String error)
         at hlds.hlds..ctor(Int32 start_port, Int32 servers, String adapter, String sv_ip, Int32 servers_valve, Start parent)
         at WindowsFormsApplication1.Start.openProcess()
         at WindowsFormsApplication1.Start.button1_Click(Object sender, EventArgs e)
         at System.Windows.Forms.Control.OnClick(EventArgs e)
         at System.Windows.Forms.Button.OnClick(EventArgs e)
         at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
         at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
         at System.Windows.Forms.Control.WndProc(Message& m)
         at System.Windows.Forms.ButtonBase.WndProc(Message& m)
         at System.Windows.Forms.Button.WndProc(Message& m)
         at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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: 4.0.0.0
          Win32 Version: 4.0.30319.261 (RTMGDR.030319-2600)
          CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
      ----------------------------------------
      WindowsFormsApplication1
          Assembly Version: 4.0.0.0
          Win32 Version: 4.0.0.0
          CodeBase: file:///C:/Users/Public/Desktop/Dsquad%20Redirects%20V4.0/app.exe
      ----------------------------------------
      System.Windows.Forms
          Assembly Version: 4.0.0.0
          Win32 Version: 4.0.30319.278 built by: RTMGDR
          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
      ----------------------------------------
      System.Drawing
          Assembly Version: 4.0.0.0
          Win32 Version: 4.0.30319.282 built by: RTMGDR
          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
      ----------------------------------------
      System
          Assembly Version: 4.0.0.0
          Win32 Version: 4.0.30319.261 built by: RTMGDR
          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
      ----------------------------------------
      AlphaBlendTextBox
          Assembly Version: 1.0.1270.35793
          Win32 Version: 1.0.1270.35793
          CodeBase: file:///C:/Users/Public/Desktop/Dsquad%20Redirects%20V4.0/AlphaBlendTextBox.DLL
      ----------------------------------------
      System.Configuration
          Assembly Version: 4.0.0.0
          Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
      ----------------------------------------
      System.Xml
          Assembly Version: 4.0.0.0
          Win32 Version: 4.0.30319.233 built by: RTMGDR
          CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.

    4. Can you help me, please ?

    Thursday, June 28, 2012 5:44 PM

All replies

  • You can check the integrity of your .NET Framework 4.0 with this tool:

    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    Run it with .NET Framework 4.0 selected, then post the last 15 lines of tool output here.

    If your .NET 4.0 is OK, your issue is with "Counter Strike Redirects". The forums at the link below would be the best place to get help with that:

    http://blog.counter-strike.net/#

    Thursday, June 28, 2012 7:37 PM
  • This is from .NET 4.0 Client :

    [06/28/12,23:58:54] Section [Registry - .NET Framework 4 Client (32-bit)] - stop parsing entries
    [06/28/12,23:58:54] Not running action 'Registry - .NET Framework 4 Client (64-bit)' for product '.NET Framework 4 Client' because the OS condition does not match
    [06/28/12,23:58:54] Not running action 'Registry - .NET Framework 4 Client (Wow6432Node)' for product '.NET Framework 4 Client' because the OS condition does not match
    [06/28/12,23:58:54] Processing custom action 'Custom Action - .NET Framework 4.0 test application'
    [06/28/12,23:58:54] ExecutablePath = 'Netfx40TestApplication.exe'
    [06/28/12,23:58:54] FriendlyName = '.NET Framework 4 test application'
    [06/28/12,23:58:54] TimeoutSeconds = '300'
    [06/28/12,23:58:54] WaitOnExit = 'true'
    [06/28/12,23:58:54] Silent = 'true'
    [06/28/12,23:58:54] Launching process 'Netfx40TestApplication.exe' now
    [06/28/12,23:58:54] Process successfully launched. Waiting 300 seconds for it to complete.
    [06/28/12,23:58:54] Process 'Netfx40TestApplication.exe' exited with return code 0
    [06/28/12,23:58:54] Verification succeeded for product .NET Framework 4 Client

    This is from .NET 4.0 FULL :

    [06/28/12,23:57:33] Section [Registry - .NET Framework 4 Full (Common)] - stop parsing entries
    [06/28/12,23:57:33] Section [Registry - .NET Framework 4 Full (32-bit)] - start parsing entries
    [06/28/12,23:57:33] Section [Registry - .NET Framework 4 Full (32-bit)] - stop parsing entries
    [06/28/12,23:57:33] Not running action 'Registry - .NET Framework 4 Full (64-bit)' for product '.NET Framework 4 Full' because the OS condition does not match
    [06/28/12,23:57:33] Not running action 'Registry - .NET Framework 4 Full (Wow6432Node)' for product '.NET Framework 4 Full' because the OS condition does not match
    [06/28/12,23:57:33] Processing custom action 'Custom Action - .NET Framework 4.0 test application'
    [06/28/12,23:57:33] ExecutablePath = 'Netfx40TestApplication.exe'
    [06/28/12,23:57:33] FriendlyName = '.NET Framework 4 test application'
    [06/28/12,23:57:33] TimeoutSeconds = '300'
    [06/28/12,23:57:33] WaitOnExit = 'true'
    [06/28/12,23:57:33] Silent = 'true'
    [06/28/12,23:57:33] Launching process 'Netfx40TestApplication.exe' now
    [06/28/12,23:57:34] Process successfully launched. Waiting 300 seconds for it to complete.
    [06/28/12,23:57:34] Process 'Netfx40TestApplication.exe' exited with return code 0
    [06/28/12,23:57:34] Verification succeeded for product .NET Framework 4 Full

    Thank you.

    L.E : the problem is that this program works for anyone else, but not for me. It was tested on XP SP 2, XP SP 3, WIN7 anw works fine.



    • Edited by CristianCRS Thursday, June 28, 2012 9:06 PM
    Thursday, June 28, 2012 9:00 PM
  • Your verification log shows .NET 4.0 is installed correctly on your system. Your issue is with the program you are trying to use.

    From the log:

    "[06/28/12,23:57:34] Process 'Netfx40TestApplication.exe' exited with return code 0
    [06/28/12,23:57:34] Verification succeeded for product .NET Framework 4 Full"

    You should ask in the forums for the third party program I linked for you in my first reply.

    Friday, June 29, 2012 1:27 PM
  • thank you pvdg42.

    i will ask in that forum.

    many thanks

    best regards

    Friday, June 29, 2012 10:15 PM