Question

Microsoft Exchange ActiveSync Event ID: 3005 ... how to resolve?

Asked by: kitkit201

Hi folks,

I hope someone can help me troubleshoot this. I have been having a constant HTTP 500 problem getting users to have DirectPush technology on our exchange server 2003.

Here are some hardware background information:

Front-End server:
Exchagne 2003 SP2 with Windows Server 2003

Back-End Server:
Exchange 2003 SP2 with Windows Server 2003

We have tried the following articles
Deleting and recreating Microsoft-Server-ActiveSync in IIS
http://hardware.mcse.ms/archive35-2005-12-262517.html

Problems in Synchronizing a Pocket PC with Exchange Server 2003 when using SSL and Forms-Based Authentication in OWA
http://www.petri.co.il/problems_with_forms_based_authentication_and_ssl_in_activesync.htm

And ..
How did we setup our Exchange for OWA, OMA, ActiveSync and RPC over HTTPS
http://www.howtonetworking.com/email/oma1.htm

But we still seem to have the problem.. The exact event ID error is the common:

Event Type:      Error
Event Source:      Server ActiveSync
Event Category:      None
Event ID:      3005
Date:            3/21/2006
Time:            10:02:53 AM
User:            XXX\YYY
Computer:      FRONT-END
Description:
Unexpected Exchange mailbox Server error: Server: [XXX.XXX.XXX] User: [XXXX@ZZZ.com] HTTP status code: [400]. Verify that the Exchange mailbox Server is working correctly.

I know this has been severly discussed before, but it seems that all available options do not work.  I almost feel compelled to call M$ and pay some money, but hopefully this answer can be the 'end all solution' to everyone's problem.

Thanks and look forward to your responses,
Kit

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2006-03-21 at 10:46:43ID21782845
Tags

3005

,

event

,

activesync

,

id

,

exchange

Topic

Exchange Email Server

Participating Experts
4
Points
500
Comments
26

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Pocket PC Activesync with Exchange 2003?
    I am trying to get a new PDA with Pocket PC 2002 to sync with a new installation of Exchange 2003. I have searched through and through to find how to configure both ends of this communication. I have enabled the activesync features on my PDA to link with exchange. And, I...
  2. OMA & ActiveSync Exchange 2003
    Hi, I am 'trying' to get Outlook Mobile Access working with ActiveSync on a HP PDA, but am finding out that its not the easiest thing to configure. We are running with a single server solution, and implementing a front end back end system is not a feasible option. I am not ...
  3. OMA and ActiveSync
    Dear All, I have an EXchange 2003 server with SP 1 installed on windows 2003 server sp1, the server is a member server and its not a DC, Once I tried OMA I receive this error" A System error has occurred while processing your request. Please try again. If the pro...
  4. OMA and Activesync
    Can someone tell me the difference between OMA and Activesync, and how to set them up? Thanks
  5. OMA & ActiveSync issues
    Hi, Long story short, we needed to setup SBS 2003 Premium, SP1, on a new box from scratch. On the old box, using a self-signed cert, no SSL requiered --> OWA, OMA, RPCoHTTP .. everything worked. But I do remember having exactly the same problems I am having now with OMA &...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: kitkit201Posted on 2006-03-21 at 11:19:30ID: 16250280

BTW, The event ID error is shown on the Front end server

 

by: SembeePosted on 2006-03-21 at 11:47:04ID: 16250601

Those instructions you followed were for an SBS system - the rules are slightly different with a frontend/backend. As such, this will not be the end all solution question because most people don't run frontend/backend scenarios.

The articles on forms based authentication and EAS don't apply to you - because you are on FE/BE.

Does OMA work? EAS uses the OMA infrastructure to connect and it is easier to diagnose.
Is the frontend server working correctly? If you connect to OWA does the URL stay the same or does it redirect you to the backend server?

Simon.

 

by: kitkit201Posted on 2006-03-21 at 12:18:27ID: 16250971

Hi Simon-

Does OMA work?
-->OMA works on a PC and works on the mobile we are trying to configure (Tmobile MDA)

If you connect to OWA does the URL stay the same or does it redirect you to the backend server?
-->When we type http://weboutlook.website.com/exchange , it transfers us to https://weboutlook.website.com/exchweb/bin/auth/owalogon.asp?url=https://weboutlook.website.com/exchange/&reason=1 for the FBA login page. After logging it, it goes back to https://weboutlook.website.com/exchange . We have it force to HTTPS and FBA for OWA.

Thank you,
Kit

 

by: SembeePosted on 2006-03-21 at 12:32:46ID: 16251161

You need to remove the require SSL. That breaks EAS.

What I was more interested in was whether the URL did something like...

https://webmail.domain.com
http://server1.domain.com

ie redirected to a different server altogether. That is an indication that the frontend feature isn't' working.

Simon.

 

by: kitkit201Posted on 2006-03-21 at 13:43:37ID: 16251973

Simon-

Not sure why I would remove the SSL for? What does EAS stand for? SSL is on OWA for PC user access and that has been working fine.

ie redirected to a different server altogether. That is an indication that the frontend feature isn't' working.
-->This is not happening. When it gets into the mailbox from the front-end server, the URL stays as https://weboutlook.website.com/exchange (no server name)

Kit

 

by: SembeePosted on 2006-03-21 at 13:52:43ID: 16252066

EAS = Exchange Active Sync

There is a quirk with EAS. It makes an internal communication over http to the /exchange virtual folder. Forcing SSL on the /exchange virtual folder breaks EAS. It is buried in this article: http://support.microsoft.com/default.aspx?kbid=817379

I am not asking you to remove SSL, just remove the setting that REQUIRES SSL on that virtual folder.

Simon.

 

by: kitkit201Posted on 2006-03-21 at 14:33:11ID: 16252452

I see Simon

From what I can see, on the front-end server, it has /exchange, /exchange-oma (the virtual server created of an offspring of /exchange.
/exchange has Basic Authentication, SSL
/exchange-oma Integrated and Basic Authentation, No SSL

The back-end server has the same virtual folders: /exchange /exchange-oma.
/exchange has Integrated and Basic Authentication, No SSL
/exchange-oma has Integrtated and Basic Authentication, No SSL

My Mobile user says now there is a 409 error on his page. He gets an error when he deletes an email on his pda and then does a send/receive....

Feeling we are getting close, but not close enough

 

by: kitkit201Posted on 2006-03-21 at 14:44:21ID: 16252538

Is my settings correct Simon?

 

by: SembeePosted on 2006-03-21 at 15:19:35ID: 16252767

By SSL what do you mean?
Do you mean that the there is a requirement for SSL to be used to connect?

Simon.

 

by: kitkit201Posted on 2006-03-21 at 15:24:42ID: 16252812

WHen I say "SSL", i meant that the checkbox in IIS Properities of /exchange, Directory Security, Secure Communications, Edit "Require Secure channel (SSL)" is checked.

 

by: kitkit201Posted on 2006-03-21 at 15:27:40ID: 16252838

I changed 1 setting and my PDA user to sync and his error code changed from 409 to 400.

The change I made was in the front-end server /exchange. I checked the "Integrated Authentication" which changed his error from 409 to 400...

 

by: SembeePosted on 2006-03-21 at 15:29:12ID: 16252846

Ok - that needs to be removed on the /exchange virtual directory.
It causes problems with EAS when it is enabled.

The site will still use SSL for communications.
To give you an idea - I usually refuse to open port 80 to production sites, including my home Exchange server. However with the requirement for SSL off, but only port 443 open, everything works correctly.

Simon.

 

by: kitkit201Posted on 2006-03-21 at 15:35:54ID: 16252883

Changed exchange on the front-end back to not having it be Integrated Authentication

On our firewall, weboutlook.website.com is open to 80 and 443... what now?

 

by: kitster510Posted on 2006-03-22 at 15:07:47ID: 16263279

ActiveSync over the air works fine (meaning it updates the device and exchange server) but then throws the 3005 error (Http 400)... on the device and on the front-end server.

 

by: gizmobugPosted on 2006-03-22 at 15:33:30ID: 16263515

Just a clarification here. No error is thrown on the device, only on the front-end exchange server. Initiating a sync wirelessly on the device works fine (things are updated) but then the event error is thrown.
Also, no DirectPush works. Just the 15 minute normal over the air activesync (with event error).
We tried the same process with a newer exchange user and had the same results, although interestingly, we had a 409 error then followed by the usual 400 errors.

 

by: SembeePosted on 2006-03-22 at 16:19:52ID: 16263936

With the direct push, do you have a device that has that feature enabled? If so, I suspect that direct push is not working because the connection is being dropped by the error. Direct push works by maintaining a connection between your server and the handheld.

The latest issue I have heard is with multiple homed or multiple IP addresses on the machine.
Something about the Active Sync process having to find the server itself to connect correctly. This would tally up with the requirement to ensure that Require SSL connection is not enabled on certain folders that would appear at first glance not to have anything to do with the sync process.

Simon.

 

by: gizmobugPosted on 2006-03-23 at 09:52:38ID: 16271997

The feature on the MDA is enabled. The CommManager has the Microsoft DirectPush button. We are still getting errors from the BE server (the HTTP 400 error - event 3005). We tried some other items and that killed OWA and we had to roll back. Any more advice?

 

by: gizmobugPosted on 2006-03-23 at 12:48:59ID: 16274208

Update. We did have 2 IP addresses on the single NIC. We deleted one and still get the same issue.

Also, something interesting. If I turn OFF the DirectPush, and initiate an over the air sync or a send and receive on the device, we do NOT get the 3005 error.

If I turn ON the DirectPush on the device, we DO get the error. In fact, we get it as soon as the DirectPush button is clicked.

Grrrrrr!

 

by: SembeePosted on 2006-03-23 at 13:35:14ID: 16274850

Does the sync actually complete successfully with Direct Push disabled?

If so, then it might be a problem with the Direct Sync mechanism and your firewall.
I have heard that some firewalls cannot cope with the extended length of the packet that is used for Direct Sync. If the firewall has any kind of http inspection facility enabled it may cause a problem.

As you can probably appreciate it is early days with this technology, and troubleshooting is a challenge.

Simon.

 

by: gizmobugPosted on 2006-03-23 at 13:48:20ID: 16274994

yes. with directpush disabled there is no problem doing an ota sync and no entry in the event log. I will have IT check about the firewall. thanks for your help!

 

by: kitkit201Posted on 2006-03-23 at 17:39:34ID: 16276658

THank you for your help thus far Simon-

As for our firewall, we are using a cisco firewall and the we set the UDP timeout to be 15 mins. (I'm assuming Direct Push Technology is using this protocol).

 

by: SembeePosted on 2006-03-24 at 16:27:37ID: 16285667

It is standard http packets, so should be TCP not UDP.
There isn't much from Microsoft on the firewall configuration.
So far this is all we have to go on (that I can share with you anyway) http://support.microsoft.com/default.aspx?kbid=905013

Simon.

 

by: kitkit201Posted on 2006-03-30 at 13:12:13ID: 16336917

Hi Simon,

We have a good update, but are ever so close to solving this situation. After finding an article (http://groups.google.com/group/microsoft.public.pocketpc.activesync/browse_frm/thread/96a012d52673c49b/22bdad20f97e9745?lnk=st&q=activesync+3005+http+400&rnum=1#22bdad20f97e9745) that said that described our HTTP400 problem, we at least resolved the error, but it now the DirectPushTechnolgoy is not working.

We had to do this on our end
1) Edit a host file at c:\windows\system32\drivers\etc\hosts with an entry for the public IP address of the weboutlook, but with the Windows name + Domain as a DNS entry.
2) Added local DNS for the weboutlook and back-end exchange servers with their FQDN and internal IP address

These two changes have resolved the problem, but when I send an email to my co-worker, the emails are still not "directly pushed" like you would expect a BlackBerry to be like.  Although we are not getting any errors, he has to wait 5 mins for send/receive or manual sync in order to get the email.

I believe you have a point in that they are standard HTTP packets. Running Ethereal on the WebOutlook Server, we noticed that they are https packets using TCP, rather than UDP.  In our case, we have a CIsco 515 Pix but it's not clear how to change the timeout to not timeout so quickly with https. We believe that is the issue at this moment.

Maybe you ran into something this week that could shed some more light on this situation. Thanks and hope to hear from you soon.

Kit

 

by: SembeePosted on 2006-03-30 at 21:17:22ID: 16339632

I had seen that resolution before.

What I couldn't work out is what that poster had done to their server to make all of the IP addresses go in to DNS.
My Exchange server at home has 40 IP addresses on it as I put each web site that I work with on to its own IP address rather than use host headers. Yet the only IP address that appears in the AD DNS is the master one of the server - as such I don't have to make any of the changes that are outlined in that posting.

I also dislike hosts files with a passion and will do everything that I can to avoid using them in any deployment I am involved in.

I have deployed push through a couple of PIX 501s recently, without any problems. However it is still early days with this technology and if there have been any changes required, they aren't in the public domain yet.

Simon.

 

by: kitkit201Posted on 2006-04-10 at 13:49:57ID: 16421201

Thanks Simon for all your help,

Well, it seems like we have resolved the issue.. my co-worker was out of office last week so we could not test it since his GSM network lacked coverage..

We last left off at the heartbeat situation, and this morning, he mentioned that there was the Event ID: 3033 error. Googling lead to the MS article (http://support.microsoft.com/Default.aspx?kbid=905013) so I looked at the 4 registry hacks...

The Outlook server had the MaxhearbeatInterval set as 2700 (secs) while the Back End Exchange Server was only set to 900 (secs). Changing the BE-ES to 2700 secs. Restarted IIS and then my co-worker informed me that it just started to work. Sending an email to him, it pushed out in less than 10 secs to him.

Great! I am estatic this finally worked out...

For those that want to read what we did, please read this entire thread and it should work.

Cheers,
Kit

 

by: GarrethSpeerPosted on 2009-06-17 at 08:46:24ID: 24649542

We had a similar situation where DirectPush would not work and would log (Event ID 3005) HTTP 501 and 400 errors only on the Front-end server. We only had the issue on our Exchange 2003 SP2 back-end clusters.

Solution: Remove all additional Host headers under Default website in IIS except
-Unassigned, port 80, blank
-IP Address, port 80, host name (Netbios name)
Also installed Hotfix Exchange2003-KB941439 on front-end and back-end servers.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...