test-outlookwebservices crashes
I have an exchange 2007 sp1 server with rollup 5 installed that has the hub, casand mailbox role all on one machine. When I run test-outlookwebservices to verify my setup is working, test-outlookwebservices crashes part of the way through after displaying the following:
[PS] C:\Windows\System32>test-outlookwebservices | fl
Id : 1003Type : InformationMessage : About to test AutoDiscover with the e-mail address ex2007test@mydomain.com
Id : 1007Type : InformationMessage : Testing server myserver.mydomain.local with the published name https:/ /myserver.mydomain.local/EWS/Exchange.asmx & https://myserver.mydomain.com/ /EWS/Exchange.asmx.
Id : 1019Type : InformationMessage : Found a valid AutoDiscover service connection point. The AutoDiscover URL on this object is https://myserver.mydomain.local/Autodiscover/Au todiscover.xml.
Id : 1006Type : InformationMessage : The Autodiscover service was contacted at https://myserver.mydomain.lo cal/Autodiscover/Autodiscover.xml.
WARNING: An unexpected error has occurred and debug information is beinggenerated: Object reference not set to an instance of an object.Test-OutlookWebServices : Object reference not set to an instance of an object.At line:1 char:24+ test-outlookwebservices <<<< | flThe application eventlog normally shows the following event:Event ID 4999Level: Error
Watson report about to be sent to dw20.exe for process id: 7868, with parameters: E12, c-RTL-AMD64, 08.01.0240.006, powershell, M.E.Management, M.E.M.S.AvailabilityTest.Validate, System.NullReferenceException, 4ab8, 08.01.0336.000. ErrorReportingEnabled: False
Is there anyway to figure out what is causing test-outlookwebservices to crash?When I test the autodiscovery service from a machine with Outlook 2007 on it, it reports back that everything has passed.Steve
January 8th, 2009 1:30am
Hi Steve,This looks know issue with .Net and Exchange 2007 and it was reported here.https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=363175&wa=wsignin1.0You need to apply updates of .Net according to version you have installed on Exchange server.Similar thread you like to go through...http://social.technet.microsoft.com/forums/en-US/exchangesvrclients/thread/7dfdbc80-8a65-447a-be38-3f4ec5379927/#page:2An update for the .NET Framework 3.5 Service Pack 1 is availablehttp://support.microsoft.com/default.aspx/kb/959209Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
January 8th, 2009 11:32am
For your reference:Outlook 2007 crashes after you install a package that contains the .NET Framework 3.5 with SP1 and the .NET Framework 2.0 with SP2 on an Exchange 2007 Client Access server
http://support.microsoft.com/kb/958934 Regards,Xiu
January 8th, 2009 11:39am
Thank you. This solved the problem that we were having!Steve
Free Windows Admin Tool Kit Click here and download it now
January 9th, 2009 7:22pm
This problem exhibits itself on Exchange 2010 as well - even after the application of the above fixes.Does anyone have other ideas?
March 7th, 2010 6:22pm
Additional information : Windows Server 2008 R2 EnterpriseExchange 2010 (build 639.21).NET Framework 3.5.1PowerShell output:[PS] C:\>Test-OutlookWebServices jim.kirk@contoso.comWARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.Object reference not set to an instance of an object. + CategoryInfo : NotSpecified: (:) [Test-OutlookWebServices], NullReferenceException + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Management.SystemConfigurationTasks.Tes tOutlookWebServicesTaskThe Application log reports two errors:1)Log Name: ApplicationSource: MSExchange CommonDate: 3/8/2010 9:05:56 AMEvent ID: 4999Task Category: GeneralLevel: ErrorKeywords: ClassicUser: N/AComputer: NODEA.fabrikam.localDescription:Watson report about to be sent for process id: 4648, with parameters: E12IIS, c-RTL-AMD64, 14.00.0639.021, RemotePowershell, M.Exchange.Management, M.E.M.S.TestOutlookWebServicesTask.InternalProcessRecord, System.NullReferenceException, 44cd, 14.00.0639.021.ErrorReportingEnabled: FalseEvent Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="MSExchange Common" /> <EventID Qualifiers="16388">4999</EventID> <Level>2</Level> <Task>1</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2010-03-08T15:05:56.000000000Z" /> <EventRecordID>2894</EventRecordID> <Channel>Application</Channel> <Computer>NODEA.fabrikam.local</Computer> <Security /> </System> <EventData> <Data>4648</Data> <Data>E12IIS</Data> <Data>c-RTL-AMD64</Data> <Data>14.00.0639.021</Data> <Data>RemotePowershell</Data> <Data>M.Exchange.Management</Data> <Data>M.E.M.S.TestOutlookWebServicesTask.InternalProcessRecord</Data> <Data>System.NullReferenceException</Data> <Data>44cd</Data> <Data>14.00.0639.021</Data> <Data>False</Data> <Data> </Data> </EventData></Event>Log Name: ApplicationSource: MSExchange Configuration Cmdlet - Remote ManagementDate: 3/8/2010 9:05:57 AMEvent ID: 8Task Category: GeneralLevel: ErrorKeywords: ClassicUser: N/AComputer: NODEA.fabrikam.localDescription:(PID 4648, Thread 11) Task Test-OutlookWebServices throwing unhandled exception when processing record of index 0. Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Exchange.Management.SystemConfigurationTasks.TestOutlookWebServicesTask.InternalProcessRecord() at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="MSExchange Configuration Cmdlet - Remote Management" /> <EventID Qualifiers="49152">8</EventID> <Level>2</Level> <Task>1</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2010-03-08T15:05:57.000000000Z" /> <EventRecordID>2895</EventRecordID> <Channel>Application</Channel> <Computer>NODEA.fabrikam.local</Computer> <Security /> </System> <EventData> <Data>4648</Data> <Data>11</Data> <Data>Test-OutlookWebServices</Data> <Data>0</Data> <Data>System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Exchange.Management.SystemConfigurationTasks.TestOutlookWebServicesTask.InternalProcessRecord() at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()</Data> <Data>{8152234e-bb53-46b8-93d7-3ec61fb409e3}</Data> </EventData></Event>-------------------All of the fixes mentioned above have been applied to this machine. The crash is still consistently reproducable.
Free Windows Admin Tool Kit Click here and download it now
March 8th, 2010 6:47pm