Link to home
Start Free TrialLog in
Avatar of Sigurdur Haraldsson
Sigurdur HaraldssonFlag for Iceland

asked on

Could not load file or assembly 'Microsoft.Exchange.Diagnostics, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

A client of mine installed SP1 on Exchange 2010, installed Forefront and set up a certificate. Apparently, everything was working except ActiveSync so he fooled around in the iis. Now it's broken. Exchange reports version 14.1 but it seems owa is looking for version 14.0.0.0.

Any ideas, Experts?

Server Error in '/owa' Application.
--------------------------------------------------------------------------------

Could not load file or assembly 'Microsoft.Exchange.Diagnostics, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

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.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.Diagnostics, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

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.  

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Exchange.Diagnostics, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.


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].

 

Stack Trace:


[FileNotFoundException: Could not load file or assembly 'Microsoft.Exchange.Diagnostics, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
   Microsoft.Exchange.Clients.Owa.Core.OwaApplicationBase.ExecuteApplicationStart(Object sender, EventArgs e) +0
   Microsoft.Exchange.Clients.Owa.Core.Global.Application_Start(Object sender, EventArgs e) +19

[HttpException (0x80004005): Could not load file or assembly 'Microsoft.Exchange.Diagnostics, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4179313
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +205
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +336
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +350
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +382

[HttpException (0x80004005): Could not load file or assembly 'Microsoft.Exchange.Diagnostics, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11317974
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4348244

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5018; ASP.NET Version:2.0.50727.5053
ASKER CERTIFIED SOLUTION
Avatar of e_aravind
e_aravind
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sigurdur Haraldsson

ASKER

Thanks for the ideas, I'll try them tomorrow morning and report back.

Redirection was configured on the default web site, but I'll double-check.

What is MSAS?

I found the Microsoft.Exchange.Diagnostisc dl which was version 14.1 something, maybe reregistering the dll will do the trick?

Redirection is set.
Changing the web.config did not work.

Any further ideas?
The answer put me on the right track.

I found out that there was a web.config.NUL which I was able to rename and use. I also had to disable SSL on Default Web Site (pretty sure I had already done so).

I suspect that the upgrade to SP1 didn't work properly.

Anyway, I'm grateful and this was the only answer from anybody so thank you very much, e_aravind!