Event 1033 Exchange 2010

Exchange 2010 SP3 RU8 Enterprise  64 bit
 Windows 2008 R2 64 bit
 IIS 7

 Every so often I get Event Id 1033 about 20 of them or so

 Here is a sample

 Type :            Warning
 Date :            2/13/2015
 Time :            5:30:09 PM
 Event :            1033
 Source :            MSExchange ActiveSync
 Category :      Configuration
 User :            N/A
 Computer :      TGCS025.our.network.tgcsnet.com
 Description:
 The setting MinGALSearchLength in the Web.Config file was not valid. The previous value was null and has been changed to 4.

 Type :            Warning
 Date :            2/13/2015
 Time :            5:30:09 PM
 Event :            1033
 Source :            MSExchange ActiveSync
 Category :      Configuration
 User :            N/A
 Computer :      TGCS025.our.network.tgcsnet.com
 Description:
 The setting BootstrapMailDeliveryDelay in the Web.Config file was not valid. The previous value was null and has been changed to 259200.


up to 40 of these errors


I get this error when every I run this script

@echo off
del c:\util\EASDeviceStats.csv
cd\util
PowerShell.exe -PSConsoleFile "D:\Program Files\Microsoft\Exchange Server\V14\Bin\ExShell.psc1" -Command "./EASDevicestats.ps1"
exit

Open in new window


Which is this

$ResultArr =@()
 $CASMailboxes = Get-CASMailbox -ResultSize Unlimited | ? {$_.HasActiveSyncDevicePartnership -eq $true}
 foreach ($CASMailbox in $CASMailboxes)
 {
 
$ResultArr += Get-ActiveSyncDeviceStatistics -Mailbox $CASMailbox.Identity | Select @{Name=”User”;Expression={($CASMailbox.Name).ToString()}},DeviceType,DeviceModel,FirstSyncTime,LastSuccessSync,IsRemoteWipeSupported
 }
 $ResultArr | Export-Csv C:\util\EASDeviceStats.csv -NoTypeInformation
Send-MailMessage -From “no-reply@tgcsnet.com” -To “support@mydomain.com” -Subject “ActiveSync User Stats” -Attachments C:\util\EASDeviceStats.csv  -Body ” This is an autogenerated Email. Please do not respond to this email” -SmtpServer “serv025.FQDN”
  

Open in new window


Reviewed this

http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Exchange&ProdVer=8.0&EvtID=1033&EvtSrc=MSExchange+ActiveSync

Why is the web.config file changing its defaults?

 I checked the web.config file and the setting match this

 Thoughts?
LVL 23
Thomas GrassiSystems AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Satya PathakLead Technical ConsultantCommented:
Thomas GrassiSystems AdministratorAuthor Commented:
Sorry that link in not expectable
HariomExchange ExpertsCommented:
This fixed the problem

http://www.eventid.net/display-eventid-1033-source-MSExchange%20ActiveSync-eventno-11120-phase-1.htm


From a Microsoft support engineer: "If this is not a partner-hosted environment, you can safely ignore this error. It is simply a warning that the ExternalProxy setting is not set in the web.config. We use a default value of null when we find this.

 If you are not partner hosted and want to get rid of the warning, add a key under the <appSettings> key in your \Program Files\Microsoft\Exchange Server\V14\ClientAccess\Sync\web.config file:
 <add key="ExternalProxy" value=""></add>

 The warning should have only been appearing when the application pool was recycled and just spinning up.  You will need to either recylce the MSExchangeSyncAppPool or do an iisreset and then check your application log. You should no longer see the event."

After I added  <add key="ExternalProxy" value=""></add>  to the web.config file

Restarted IIS and have not seen this message 1033 for 3 days now

Refrence :
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_28616876.html
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Thomas GrassiSystems AdministratorAuthor Commented:
Sorry

That reference was mine and the last comment in that posting was not resolved.

I did make the changes you mentioned but it still happens

I only happens when I run the script I posted in the first posting

Question is Why does that script cause a 1033
dsnegi_25decCommented:
Please find Microsoft tech-net article

Needs to follow below settings

Start Internet Information Services (IIS) Manager.
In the console tree, click Web Sites, and then click Default Web Site.
Right-click Microsoft-Server-ActiveSync, and then click Properties.
On the ASP.NET tab, click Edit Configuration.
On the General tab, under Application settings, configure the setting specified in the event description to the default value.
Note   You must restart Internet Information Services (IIS) by using the command iisreset/noforce for these changes to take effect.


https://technet.microsoft.com/en-us/library/ff359673(v=exchg.140).aspx
Thomas GrassiSystems AdministratorAuthor Commented:
Ok guys

Sorry I must not be making myself clear here

Those TechNet articles I have already applied the settings are as they show up in the event error.

The Event 1033 only happens when I run the script mentioned in my first posting.
If I do not run the script the messages never appear.

I can post my web.config if needed


Thoughts
Thomas GrassiSystems AdministratorAuthor Commented:
My web.config is attached for your review
web.txt
Will SzymkowskiSenior Solution ArchitectCommented:
Take a look at the MS Technet below to resolve this issue specifically for Event 1033 ActiveSync.

http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Exchange&ProdVer=8.0&EvtID=1033&EvtSrc=MSExchange+ActiveSync

Will.
Thomas GrassiSystems AdministratorAuthor Commented:
Will

I already have done that several times with no change

Why would the script cause this?

Further thoughts

Thanks
Thomas GrassiSystems AdministratorAuthor Commented:
Guys

Another thing I just found that triggers this error is when you use EMC

recipient configuration  then Mailbox  
select a user and choose Manage Mobile Phone

So now anything that accesses active sync information causes event 1033

What's up with that?

This is very strange

The settings in the file have never changed why is this reporting bad information?

How can we fix this?

Please help

Thanks

Tom
Thomas GrassiSystems AdministratorAuthor Commented:
Will

I compared your web.config file with my web config file

two differences.

1. file location your exchange server is installed on the local C Drive vs My Exchange server is installed on my local D drive.

2. <!--to clear Event ID 1033 -->
    <add value="" key="ExternalProxy"/>

that's was added per an article claiming to resolve the 1033 error which it did not.

Thoughts

Thanks
Thomas GrassiSystems AdministratorAuthor Commented:
Will

found this
https://social.technet.microsoft.com/Forums/exchange/en-US/7a308dcc-56b2-4c29-a586-7b476b913998/the-setting-externalproxy-in-the-webconfig-file-was-not-valid?forum=exchange2010

Wher ein my web.config file can I add this see mine above

<system.webServer>
    <modules>
    </modules>
    <handlers>
      <add name="AirSyncHandler" verb="GET,HEAD,POST,DEBUG,OPTIONS" path="*" type="Microsoft.Exchange.AirSyncHandler.Handler, Microsoft.Exchange.AirSyncHandler" />
    </handlers>
        <httpErrors>
            <remove statusCode="501" subStatusCode="-1" />
            <error statusCode="501" prefixLanguageFilePath="C:\inetpub\custerr\de-DE" path="501.htm" responseMode="File" />
        </httpErrors>
  </system.webServer>

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
Thomas GrassiSystems AdministratorAuthor Commented:
Update

After this round of MS updates I was able to restart the server and services

Again the Event Id 1033 appeared after using the EMC getting mobile info
Running the script also causes the error

Anyone  any thoughts?
Thomas GrassiSystems AdministratorAuthor Commented:
No solution to this error as of yet.

My last attempt with the above has yet to be tested.

Will revisit this at a future time.

Waiting on a system restart to apply the above.  or I may just try IIS RESET
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.