SBS2008: Fix My Network Wizard and Connect To Internet Wizard may crash if the FQDN of Windows SBS Internet Receive Connector is blank

S’applique à : Windows Small Business Server 2008 PremiumWindows Small Business Server 2008 Standard

Symptoms


When you run Fix My Network Wizard (FNCW), it may crash and fail to complete successfully. If you examine fncw.log under C:\Program Files\Windows Small Business Server\Logs, you would see something similar:

[7928] 100830.202811.6751: Messaging: Executed management shell command: get-receiveconnector
[7928] 100830.202812.0461: Messaging: End Microsoft.WindowsServerSolutions.Messaging.Management.MessagingRunspace.StaticExecute
[7824] 100830.202812.0608: CoreNet: Exception System.NullReferenceException:

[7824] 100830.202812.2063: Exception:
---------------------------------------
An exception of type 'Type: System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has occurred.
Timestamp: 08/30/2010 20:28:12
Message: Object reference not set to an instance of an object.
Stack:    at Microsoft.WindowsServerSolutions.Messaging.Management.ReceiveConnectorConfigurationData.MapValues(Object[] arrObjectsToMap)
    at Microsoft.WindowsServerSolutions.Messaging.Management.ConfigurationData..ctor(Object[] objectsToMap)
    at Microsoft.WindowsServerSolutions.Messaging.Management.ReceiveConnectorConfigurationData..ctor(ReceiveConnector ReceiveConnector, ConnectorType ConnectorType)
    at Microsoft.WindowsServerSolutions.Messaging.Management.TransportConfiguration.GetSBSInternetReceiveConnector()
    at Microsoft.WindowsServerSolutions.Messaging.Tasks.Utils.CheckMessagingConnectorsSettings.InternetConnectorCheck()
    at Microsoft.WindowsServerSolutions.Messaging.Tasks.Utils.CheckMessagingConnectorsSettings.ConnectorRebinded()
    at Microsoft.WindowsServerSolutions.Networking.NetValidation.ValidateMessaging()
    at Microsoft.WindowsServerSolutions.Networking.Wizards.FNCWizard.ValidationPagePresenter.m_searchWorker_DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)


Additionally, the Connect To Internet Wizard (CTIW) may also crash with the following exception in ctiw.log:

[5616] 100830.203926.3578: Messaging: Executed management shell command: get-receiveconnector
[5616] 100830.203926.4076: Messaging: End Microsoft.WindowsServerSolutions.Messaging.Management.MessagingRunspace.StaticExecute
[7120] 100830.203926.4174: CoreNet: Exception caught in network detection/configuration with a specific router IP: System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.WindowsServerSolutions.Messaging.Management.ReceiveConnectorConfigurationData.MapValues(Object[] arrObjectsToMap)
   at Microsoft.WindowsServerSolutions.Messaging.Management.ConfigurationData..ctor(Object[] objectsToMap)
   at Microsoft.WindowsServerSolutions.Messaging.Management.ReceiveConnectorConfigurationData..ctor(ReceiveConnector ReceiveConnector, ConnectorType ConnectorType)
   at Microsoft.WindowsServerSolutions.Messaging.Management.TransportConfiguration.GetSBSInternetReceiveConnector()
   at Microsoft.WindowsServerSolutions.Messaging.Tasks.Utils.ConnectorUtils.RebindExternalInternetReceive(IPAddress ip, IPAddress dg, IPAddress netmask)
   at Microsoft.WindowsServerSolutions.Messaging.Tasks.RebindConnectorsTask.Run(ITaskDataLink dl)
   at Microsoft.WindowsServerSolutions.TaskManagement.Admin.AdminDataLink.Run(TaskId taskId, IAssemblyTask task)
   at Microsoft.WindowsServerSolutions.Networking.TaskAgent.Run(TaskId id, IAssemblyTask task, InfoXml runtimeData)
   at Microsoft.WindowsServerSolutions.Networking.Wizards.CTIWizard.NetOperation.RunRebindConnectorsTask()
   at Microsoft.WindowsServerSolutions.Networking.Wizards.CTIWizard.LocateRouterPagePresenter.m_detectWorker_DoWork(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

Cause


This issue can occur if the FQDN of Windows SBS Internet Receive Connector is blank.

Resolution


To resolve this issue, follow these steps:

1.) Open Exchange Management Console
2.) Expand Server Configuration -> Hub Transport
3.) Open the properties window of Windows SBS Internet Receive <ServerName> connector.
4.) Specify the FQDN of your network for the receive connetor.
5.) Click Apply, click OK.