Author Topic: Microsoft .net framework error probably.  (Read 2119 times)

skywolf

  • Member
  • Posts: 5
    • View Profile
Microsoft .net framework error probably.
« on: 28 February, 2012, 07:08:33 AM »
So i got a problem with starting the game everytime i open the launcher and then launch the game it gives me following error:
helpz?  :joebiden:

------------------------------------------------------------------------------------------------------------------------------------------------------
ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at CoFLaunchApp.Form1.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.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
CoFLaunchApp
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Half-Life/CryOfFear/CoFLaunchApp.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    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.1 built by: RTMRel
    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.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.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.
------------------------------------------------------------------------------------------------------------------------------------------------------

 

Naggafin

  • Member
  • Posts: 170
  • You want support? OK.
    • View Profile
    • Learn Marxism
Re: Microsoft .net framework error probably.
« Reply #1 on: 28 February, 2012, 07:15:11 AM »
A JIT error means a "Just-In-Time" compilation error, which only happens on active script interpreters. That can mean a few things, 1. the script/code is not written syntactically correct, 2. the file it was attempted to compile is corrupt, 3. you may not have the required pre-requisits (I believe the launcher required .NET if I'm not mistaken. You can download it here: http://www.microsoft.com/download/en/confirmation.aspx?id=17851 ), 4. it may not have the required permissions to read the file it is attempting to compile (which should result in a different error but who knows how the launcher works?), and in this case, follow the steps below to solve:

1. Open cmd (in Vista/7, run as administrator)
2. Type: cacls "<game directory goes here>" /p everyone:f      (NB: the "everyone" wildcard only works for english locale. If you have Windows installed in a different language, use the word for "everyone" in your language)
3. Attempt to run the launcher again

skywolf

  • Member
  • Posts: 5
    • View Profile
Re: Microsoft .net framework error probably.
« Reply #2 on: 28 February, 2012, 07:18:11 AM »
Well i got net framework 4 allready. and i tried to do the CMD thingy,did not work...
If can,can you teamview me?

Naggafin

  • Member
  • Posts: 170
  • You want support? OK.
    • View Profile
    • Learn Marxism
Re: Microsoft .net framework error probably.
« Reply #3 on: 28 February, 2012, 07:25:16 AM »
Well i got net framework 4 allready. and i tried to do the CMD thingy,did not work...
If can,can you teamview me?

Eh... Well I'm not personal support you know :) . Believe it or not I'm actually on shift at my job at the moment. But I will try to help you through the forum. So to clarify, did the command go through or did it give you an error / help instructions?

skywolf

  • Member
  • Posts: 5
    • View Profile
Re: Microsoft .net framework error probably.
« Reply #4 on: 28 February, 2012, 07:28:13 AM »
well i did some stuff,im gonna do a quick restart,see you soon,gonna report...

D3ads

  • Donator
  • Member
  • *
  • Posts: 1665
  • Loyal Servant Of The Psycho Queen Of Bulgary
    • View Profile
    • Moddb
Re: Microsoft .net framework error probably.
« Reply #5 on: 28 February, 2012, 07:32:40 AM »
Are you using the Steam version of Half-Life? Everyone who's had this problem is either trying to run the mod via Half-Life Source (will not work with this at all) or a non-Steam Half-Life version. You must have the Steam version in order to play.

skywolf

  • Member
  • Posts: 5
    • View Profile
Re: Microsoft .net framework error probably.
« Reply #6 on: 28 February, 2012, 07:36:46 AM »
I dont have steam,im using non-steam version,im too poor to pay for games.
So it means there is NO other ways to play this game without STEAM ?

Naggafin

  • Member
  • Posts: 170
  • You want support? OK.
    • View Profile
    • Learn Marxism
Re: Microsoft .net framework error probably.
« Reply #7 on: 28 February, 2012, 07:39:50 AM »
I dont have steam,im using non-steam version,im too poor to pay for games.
So it means there is NO other ways to play this game without STEAM ?

Correct. Steam is essential for the mod to work.

skywolf

  • Member
  • Posts: 5
    • View Profile
Re: Microsoft .net framework error probably.
« Reply #8 on: 28 February, 2012, 07:41:35 AM »
dammit yuno make good mods work for non-steam?
well i guess i gotta do some work here...
EDIT- Game is working good now :)
Thanks for a great mod :)
« Last Edit: 28 February, 2012, 07:48:55 AM by skywolf »