System.ArgumentException: Invalid hex character at DecryptAssemblyResource

Posted by Radu094 on Stack Overflow See other posts from Stack Overflow or by Radu094
Published on 2010-05-28T08:24:25Z Indexed on 2010/05/28 8:32 UTC
Read the original article Hit count: 387

Filed under:
|
|

My webapp is trowing these exceptions intermitently ever since we migrated to Mono + Apache:

The error sounds more like a problem reading/processing some assembly, so I was wondering if I should be worried that there might be a problem with the hard-drive?

System.ArgumentException: Invalid hex character
at System.Web.Configuration.MachineKeySectionUtils.ToHexValue (Char c, Boolean high) [0x00000] in <filename unknown>:0 
at System.Web.Configuration.MachineKeySectionUtils.GetBytes (System.String key, Int32 len) [0x00000] in <filename unknown>:0 
at System.Web.Handlers.ScriptResourceHandler.GetBytes (System.String val) [0x00000] in <filename unknown>:0 
at System.Web.Handlers.ScriptResourceHandler.DecryptAssemblyResource (System.String val, System.String& asmName, System.String& resName) [0x00000] in <filename unknown>:0 
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 
at System.Web.HttpApplication+<Pipeline>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0 
at System.Web.HttpApplication.Tick () [0x00000] in <filename unknown>:0 
Method: Void Application_Error(System.Object, System.EventArgs) at File:  at Line Number: 0
Method: Void ProcessError(System.Exception) at File:  at Line Number: 0
Method: Void Tick() at File:  at Line Number: 0
Method: Void Start(System.Object) at File:  at Line Number: 0
Method: Void System.Web.IHttpHandler.ProcessRequest(System.Web.HttpContext) at File:  at Line Number: 0
Method: Void Process(System.Web.HttpWorkerRequest) at File:  at Line Number: 0
Method: Void RealProcessRequest(System.Object) at File:  at Line Number: 0
Method: Void ProcessRequest(System.Web.HttpWorkerRequest) at File:  at Line Number: 0
Method: Void ProcessRequest() at File:  at Line Number: 0
Method: Void ProcessRequest(Mono.WebServer.MonoWorkerRequest) at File:  at Line Number: 0
Method: Void ProcessRequest(Int32, System.String, System.String, System.String, System.String, System.String, Int32, System.String, Int32, System.String, System.String[], System.String[], System.Object) at File:  at Line Number: 0
Method: Void InnerRun(System.Object) at File:  at Line Number: 0
Method: Void Run(System.Object) at File:  at Line Number: 0

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mono