Exchange 2010 TransportRuleError

Exchange 2010 Transport Rule Error: Rule Xml Is Too Long:Maximum Length Is 8192,Actual Length Is 8223



Welcome to Microsoft Exchange Server 2010 Unattended Setup

Preparing Exchange Setup

    Copying Setup Files                           COMPLETED

No server roles will be installed

Performing Microsoft Exchange Server Prerequisite Check

    Organization Checks                                       COMPLETED

Configuring Microsoft Exchange Server

    Organization Preparation                                  FAILED
     The following error was generated when "$error.Clear();
          $a = get-transportrule;
          if ($a -eq $null)
          {
            $rulefile = export-transportrulecollection -ExportLegacyRules -Warni
ngAction:SilentlyContinue;
          }
          else
          {
            $rulefile = export-transportrulecollection;
          }

          if ($rulefile -ne $null)
          {
            import-transportrulecollection -FileData $rulefile.FileData;
          }

          $a = get-journalrule;
          if ($a -eq $null)
          {
            $a = get-journalrule -LawfulInterception -ErrorAction:SilentlyContin
ue;
          }

          if ($a -eq $null)
          {
            $rulefile = export-journalrulecollection -ExportLegacyRules -Warning
Action:SilentlyContinue;
          }
          else
          {
            $rulefile = export-journalrulecollection;
          }

          if ($rulefile -ne $null)
          {
            import-journalrulecollection -FileData $rulefile.FileData;
          }
       " was run: "The length of the property is too long. The maximum length i
s 8192 and the length of the value provided is 8403. Property Name: RuleXml".



The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.

Exchange Server setup encountered an error.

how do I change the value on the rule
pciicpAsked:
Who is Participating?
 
pciicpAuthor Commented:
This was a SP2 upgrade.
As it turns out, this error came about from the lack of a transport rule.
After creating a dummy rule, the upgrade completed just fine.
0
 
Simon Butler (Sembee)ConsultantCommented:
You need to provide some context - is this a new installation of Exchange 201, an additional server, upgrade, something else?

You shouldn't be seeing that error, so rather trying to fix the error by increasing the rule, you need to establish where it is coming from. The setup parameters usually cannot be changed, so changing the rule almost certainly will be impossible.

Simon.
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
Based on the error message this appears to be a SP Version upgrade or RU update. The error message clearly is pointing to your Transport Rules that you already have in place. Of the Transport Rules that you have do you have a lot of conditions/actions etc?

What I would do it check out the rules that you currently have in place and either split them up in to multiple rules rather than just 1.

Will.
0
 
pciicpAuthor Commented:
I don't understand how by having blank rules, it was causing an error.
When I checked the rules, there was nothing there; adding one resolved it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.