How to increase MaxProtocolErrors property of the internal receive connector

Tring to increase the Maxprotocolerror because of invalid header message errors in the Event Viewer.

the exact command that i type in an elevated command shell is below (my server name is server).

Set-ReceiveConnector -Identity ($Env:server + "\Windows SBS Fax Sharepoint Receive" + $Env:server) -MaxProtocolErrors 500

This is the error i get:
Set-ReceiveConnector : Cannot bind parameter 'Identity'. Cannot convert value "
\Windows SBS Fax Sharepoint Receive" to type "Microsoft.Exchange.Configuration.
Tasks.ReceiveConnectorIdParameter". Error: "'\Windows SBS Fax Sharepoint Receiv
e' is not a valid value for the identity.
Parameter name: Identity"
At line:1 char:31
+ Set-ReceiveConnector -Identity  <<<< ($Env:server + "\Windows SBS Fax Sharepo
int Receive" + $Env:server) -MaxProtocolErrors 500

Can anyone tell me exactly what i should be typing?

I am using a pop connector (please don't tell me i shouldn't be using pop connector, not my decision) on SBS 2008 with Exchange 2007 SP1 Update Rollup9.
stevedionAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mass2612Commented:
Hi,

Can you post the result of the following command?
Get-ReceiveConnector -Identity ($Env:computername + "\Windows SBS Fax Sharepoint Receive " + $Env:computername) | fl

Get-ReceiveConnector | fl *identity*

Open in new window

0
stevedionAuthor Commented:
Line 1: Get-ReceiveConnector -Identity ($Env:server + "\Windows SBS Fax Sharepoint Receive " + $Env:server) | fl

 Get-ReceiveConnector : Cannot bind parameter 'Identity'. Cannot convert value "
\Windows SBS Fax Sharepoint Receive " to type "Microsoft.Exchange.Configuration
.Tasks.ReceiveConnectorIdParameter". Error: "'\Windows SBS Fax Sharepoint Recei
ve ' is not a valid value for the identity.
Parameter name: Identity"
At line:1 char:31
+ Get-ReceiveConnector -Identity  <<<< ($Env:server + "\Windows SBS Fax Sharepo
int Receive " + $Env:server) | fl

Line 2: Get-ReceiveConnector | fl *identity*


Identity : SERVER\Default SERVER

Identity : SERVER\Windows SBS Fax Sharepoint Receive SERVER

Identity : SERVER\Windows SBS Internet Receive SERVER


Doc1.docx
0
mass2612Commented:
What happens when you run
Get-ReceiveConnector -Identity (SERVER\Windows SBS Fax Sharepoint Receive SERVER)

Open in new window

0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

stevedionAuthor Commented:

LIne 1: Get-ReceiveConnector -Identity (SERVER\Windows SBS Fax Sharepoint Receive SERVER)


[PS] C:\Windows\System32>Get-ReceiveConnector -Identity (SERVER\Windows SBS Fax
Sharepoint Receive SERVER)
The term 'SERVER\Windows' is not recognized as a cmdlet, function, operable pro
gram, or script file. Verify the term and try again.
At line:1 char:47
+ Get-ReceiveConnector -Identity (SERVER\Windows  <<<< SBS Fax Sharepoint Recei
ve SERVER)
0
mass2612Commented:
Try some variations of this with quotes, etc
0
mass2612Commented:
I don't have access to SBS 2008 to try it
0
stevedionAuthor Commented:
Anyone else have any suggestions, i am kinda stuck. :-)
0
mass2612Commented:
In the shell $Env:computername may not be suggesting to replace computername with the actual server hostname i.e. try this do NOT replace "computername" with "SERVER".

If that works then run the set without replacing computername.
Get-ReceiveConnector -Identity ($Env:computername + "\Windows SBS Fax Sharepoint Receive " + $Env:computername) | fl 

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
stevedionAuthor Commented:
[PS] C:\Windows\System32>Get-ReceiveConnector -Identity ($Env:computername + "\W
indows SBS Fax Sharepoint Receive " + $Env:computername) | fl


AuthMechanism                           : BasicAuth
Banner                                  :
BinaryMimeEnabled                       : True
Bindings                                : {127.0.0.1:25}
ChunkingEnabled                         : True
DefaultDomain                           :
DeliveryStatusNotificationEnabled       : True
EightBitMimeEnabled                     : True
DomainSecureEnabled                     : False
EnhancedStatusCodesEnabled              : True
LongAddressesEnabled                    : False
OrarEnabled                             : False
Fqdn                                    : SERVER.domainname.local
Comment                                 :
Enabled                                 : True
ConnectionTimeout                       : 06:00:00
ConnectionInactivityTimeout             : 00:05:00
MessageRateLimit                        : unlimited
MaxInboundConnection                    : 5000
MaxInboundConnectionPerSource           : 20
MaxInboundConnectionPercentagePerSource : 2
MaxHeaderSize                           : 64KB
MaxHopCount                             : 30
MaxLocalHopCount                        : 8
MaxLogonFailures                        : 3
MaxMessageSize                          : 15MB
MaxProtocolErrors                       : 5
MaxRecipientsPerMessage                 : 200
PermissionGroups                        : AnonymousUsers, ExchangeUsers
PipeliningEnabled                       : True
ProtocolLoggingLevel                    : None
RemoteIPRanges                          : {127.0.0.1-127.0.0.1}
RequireEHLODomain                       : False
RequireTLS                              : False
EnableAuthGSSAPI                        : False
Server                                  : SERVER
SizeEnabled                             : Enabled
TarpitInterval                          : 00:00:05
AdminDisplayName                        :
ExchangeVersion                         : 0.1 (8.0.535.0)
Name                                    : Windows SBS Fax Sharepoint Receive SE
                                          RVER
DistinguishedName                       : CN=Windows SBS Fax Sharepoint Receive
                                           SERVER,CN=SMTP Receive Connectors,CN
                                          =Protocols,CN=SERVER,CN=Servers,CN=Ex
                                          change Administrative Group (FYDIBOHF
                                          23SPDLT),CN=Administrative Groups,CN=
                                          First Organization,CN=Microsoft Excha
                                          nge,CN=Services,CN=Configuration,DC=
                                          domainname,DC=local
Identity                                : SERVER\Windows SBS Fax Sharepoint Rec
                                          eive SERVER
Guid                                    : 83398c1f-f1fe-4adc-924a-a8bcfb68e018
ObjectCategory                          : domainname.local/Configuration/Sc
                                          hema/ms-Exch-Smtp-Receive-Connector
ObjectClass                             : {top, msExchSmtpReceiveConnector}
WhenChanged                             : 3/25/2010 5:05:17 PM
WhenCreated                             : 3/16/2010 7:14:59 PM
OriginatingServer                       : SERVER.domainname.local
IsValid                                 : True
0
mass2612Commented:
ok that is the answer sorry I should have noticed this before. Run the set-receive command without replace computername and it should work fine.
Set-ReceiveConnector -Identity ($Env:computername + "\Windows SBS Fax Sharepoint Receive" + $Env:computername) -MaxProtocolErrors 500

Open in new window

0
stevedionAuthor Commented:
Here is the error i get.

[PS] C:\Windows\System32>Set-ReceiveConnector -Identity ($Env:computername + "Wi
ndows SBS Fax Sharepoint Receive" + $Env:computername) -MaxProtocolErrors 500

Set-ReceiveConnector : The operation could not be performed because object 'SER
VERWindows SBS Fax Sharepoint ReceiveSERVER' could not be found on domain contr
oller 'SERVER.domainname.local'.
At line:1 char:21
+ Set-ReceiveConnector  <<<< -Identity ($Env:computername + "Windows SBS Fax Sh
arepoint Receive" + $Env:computername) -MaxProtocolErrors 500
[PS] C:\Windows\System32>
0
mass2612Commented:
This is strange are you running this from the Exchange Mangement Shell? What I am suggesting below it to run the get command which works to grab the name of the connector and then pipe that name into the set command. No way to test it though so fingers crossed the theory works in practice.
Get-ReceiveConnector -Identity ($Env:computername + "\Windows SBS Fax Sharepoint Receive " + $Env:computername) | Set-ReceiveConnector -Identity {$_.name} -MaxProtocolErrors 500

Open in new window

0
stevedionAuthor Commented:
I think the last command worked.  Will wait a couple days to monitor the logs and update the question with my result.  Thanks a bunch!
0
mass2612Commented:
No worries if you run the get command on its own you should see its updated the field to 500 for maxprotocolerrors
0
mass2612Commented:
How did this go?
0
stevedionAuthor Commented:
Not good, still same problem.
0
stevedionAuthor Commented:
Case was not resolved, but did dedicate time to help me out.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.