What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Exception is thrown by target of invocation?

WretchedEvil

New Member
Joined
Dec 29, 2010
Messages
23
Reaction score
0
I get this error (see title) upon starting up HB. Tried reinstalling it and .net framework,but to no avail. Any ideas?
 
There is no log I guess. I get the same error. It is when you login to HB. It then crashes and you receive that message. I Have net. 3.5 installed. I also get the same problem. Have tried reinstalling everything but still does the same. Any Ideas?

Honorbuddy has encountered a problem.
We are sorry for the inconvinence.

Exeption has been thrown by the target of an invocation.
Please tell Bossland GmbH about this problem.

Update :

This is comming in debug now :


[9:15:07:603]
[9:15:07:658] System.InvalidOperationException: Compiler executable file csc.exe cannot be found.
at System.CodeDom.Compiler.RedistVersionInfo.GetCompilerPath(IDictionary`2 provOptions, String compilerExecutable)
at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromFileBatch(CompilerParameters options, String[] fileNames)
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile(CompilerParameters options, String[] fileNames)
at br.d()
at Styx.Loaders.DynamicLoader`1..ctor(String path, Boolean compileSource, Object[] constructorArgs)
at Styx.Helpers.ClassCollection`1.CompileAndLoadFrom(String path, CompilerResults& results)
[9:15:07:673] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
File name: 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
at g..ctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

--- End of inner exception stack trace ---
at qN.A(T A_0)
at wS.A(T A_0, Yv A_1)
at wS.A(T A_0)
at wS.A(ISLMVirtualMachineParams A_0, En A_1)
at wS.A(Byte[] A_0, ISLMVirtualMachineParams A_1, uF A_2)
at ys.A(Assembly A_0, Byte[] A_1, ISLMVirtualMachineParams A_2)
at ys.A(Assembly A_0, String A_1, ISLMVirtualMachineParams A_2)
at Microsoft.Licensing.SLMRuntime.InternalSVMExecMethod(Assembly declaringAssembly, String SVMMethodId, ISLMVirtualMachineParams paramsReader)
at Microsoft.Licensing.SLMRuntime.SVMExecMethod(Object obj, String SVMMethodId, Object[] args, Type[] genericTypeParams, Type[] genericMethodParams)
at n.ay(Object A_0, EventArgs A_1)
at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.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)
 
Last edited:
Make sure you have .net 3.5 and not only .net 4 you need both.
Running it as administrator?
 
HAve both of them also running as admin still same problem :( Now I am out of ideas myself. Thanks Liferose
 
Back
Top