MSExchange Front End HTTP Proxy Problem, EventID 1003

Hi. I have problem with Front End HTTP Proxy.

[Autodiscover] An internal server error occurred. The unhandled exception was: System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.HttpProxy.HttpProxySettings' threw an exception. ---> System.TypeLoadException: Could not load type 'CafeSettingsIni' from assembly 'Microsoft.Exchange.VariantConfiguration, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at Microsoft.Exchange.HttpProxy.HttpProxySettings..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.HttpProxy.ProxyApplication.<Application_Start>b__2()
   at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)

[RpcHttp] An internal server error occurred. The unhandled exception was: System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.HttpProxy.HttpProxySettings' threw an exception. ---> System.TypeLoadException: Could not load type 'CafeSettingsIni' from assembly 'Microsoft.Exchange.VariantConfiguration, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at Microsoft.Exchange.HttpProxy.HttpProxySettings..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.HttpProxy.ProxyApplication.<Application_Start>b__2()
   at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)

ASP.NET 4.0.30319.0 Error:
The type initializer for 'Microsoft.Exchange.HttpProxy.HttpProxySettings' threw an exception.
   at Microsoft.Exchange.HttpProxy.ProxyApplication.<Application_Start>b__2()
   at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
   at Microsoft.Exchange.HttpProxy.Diagnostics.SendWatsonReportOnUnhandledException(MethodDelegate methodDelegate)
   at Microsoft.Exchange.HttpProxy.ProxyApplication.Application_Start(Object sender, EventArgs e)

Could not load type 'CafeSettingsIni' from assembly 'Microsoft.Exchange.VariantConfiguration, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at Microsoft.Exchange.HttpProxy.HttpProxySettings..cctor()

Owa,ECP,RPC etc not working after update Exhange 2013 to CU8

May 31st, 2015 10:13am

Hi,

As it says about an ASP.NET issue, do you have an option to re-install .net?

Free Windows Admin Tool Kit Click here and download it now
May 31st, 2015 2:09pm

Yes. I try reinstall .net 4.5.2 and register with aspnet_regiis. No success

Could not load type 'CafeSettingsIni' from assembly 'Microsoft.Exchange.VariantConfiguration, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. 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.TypeLoadException: Could not load type 'CafeSettingsIni' from assembly 'Microsoft.Exchange.VariantConfiguration, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [TypeLoadException: Could not load type 'CafeSettingsIni' from assembly 'Microsoft.Exchange.VariantConfiguration, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.] Microsoft.Exchange.HttpProxy.HttpProxySettings..cctor() +0 [TypeInitializationException: The type initializer for 'Microsoft.Exchange.HttpProxy.HttpProxySettings' threw an exception.] Microsoft.Exchange.HttpProxy.ProxyApplication.<application_start>b__2() +59 Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate) +40 Microsoft.Exchange.HttpProxy.Diagnostics.SendWatsonReportOnUnhandledException(MethodDelegate methodDelegate) +425 Microsoft.Exchange.HttpProxy.ProxyApplication.Application_Start(Object sender, EventArgs e) +262 [HttpException (0x80004005): The type initializer for 'Microsoft.Exchange.HttpProxy.HttpProxySettings' threw an exception.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +588 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +181 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +322 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +452 [HttpException (0x80004005): The type initializer for 'Microsoft.Exchange.HttpProxy.HttpProxySettings' threw an exception.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +678 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +794 </application_start>
May 31st, 2015 4:32pm

Hi,

Make sure that you registered the ASP.NET in correct folder location and using the command: aspnet_regiis.exe /iru. Also, make sure to restart the server

Free Windows Admin Tool Kit Click here and download it now
May 31st, 2015 11:12pm

I'm try

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe /iru and reboot

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe /iru and reboot

No success. Always error "Could not load type 'CafeSettingsIni' from assembly 'Microsoft.Exchange.VariantConfiguration". I'm try .NET 4.5.2 and 4.5

June 1st, 2015 3:17am

Hi,

I suggest to use the Setup /m:RecoverServer switch to rebuild the Exchange server. Most of the settings for a computer running Exchange 2013 are stored in Active Directory. The /m:RecoverServer switch rebuilds an Exchange server with the same name by using the settings and other information stored in Active Directory.

Refer from:

https://technet.microsoft.com/en-us/library/dd876880(v=exchg.150).aspx

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
June 1st, 2015 5:40am

This is the last option that I wanted to use. But it seems necessary.
June 1st, 2015 7:08am

Hi,

Actually, I won't provide this suggestion unless this is necessary. I saw many other same errors and issues, solutions are all recovering exchange server.

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
June 10th, 2015 5:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics