FIM Service - Problems with Exchange Mail Listener

I have a lab environment with Exchange 2010 (exchange) and FIM 2010 R2 (fimserver), both running on Windows Server 2008 R2 Std SP1. My problem is that the Exchange Mail Listener in the FIM Web Services is throwing exceptions and unable to poll
or send mail. The exception is always "System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'."
Versions:
FIM Service: 4.1.3419.0
Exchange 2010: 14.01.0218.013
The FIM service is ran under a service account "Domain\fimservice", and has an Exchange 2010 mailbox
[email protected]. The "Microsoft.ResourceManagement.Service.exe.config" is defined as following:
<appSettings>
<!-- Setup adds entries -->
<add key="mailServer" value="https://exchange.domain.com/ews/exchange.asmx" />
<add key="isExchange" value="1" />
<add key="sendAsAddress" value="[email protected]" />
<add key="synchronizationServerName" value="fimserver.domain.com" />
</appSettings>
On the FIMServer I can run IE under the FIMService account and successfully get to
https://exchange.domain.com/ews/exchange.asmx without any certificate errors or authentication prompts. I can also access OWA and send and recieve mail from the fimservice account.
Turning on additional logging on the web services I see the following messages:
Microsoft.ResourceManagement Verbose: 0 : The Exchange Mail Listener is marking Microsoft Exchange "Read" messages as "Unread".
ThreadId=11
DateTime=2013-12-03T19:45:31.5391601Z
Microsoft.ResourceManagement Verbose: 0 : The mail listener is looking for items that match this search expression: Find Item:
(((((exists(ilmStatus) and (ilmStatus is equal to 'Read'))) and (((((((ItemClass is equal to 'IPM.Note.IdentityManagement.AddToGroups') or (ItemClass is equal to 'IPM.Note.IdentityManagement.RemoveFromGroups'))) or (ItemClass is equal to 'IPM.Note.IdentityManagement.ApprovalResponseApproved'))) or (ItemClass is equal to 'IPM.Note.IdentityManagement.ApprovalResponseRejected')))) and ((not(exists(ilmApprovalEndpoints)) or (
ThreadId=11
DateTime=2013-12-03T19:45:31.5470841Z
Microsoft.ResourceManagement Error: 3 : System.Web.Services: System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.ResourceManagement.WebServices.Mail.Exchange.ExchangeServiceBinding.FindItem(FindItemType FindItem1)
at Microsoft.ResourceManagement.WebServices.Mail.Exchange.MailChannel.ExchangeMailChannelListener`1.ExchangeMailListener.<OnPollTimerExpired>b__0(Boolean findUnreadItems)
at Microsoft.ResourceManagement.WebServices.Mail.Exchange.MailChannel.ExchangeMailChannelListener`1.ExchangeMailListener.OnPollTimerExpired(Object state)
Here is another instance:
Microsoft.ResourceManagement Verbose: 0 : The Exchange Mail Binding is creating binding elements.
ThreadId=14
DateTime=2013-12-03T19:45:32.7624276Z
Microsoft.ResourceManagement Error: 3 : System.Web.Services: System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.ResourceManagement.WebServices.Mail.Exchange.ExchangeServiceBinding.FindItem(FindItemType FindItem1)
at Microsoft.ResourceManagement.WebServices.Mail.Exchange.MailChannel.ExchangeMailChannelListener`1.ExchangeMailListener.<OnPollTimerExpired>b__0(Boolean findUnreadItems)
at Microsoft.ResourceManagement.WebServices.Mail.Exchange.MailChannel.ExchangeMailChannelListener`1.ExchangeMailListener.OnPollTimerExpired(Object state)
ThreadId=4
DateTime=2013-12-03T19:45:32.7644086Z
Any suggestions?

David,
Thanks for the suggestion. The account didn't have any e-mails. I eventually found the issue was with the exchange server itself and not related at all to FIM. Even though I could access OWA and the EWS asmx page the product wasn't fully functional due to
a missing DLL from another .NET update. So I thought exchange was working properly, but it wasn't.
After installing this
hotfix (KB2637518) on the exchange box, the product was working and therefore FIM was working as expected. 
More details can read on this
technet blog, (at the very bottom labelled UPDATE)

Similar Messages

  • Problem with exchange mail

    I have problem with exchange mail on my macbook when i add my exchange acc to the mac mail app, the mail app got froze and closes by itself, when i try open it again it does the same thing till i delete the acc.

    Make sure the user you are using to connect and search for Mail stores have sufficient rights to look for Mail store objects.
    Thanks
    Suren

  • Problem with Mavericks Mail and Exchange 2013

    Hello,
    I have just updated to Mavericks a few days ago. Now I have a strange problem.
    The setup with Exchange 2013 works fine ... so I can send&receive mails.
    The problem: I only get new mails. All (few thausand) mails stored on the Exchange account are not synced to mail?!
    Maybe anyone has an idea how to solve this ...
    Thanks,
    Marc

    Some problems with Exchange mail have been solved by disabling Autodiscovery. If that doesn't work, see below.
    Back up all data. Delete the Exchange account from the Internet Accounts preference pane and add it back. If there's still no improvement, continue.
    Quit Mail. Force quit if necessary.
    Back up all data. That means you know you can restore the Mail database, no matter what happens.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Mail/V2/MailData
    Copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
    Go ▹ Go to Folder
    from the menu bar. Paste into the box that opens (command-V), then press return.
    A folder window will open. Inside it there should be files with names as follows:
    Envelope Index
    ExternalUpdates.storedata
    Move those files to the Desktop, leaving the window open. Other files in the folder may have longer names that begin as above. Move those files, if any, to the Trash.
    Log out and log back in. Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is damaged and that Mail has to quit. Click OK.
    Test. If Mail now works as expected, you can delete the files you moved to the Desktop. Otherwise, post your results.

  • Powerbook G4 Apple mail problem with exchange server?

    Hello all,
         I am new to the group. I just picked up a older PowerBook G4 at a pawnshop for cheap I've got it running really well now with the exception of my email.
    I am running OS X 10.5.8
    When trying to set it up with my exchange server email it does not seem to want to work with me.
    I get an ALERT
    (There may be a problem with the mail server or network. Check the settings for account "Exchange" or try again.)
    I know i am online fine. Internet works, streams music etc...
    and
    (The server error encountered was: The connection to the server (mail.mycompany.com) on port "X" timed out.)
    I have tried port numbers:
    465
    143
    443
    25
    993
    995
    with no success.
    I have pinged my mail.mycompany.com and it is communicating fine there   10 sent  10 recieved.
    I am sending emails fine, however I cannot recieve emails.
    Anybody know what the problem might be?
    THANKS!

    Hi,
    This might have to do with your outgoing mail server(smtp).. For example, if you use hotmail as your mail client, then your smtp would be: smtp.live.com while the incoming mail server would be: pop.live.com.
    In your case, try smtp.mycompany.com or smtp.mail.mycompany.com
    See if that resolves the problem.

  • HT4864 I am getting a triangle with an exclamation point next to my inbox...it says: There may be a problem with the mail server or network. Verify the settings for account "MobileMe" or try again.  The server returned the error: Mail was unable to log in

    I can send but cannot recieve email
    This is the messege I am gewtting:
    There may be a problem with the mail server or network. Verify the settings for account “MobileMe” or try again.
    The server returned the error: Mail was unable to log in to the IMAP server “p02-imap.mail.me.com” using “Password” authentication. Verify that your account settings are correct.
    The server returned the error: Service temporarily unavailable

    Also if I go to system preferences accounts and re-enter the password it fixes the glitch sometimes.

  • Why do I get an "unable to connect - There may be a problem with the mail server or network." message from iCloud.  I have verified the settings.  I can access my iCloud account online but can't send or receive e-mail via the mail account.

    Text limits to the "Question" link prevents a full explanation:
    This is a long-time problem.  I have tried to resolve it with Apple but their "Customer Support" is merely a name.
    I can go online and access my e-mail but when I try to send or receive e-mail via iCloud through my internet server (Google fiber now but the same situation existed with my prior service), I receive "There may be a problem with the mail server or network.  Verify the settings for 'Apple Email' and try again.
    "The server returned the error:  The server 'p0-imap.mail.me.com' refused to allow a connection on port 143."
    Well, I have verified the setting and tried again and again and …
    Well, you get the idea …

    JungleTaxi Cabbie wrote:
    Csound1: iCloud: Configuring Mail with Mac OS X v10.6 or iOS 4
    Enter your Incoming Mail Server, User Name, and Password using the following settings:
    Incoming Mail Server: mail.me.com
    User Name: Your iCloud email address (excluding @me.com)
    Password: Your password
    Last Modified: Jun 27, 2013
    Maybe you should test these things before calling people out, because these settings do function perfectly well.
    iCloud is not supported on Snow Leopard or lower, why bother to mention it?
    The OP has an iCloud account, and that can not be opened without Lion or Mountain Lion (on a Mac), IOS5 or 6 (on an iPhone/iPad)
    The document I linked to is Apples documentation for iCloud on current devices,I don't care whether you believe that you know better than they do, but it will affect the people who follow your advice as it won't work
    JungleTaxi Cabbie wrote:
    Also, if you're not running Lion or Mountain Lion, there is no "Mail, Contacts & Calendars" prefpane.
    I never said that there was, perhaps you imagined it.

  • TS4532 Any idea on the timing of the software update to fix the IOS6.1 problems with Exchange 2010?

    Any idea on the timing of the SW update to fix the IOS 6.1 problem with Exchange 2010?
    victor

    In reply to Macca7275
    We moved from Blackberry to iPhone for 120 services in 2010.  We have just renewed the iPhone fleet.  Security was the issue for the business that employs me (lawyers).  When comparing the two, Blackberry performed without issue most of the time but we experienced a number of issues with the trackballs on individual phones. This was, however, the first of the Blackberry Bold models.  The expense behind the scenes was one of the major factors for the move. It was cheaper to run Exchange and iPhones than Blackberry services. Our lawyers on the whole adopted the iPhones and a number have become quite proficient at using them. We ensured that we had a means to securely wipe and lock business phones. We chose Mobile Iron for this purpose but you will find other products to do the same job. Cost is probably going to be the deciding factor here.  Our only negative factor was butterfingers resulting in smashed glass with the iPhones although I have had one user drown several phones.

  • Thawte Personal Email Cert - Problem with Mac Mail

    Hi, I have requested a free cert from Thawte and there seems to be a problem with Mac Mail (using 2.0.7).
    I am using Entourage to send a signed message from [email protected] to [email protected]
    If I check mail for [email protected]
    Mac Mail reports "There was a problem reading the digital signature for this message"
    If I check the same account with Thunderbird, everything works fine.
    Anyone else having or had problems?
    -chris

    Hi,
    Thanks for the responses. I requested another cert and that did not help. Here is the process I used after requesting another cert.
    1. Logged into www.thawte.com and requested a new cert.
    2. Using Firefox, retrieved the cert.
    3. In Firefox, backed up the cert to a pkcs12 file.
    4. Opened Keychain and deleted the first cert.
    5. Imported the pkcs12 backup file. Imported fine.
    6. Open Entourage, under tools, accounts, exchange profile, security, selected the cert Thawte Freemail Member.
    7. Checked all 3 options (sign, include cert, clear test signed.
    8. Created a test message from Entourage to .mac account address.
    9. Checked mail with Mac Mail and signature fails.
    10. Check with 1.02 Thunderbird and it comes back with valid digital signature.
    Next, I sent a test email to my Exchange account from Entourage and that message verifies fine. It just seems to not work when I check my email with Mac Mail.
    Thanks!
    -chris

  • Problems with icloud mail constantly auto-saving

    Problems with icloud mail constantly auto-saving - screen freezes. VERY frustrating. running windows 8. same problem through safari, explorer and chrome. Any suggestions to reduce auto save frequency?

    Hi Csound1
    approx every 30 seconds the browser freezes and 'saving' appears in the top bar of icloud mail. The cursor starts spinning and then after about 8 secs I can start typing again. I also fiund that about 5-6 times a day my icloud browser tab showing mail just close and return to the main icloud menu page showing icons for mail, calender, notes etc

  • Problem with exchange on my Iphone6

    I have tryed everything possible but still problem with Exchange on my Iphone6.

    What problem? You need to provide more information in order for us to help you.

  • TS3899 With Yahoo Mail, and anotare account (Inacap Mail), I can only receive mails but I can't send emails. I don't know if this is a problem of the iPad or it is a problem with yahoo mail, because using Gmail and the email of my job I don' have this pro

    With Yahoo Mail, and anotare account (Inacap Mail), I can only receive mails but I can't send emails. I don't know if this is a problem of the iPad or it is a problem with yahoo mail, because using Gmail and the email of my job I don' have this problem.

    Google them to confirm the settings that you need for the outgoing server, then check the setting you entered on the pad.  Pay real close attention to the outgoing server name, and port.  You may need to change in on the pad. 

  • Strange problem with the mail app on an iPad

    I've got a bit of a strange problem with the mail app on an iPad - it's sending and receiving mail ok but won't let you delete mail. If you keep at it, it appears as if you have deleted mail (though takes a very long time as you just have to keep deleting it over and over again) -  but the size of the app still keeps going up - reached 600mb so far, even though there is hardly any mail or attachments (goes up quite a lot each time you try to delete anything) - any idea what's causing this and how I can fix it?
    It occasionally comes up with a dialogue panel saying to check my account settings, but I have checked those and they are fine. The little 'loading' icon just keeps spinning constantly too.

    go to Settings > Mail > your account > Advanced > Move Discarded Messages Into 
    and make sure that Deleted Mailbox is ticked, and not Archive Mailbox
    You can also adjust how long the deleted mail stays in the trash immediately below that.
    If you are talking about a gmail account, you may also have to login to your account on the gmail server and update the settings there.  This is what Barney previously posted about that:

  • Problem with the "mail me" button

    Since I installed both Iweb 09 and Snow Leopard, there is a problem with the "mail me" buttons on my websites. Nothing happens when i click on it even if i see my web adress when my cursor is on the button.
    Do somebody had the same problem and do you know how to avoid it.
    Thanks a lot

    I checked your site and found that the mail me button was not overlapping or touching any other object and positioned entirely in the footer of the page. All looks good and it works for me. You might try moving the button, logo and counter to the bottom of the page content section, publish and see if that makes a difference for those computers that can't.
    Try the following on your Macbook, open Safari, clear the cache (CommandOptionE), load your site and try again. If that makes it work for your MB tell your friends to clear their caches and try again. Might be something as simple as that.

  • HT6030 I have many problems with my mail since I moved to mavericks. The filter is very sensitive, read mail appears as unread, I can't drag mail to the folders and more. I can't update the mail program as directed on this page, update says my system is u

    I have many problems with my mail since I moved to mavericks. The filter is very sensitive, read mail appears as unread, I can't drag mail to the folders and more. I can't update the mail program as directed on this page, update says my system is updated

    I don't think that a software update from Apple will solve the issues that you are having. You have a rogue installation. After you posted I have just done the following:
    Disk Utility can verify  my partitioned Volume (including my boot disk) AND REPAIR the non-boot disks on the same Volume without a glitch. It repairs the non-boot disks containing data smoothly.
    I have used Mail to send some mails from some Yahoo and Hotmail accounts to my Thunderbird client containing GMail accounts - absolutely normal.
    I have iLife '09 but my iMovie '09 and iPhoto '09 open in a jiffy and I see no issues here. I have 6GB RAM (Maximum) on an early 2008 Macbook Pro with a 750GB hard drive partitioned with 120GB reserved for the Boot Drive.
    I am sorry that I cannot help further but I am sure there must be a way to reinstall the software without having to revert to restoring your ML backup. I have two clones and if you have such I would attempt to do that through that rather than through Time Machine - that is of course if you have a cloned drive.
    Good luck!

  • I've a problem with my mail app

    I have a problem with my mail app, after upgrading mavericks.
    My mail app was worked well, before I upgrade.
    Now, my mail app is working only with icloud account.
    I can use my gmail account with safari or other web browsers, but not in the mail app.
    That was happening both of my macbook pro, and macbook air, but not on my iPad and iPhone.
    I tried deleting account and re added it, but that doesn't solve the problem.
    what should i do..??

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

Maybe you are looking for

  • IMac works fine in safe mode, extremely slow in normal mode

    Hey guys, I'm going nuts! My mac got stuck on a white screen, I ended up reinstalling Snow Leopard - now when I boot in normal mode everything is extrememly slow - when I mouse over the corner of a window (close minimise etc) is stops and takes about

  • FTP Firefox vs IE over BorderManager

    BorderManager 3.9 SP1 proxy appears to have a problem with Firefox and FTP sites. On Firefox 3.0.5 through BMgr, this URL format: ftp://ftp.domainname.com/ returns: HTTP Error Status : 401.1 Invalid Logon Credentials Description : FTP: Login to serve

  • Aperture 3 not working after upgrading to OS X Lion.

    Did a clean installation of OS X Lion and the re-installed Aperture. Now I can't see previews of pics in Aperture. Many of the pics would not open either. For the pics that open, I can't edit them as I get an error saying the master picture cannot be

  • Sales Journal Report in 4.6c

    Hi All, I need a report which should include: Company code# Doc # Amount Doc Type Doc Date Payer# Payer Name Any help would be useful

  • Outer Join with an 'OR'

    I have a very complicated query to construct that requires the use of 'AND', 'OR', and Outer Joins. Oracle's 9i documentation says you can't use an outer join with an 'OR'. Can you suggest how I may return the correct records under the following cond