The non-SMTP gateway connection failed on the specified connector, because the file name for the Drop directory exceeds the system-defined maximum length

 

Topic Last Modified: 2007-11-16

The Microsoft Exchange Server 2007 Management Pack for Operations Manager monitors the Windows Application log on computers that are running Exchange Server 2007 and generates this alert when the event or events specified in the following Details table are logged.

To learn more about this event, do one or more of the following:

  • Review the description of the event that includes the variables specific to your environment. From the Operator Console, select this alert, and then click the Properties tab.

  • Review all events that have been logged that meet the criteria of this Operations Manager alert. From the Operator Console, click the Events tab, and then double-click the event in the list for which you want to review the event description.

Details

Product Name

Exchange

Product Version

8.0 (Exchange Server 2007)

Event ID

8007

Event Source

MSExchangeTransport

Alert Type

Critical Error

MOM Rule Path

Microsoft Exchange Server/Exchange 2007/Common Components/Hub Transport and Edge Transport/Transport

MOM Rule Name

The non-SMTP gateway connection failed on the specified connector, because the file name for the Drop directory exceeds the system-defined maximum length.

Explanation

This Error event indicates that the file name or path name of a message file that is located in the Drop directory is too long.

The maximum allowed length of a file path is 246 characters. The file path contains the following elements:

  • A single drive letter character

  • The colon character(":")

  • The backslash character("\")

  • The directory and subdirectory names

  • The backslash characters that separate the directory and subdirectory names

The maximum allowed length of a file name is 254 characters. The file name contains the following elements:

  • The file name

  • The period character (".") that separates the file name from the file name extension

  • The file name extension

The maximum allowed length of the full path is 259 characters. The full file path contains the following elements:

  • The file path

  • The file name

Two items control the location of the Drop directory for each Foreign connector:

  • The RootDropDirectoryPath parameter on the Set-TransportServer cmdlet. This option is used for all Foreign connectors that exist on the Hub Transport server. By default, the value of the RootDropDirectoryPath parameter is blank. This indicates the value of the RootDropDirectoryPath parameter is the Microsoft Exchange Server 2007 installation folder. The default Exchange Server 2007 installation folder is C:\Program Files\Microsoft\Exchange Server\

  • The DropDirectory parameter on the Set-ForeignConnector cmdlet. This value is set for each Foreign Connector that exists on the Hub Transport server. The value of the DropDirectory parameter must be a simple directory name. The value of the DropDirectory parameter cannot contain any absolute path information.

User Action

To resolve this error, do one of the following:

  • Shorten the names of the message files so that the combination of the message file names and the directory path is less than 259 characters.

  • Move the location of the Drop directory by using the RootDropDirectoryPath parameter on the Set-TransportServer cmdlet and the DropDirectory parameter on the Set-ForeignConnector cmdlet so that the combination of the message file names and the directory path is less than 259 characters. Changing the location of the Drop directory does not copy any existing message files from the old directory to the new directory. The new directory location is active almost immediately after the configuration change, but any existing message files are left in the old directory.

For more information, see How to Configure the Drop Directory of a Foreign Connector.

For More Information

To search the Microsoft Knowledge Base articles based on criteria that generated this alert, visit the Search the Support Knowledge Base (KB) Web site.

To review Exchange 2007 event message articles that may not be represented by Exchange 2007 alerts, see the Events and Errors Message Center.

If you are not already doing so, consider running the tools that Microsoft Exchange offers to help administrators analyze and troubleshoot their Exchange environment. These tools can help you make sure that your configuration is in line with Microsoft best practices. They can also help you identify and resolve performance issues, improve mail flow, and better manage disaster recovery scenarios. Go to the Toolbox node of the Exchange Management Console to run these tools now. For more information about these tools, see Toolbox in the Exchange Server 2007 Help.