Server Error in '/InfiniteJobs' Application.

Failed to load the runtime. (Exception from HRESULT: 0x80131700)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Failed to load the runtime. (Exception from HRESULT: 0x80131700)

Source Error:


Line 88:         Ifjh_SearchResults objIfjHandler = new Ifjh_SearchResults();
Line 89:         objIfjHandler.SalGetParam(this);
Line 90:         objIfjHandler.SalProcessParam(_hshParam);
Line 91:         objIfjElement.SalSetParam(_hshParam);
Line 92: 

Source File: f:\InfiniteJobs\LayoutScripts\Ifjl_SearchResults.aspx.cs    Line: 90

Stack Trace:


[COMException (0x80131700): Failed to load the runtime. (Exception from HRESULT: 0x80131700)]
   System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) +0
   System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri) +353
   System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType) +189
   System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj) +14763704
   SalaryCom.IfjElements.IfjHandlerScripts.Ifjh_SearchResults.SalProcessParam(Hashtable hshParam) in C:\projects\SalaryConsumer\InfiniteJobsProject\InfiniteJobs-Dev\IfjElements\IfjHandlerScripts\Ifjh_SearchResults.cs:123
   Ifjl_SearchResults.Page_Load(Object sender, EventArgs e) in f:\InfiniteJobs\LayoutScripts\Ifjl_SearchResults.aspx.cs:90
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4057.0