none
Is our server hacked or what? RRS feed

  • Question

  • On our production server, win 2008 32 bit, running a mvc 3 .NET 4 site, I suddenly get a System.ComponentModel.Win32Exception  with this message:  "server cannot open this program because the license enforcement system has been tampered with or become corrupted"

    This doesn't happen on every request   and only when there is a peak in number of visitors.

    All software is licensed and I haven't installed anything new on the server for some time (weeks).
    The exception is thrown when a simple object with user state is serialized to XML. Se extract from stacktrace below.

    Of course I will go through the code and optimize thing like XML serialization but I really would like to know what's happening here

    Does anyone have an idea ?
    Best regards and TIA /Ztaff



    Message: Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Windows\TEMP\e5kyr12n.cmdline".
    Type: System.Runtime.InteropServices.ExternalException
    Stacktrace:    at System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
       at System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle userToken, String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, String trueCmdLine)
       at Microsoft.CSharp.CSharpCodeGenerator.Compile(CompilerParameters options, String compilerDirectory, String compilerExe, String arguments, String& outputFile, Int32& nativeReturnValue, String trueArgs)
       at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)
       at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)
       at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)
       at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)
       at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)
       at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
       at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace, String location, Evidence evidence)
       at System.Xml.Serialization.XmlSerializer..ctor(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, String defaultNamespace, String location, Evidence evidence)
       at LaraNara.Server.Extensions.MethodExstensions.ToXML[T](T obj, Type[] extraTypes) in E:\VS2008\Projects\WORKING\core\LaraNara.Server.Exstensions\MethodExstensions.cs:line 334
       at LaraNara.Core.User.set_OnlineUserConfigXMLSetter(OnlineUserConfig value) in E:\VS2008\Projects\WORKING\core\app\LaraNara.Core\domain\User.cs:line 360



    • Edited by ztaff Thursday, March 22, 2012 9:22 AM
    Thursday, March 22, 2012 9:22 AM