Link to home
Start Free TrialLog in
Avatar of polarstar
polarstar

asked on

Exchange 2010 - Offline Address Book will not download

The issue is Outlook clients are unable to download Offline Address Book. SBS 2011 is getting the following application warning several time a minutes. Hoping someone can point me in the right direction on how to resolve this.

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          10/12/2011 3:29:44 PM
Event ID:      1310
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      XXXXXXXX.XXXXXX.local
Description:
Event code: 3008  Event message: A configuration error has occurred.  Event time: 10/12/2011 3:29:44 PM  Event time (UTC): 10/12/2011 10:29:44 PM  Event ID: 99a2caf50461440e96667066d272e432  Event sequence: 1  Event occurrence: 1  Event detail code: 0    Application information:      Application domain: /LM/W3SVC/1/ROOT-2600-129629321841793347      Trust level: Full      Application Virtual Path: /      Application Path: C:\inetpub\wwwroot\      Machine name: XXXXXXXXX    Process information:      Process ID: 17436      Process name: w3wp.exe      Account name: NT AUTHORITY\NETWORK SERVICE    Exception information:      Exception type: ConfigurationErrorsException      Exception message: Could not load file or assembly 'Microsoft.Exchange.Clients.Owa' or one of its dependencies. The system cannot find the file specified.
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   at System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement)
   at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement)
   at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)
   at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Could not load file or assembly 'Microsoft.Exchange.Clients.Owa' or one of its dependencies. The system cannot find the file specified.
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
   at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
   at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)

    Request information:      Request URL: https://XXXX.XXXXXXX.com:443/OAB/88372d40-ed73-4026-92e0-fd04c08f2342/oab.xml      Request path: /OAB/88372d40-ed73-4026-92e0-fd04c08f2342/oab.xml      User host address: 10.0.0.134      User:       Is authenticated: False      Authentication Type:       Thread account name: NT AUTHORITY\NETWORK SERVICE    Thread information:      Thread ID: 112      Thread account name: NT AUTHORITY\NETWORK SERVICE      Is impersonating: False      Stack trace:    at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
   at System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement)
   at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement)
   at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)
   at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
    Custom event details:  
Avatar of SuperTaco
SuperTaco

First I recommend you to run EXBPA to have a health scan and then check the report.
 
Then please try to ensure if ActiveSync, OWA works properly(network connecting, data sync, etc).
 
If there’s no error, then please try to follow the steps below to registry Asp.net 64-bit.
 
1.     Go to %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\ directory and run
“aspnet_regiis.exe -i -enable" to install and register ASP.NET 2.0 to IIS
 
2.     Open command prompt and run IISReset once.

You can test the Exchange connectivity with the following website

https://www.testexchangeconnectivity.com/

You can also try running the following command to uninstall and re-install ASP.net

Re-register\reinstall .net by issuing the following command from withing the .net framework folder

aspnet_regiis.exe -i -enable
Sorry, unregister and re-register, not uninstall and re-sintall
Avatar of polarstar

ASKER

EXBPA doesn't find any errors.

I have a follow up question. If the event ID references ASP.NET 4.0.30319.0 why would I unregister and re-register ASP.NET 2.0 to IIS?

This is Exchange 2010 on SBS 2011 and I have noticed on this install and other installations of SBS 2011 that the OAB directory in IIS is using ASP.NET 4.0 and not ASP.NET 2.0.  This is reason I'm asking the question above.

Thanks
 
Also I need to include that ActiveSync and OWA are both working. People using Offline Address Books are unable to download the Offline Address Books and in one person case  his Outlook constantly tries to "send and receive" but gets hung on processing Offline Address Book.
ASKER CERTIFIED SOLUTION
Avatar of polarstar
polarstar

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
The fixed descrived in my comment resolved the issue