Active sync sendMail command throws 103 status code

Here is my post request data :
<?xml version=\"1.0\" encoding=\"utf-8\"?>
    <SendMail xmlns=\"ComposeMail\">
        <ClientId>%d</ClientId>
        <SaveInSentItems/>
        <Mime>From: [email protected] To:
[email protected] Subject: hello MIME-Version: 1.0 Content-Type:text/plain; charset=\"iso-8859-1\" Content-Transfer-Encoding:7bit X-MimeOLE:Produced By Microsoft MimeOLE V6.00.2900.3350 Body Content.</Mime>
</SendMail>
Response i am getting :
<?xml version="1.0" encoding="utf-8" ?>
<SendMail xmlns="ComposeMail">
<Status xmlns="ComposeMail">103</Status>
</SendMail>
In header i am getting below header data :
    "Cache-Control" = private;
    "Content-Encoding" = gzip;
    "Content-Length" = 142;
    "Content-Type" = "application/vnd.ms-sync.wbxml";
    Date = "Tue, 10 Feb 2015 10:56:21 GMT";
    "MS-Server-ActiveSync" = "15.1";
    Server = "Microsoft-IIS/8.0";
    Vary = "Accept-Encoding";
    "X-AspNet-Version" = "4.0.30319";
    "X-BEServer" = BY2PR06MB903;
    "X-BackEndHttpStatus" = 200;
    "X-CalculatedBETarget" = "BY2PR06MB903.namprd06.prod.outlook.com";
    "X-DiagInfo" = BY2PR06MB903;
    "X-FEServer" = HKNPR06CA0061;
    "X-MS-ASError" = "Message = The element 'SendMail' in namespace 'ComposeMail:' cannot contain text. List of possible elements expected: 'Mime, AccountId' in namespace 'ComposeMail:' as well as 'TemplateID' in namespace 'RightsManagement:'
as well as 'SaveInSentItems, ClientId' in namespace 'ComposeMail:'.; Severity = Error, Message = The element 'SendMail' in namespace 'ComposeMail:' has incomplete content. List of possible elements expected: 'Mime, ClientId' in namespace 'ComposeMail:'.; Severity
= Error";
    "X-MS-BackOffDuration" = "L/-470";
    "X-Powered-By" = "ASP.NET";
    "request-id" = "cc8af9dc-c501-4dd5-837a-ebaee146cd3d";
Any help? 

Hi,
Thanks for your post.
The computer used for Directory Synchronization must meet the following requirements:
- It must be joined to the on premise Active Directory. It must be able to connect to all of the other Domain Controllers (DCs) for all of the forest.
- It cannot be a domain controller (thus can’t be run on SBS).
- It must run on a supported 64 bit Windows Server system which is:
o 64 bit version of Windows Server 2008 R2 SP1 Standard, Enterprise or Datacenter
o 64 bit version of Windows Server 2012 Standard or Datacenter
- It must run Microsoft .NET Framework version 3.5 SP1 and .NET Framework version 4.0
- It must run Windows PowerShell.
So i think you could not install it on SBS 2011 server.
http://blog.ciaops.com/2013/10/windows-azure-active-directory-sync.html
Regards.
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Similar Messages

  • Unassign resources from lighthouse during active sync

    I have a requirement to unassign resources during terminations. in the LDAP active sync userform , i tried the following code. it did not work, whereas disable and unlink works with this code.
    <FieldLoop for='name' in='waveset.accounts[*].name'>
    <Field name='resourceAccounts.currentResourceAccounts[$(name)].unassign'>
    <Expansion>
    <s>true</s>
    </Expansion>
    </Field>
    </FieldLoop>
    <FieldLoop for='name' in='waveset.accounts[*].name'>
    <Field name='update.resourceAccounts.currentResourceAccounts[$(name)].unassign'>
    <Expansion>
    <s>true</s>
    </Expansion>
    </Field>
    </FieldLoop>
    any help will be appreciated.
    Thanks,
    Farooq

    Hi Farooq,
    I have a requirement, to unlink a resource account (user has multiple AD accounts) where 'dn' comes dynamically in WorkFlow.
    I shall be thankful for any help,
    Shadab

  • Active Sync delete/change command for contacts

    Hi,
    I am trying to write Active Sync client for exchange server. I am able to add contacts to server with help of sync command but facing issue in change/delete. I am sending delete command for 2:3 but i am getting same item in add command from server. Also
    item is not deleted from server. For change I am getting similarly status as 8. Below is request and response  xml for delete command:
    Request:
      <?xml version="1.0" encoding="utf-8"
    ?>
    <Sync xmlns:contacts="Contacts" xmlns="AirSync">
    <Collections>
    <Collection>
      <SyncKey>1895711361</SyncKey>
      <CollectionId>2</CollectionId>
      <DeletesAsMoves>0</DeletesAsMoves>
      <GetChanges>1</GetChanges>
      <WindowSize>512</WindowSize>
    <Commands>
    <Delete>
      <ServerId>2:3</ServerId>
      </Delete>
      </Commands>
      </Collection>
      </Collections>
      </Sync>
    Response:
    <Sync xmlns:airsyncbase="AirSyncBase" xmlns:contacts="Contacts" xmlns:contacts2="Contacts2"
    xmlns="AirSync">
    <Collections>
    <Collection>
      <SyncKey>1823493022</SyncKey>
      <CollectionId>2</CollectionId>
      <Status>1</Status>
    <Commands>
    <Add>
      <ServerId>2:1</ServerId>
    <ApplicationData>
    <airsyncbase:Body>
      <airsyncbase:Type>1</airsyncbase:Type>
      <airsyncbase:EstimatedDataSize>0</airsyncbase:EstimatedDataSize>
      <airsyncbase:Truncated>1</airsyncbase:Truncated>
      </airsyncbase:Body>
      <contacts:FileAs>Jaiswal, Dhruv</contacts:FileAs>
      <contacts:FirstName>Dhruv</contacts:FirstName>
      <contacts:LastName>Jaiswal</contacts:LastName>
      <airsyncbase:NativeBodyType>1</airsyncbase:NativeBodyType>
      </ApplicationData>
      </Add>
    <Add>
      <ServerId>2:2</ServerId>
    <ApplicationData>
    <airsyncbase:Body>
      <airsyncbase:Type>1</airsyncbase:Type>
      <airsyncbase:EstimatedDataSize>0</airsyncbase:EstimatedDataSize>
      <airsyncbase:Truncated>1</airsyncbase:Truncated>
      </airsyncbase:Body>
      <contacts:Department>Mobility</contacts:Department>
      <contacts:FileAs>Yadav, Pankaj Kumar</contacts:FileAs>
      <contacts:FirstName>Pankaj</contacts:FirstName>
      <contacts:MiddleName>Kumar</contacts:MiddleName>
      <contacts:CompanyName>Dell</contacts:CompanyName>
      <contacts:AssistantName>n/a</contacts:AssistantName>
      <contacts:LastName>Yadav</contacts:LastName>
      <contacts:JobTitle>S/W Dev Advisor</contacts:JobTitle>
      <contacts:OfficeLocation>Dell sec 125</contacts:OfficeLocation>
      <contacts2:ManagerName>Kamal</contacts2:ManagerName>
      <airsyncbase:NativeBodyType>1</airsyncbase:NativeBodyType>
      </ApplicationData>
      </Add>
    <Add>
      <ServerId>2:3</ServerId>
    <ApplicationData>
    <airsyncbase:Body>
      <airsyncbase:Type>1</airsyncbase:Type>
      <airsyncbase:EstimatedDataSize>0</airsyncbase:EstimatedDataSize>
      <airsyncbase:Truncated>1</airsyncbase:Truncated>
      </airsyncbase:Body>
      <contacts:FileAs>lastname, pankajtest1</contacts:FileAs>
      <contacts:FirstName>pankajtest1</contacts:FirstName>
      <contacts:HomeAddressCountry>India</contacts:HomeAddressCountry>
      <contacts:HomeAddressStreet>dell</contacts:HomeAddressStreet>
      <contacts:CompanyName>dell</contacts:CompanyName>
      <contacts:OtherAddressCity>noida</contacts:OtherAddressCity>
      <contacts:OtherAddressCountry>India</contacts:OtherAddressCountry>
      <contacts:OtherAddressStreet>123</contacts:OtherAddressStreet>
      <contacts:LastName>lastname</contacts:LastName>
      <contacts:BusinessPhoneNumber>98615272327</contacts:BusinessPhoneNumber>
      <contacts:JobTitle>s/w</contacts:JobTitle>
      <contacts:OfficeLocation>dell</contacts:OfficeLocation>
      <airsyncbase:NativeBodyType>1</airsyncbase:NativeBodyType>
      </ApplicationData>
      </Add>
      </Commands>
      </Collection>
      </Collections>
      </Sync>
    Please tell me what I am doing wrong here.
    regards,
    pankaj

    Hi pankaj,
    Sorry for the lack of knowledge on coding. I suggest asking MSDN forum for help so that we can get more professional suggestions. For your convenience:
    http://social.msdn.microsoft.com/Forums/en-US/home?category=exchangeserver&filter=alltypes&sort=lastpostdesc
    Thanks
    Mavis
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Mavis Huang
    TechNet Community Support

  • What HTTP status code will client receive if dopost throws an exception?

    If my servlet code is written this way:
         public void doPost(HttpServletRequest req, HttpServletResponse res)
                                throws ServletException {
               throw new Exception("Test dopost exception");
            }What HTTP status code will client receive?
    Then what about this code?
         public void doPost(HttpServletRequest req, HttpServletResponse res)
                                throws ServletException {
               throw new ServletException("Test dopost exception");
            }Thanks!

    KKnight wrote:
    I wrote code to make a test.I would have answered exactly that. You're the developer here, are you? :)

  • Order Activity rules and status code protection

    Hi
    Just a quick question on status code protection settings with regards to order activity rules.
    If order activity rules are configured so that certain statusses can be bypassed. ie. (Approval of purchase orders for instance).
    Will status code protection when set active, prevent status codes from being bypassed in the order activity rules? In other words the Purchase order must follow the normal status codes as layed out in the order activity rules?
    Any reponse will be appreciated.

    In any case, you shouldn't be doing any includes in Application.cfc(side note: capital A). The application file is not meant for presenting CFM pages. Translate all such includes into logic involving, for example, cflocation.

  • Bug in sample code of Exchange Activ Sync cause birthday shift

    Dear Apple Development Team,
    Continuing the archived discussion 'Exchange Birthday Shifted by 1 day' I just want to inform you that Microsoft identified the reason for shifted birthdays using Exchange Active Sync. According to Microsoft the mentioned problem is not caused by a server-related problem, but due to an error in a Microsoft sample code which was used in Windows Mobile 6.5, Windows Phone 7, Hotmail Outlook Connector and even in iOS. That means that the client side connection was developed incorrectly. Microsoft and Apple copied the incorrect code from time to time using the mentioned Exchange code in their software (iOS, etc).
    However, Microsoft already fixed the birthday bug within the latest update of the Outlook Hotmail Connector (please check changelog) as well as in the current update of Windows Phone 7.5 (Mango). For more information please check the following sites:
    German: http://answers.microsoft.com/de-de/winphone/forum/wp7-sync/geburtstags-bug/15075 df5-27f3-4518-8e27-b228d4eaab06?page=1
    English: http://answers.microsoft.com/en-us/winphone/forum/wp7-sync/birthdays-are-always- set-one-day-earlier-when/b3d16871-ca24-4a26-a0fc-5b0437904a22
    Due to the fact, that the mentioned problem isn't fixed in iOS until now, I would be glad if Apple could fix it as soon as possible, too. This bug is really annoying.
    Best regards,
    Hannes

    Hi,
    as far as I know the bug is fixed in Hotmail Outlook Connector now. But in the Windows Phone Mango release the bug is still active in "some" cases (for birthdays in the winter time everything is fine and for birthdays in summer time the bug is still there - or vice versa ).
    Does Apple plan to fix that bug somehow? As the bug can be fixed with a new release of Outlook connector and partly fixed in the new Windows Phone release it should be a failure in the code of the mobile devices and not with the Hotmail servers - so Apple developers have to work on that.
    Does anybody know when this annoying bug will be fixed?
    Cheers,
    Marcel

  • Does the new command 2 binary format work with Apple Push Notification Service? I receive an invalid response status code of 128.

    Does the new command 2 binary format work with Apple Push Notification Service? I am sending 2 messages with the same payload to 2 different devices. None of the messages display on either of the devices. It seems that at least 3 should have been displayed. For my first device, I received a response with an invalid status code of 128 and the message identifier is 2 indicating that the first message was OK. However no message was displayed on the phone. For the second device, I did not receive any error response, but no message was displayed on the device.
    Does ANS perform any validation on the message identifier? The Local and Push Notification Programmin Guide says the message identifier is:
    An arbitrary, opaque value that identifies this notification. This identifier is used for reporting errors to your server.
    I know that the device tokens are valid because the same tokens work when I use the legacy basic or enhanced formats. The phones display the messages correctly when I send to ANS using the old ANS message format.
    Here is the data and the response:
    Sent to ANS: 2 0 0 0 158 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 2 4 0 4 83 7 119 141 5 0 1 5 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 3 4 0 4 83 7 119 141 5 0 1 5
    ANS returned an error: 8 128 0 0 0 2
    Sent to ANS: 2 0 0 0 158 1 0 32 4 239 182 26 13 237 170 136 41 243 181 57 120 208 135 19 101 102 212 70 55 244 251 255 160 125 82 9 10 143 72 17 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 5 4 0 4 83 7 119 147 5 0 1 5 1 0 32 4 239 182 26 13 237 170 136 41 243 181 57 120 208 135 19 101 102 212 70 55 244 251 255 160 125 82 9 10 143 72 17 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 6 4 0 4 83 7 119 147 5 0 1 5
    ANS did not return a response.

    Hello, can you please help me ?
    You specified sample payload here:
    TerrellFromLockhart wrote:
    I finally got this to work. The picture in the Programming Guide is very confusing. The solution was to prefix every message's frame data with command 2 and that messsage's frame data length. Here is a sample:
    ANS frame: 2 0 0 0 77 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 21 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 63 34 125 125 3 0 4 0 0 0 2 4 0 4 83 7 199 195 5 0 1 10 2 0 0 0 77 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 21 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 63 34 125 125 3 0 4 0 0 0 3 4 0 4 83 7 199 195 5 0 1 10 2 0 0 0 77 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 21 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 63 34 125 125 3 0 4 0 0 0 4 4 0 4 83 7 199 195 5 0 1 10
    About to read response at Thu Feb 20 15:40:20 CST 2014
    SocketTimeoutException
    2 - is clearly command
    0 0 0 77 - frame length
    1 - item Id
    what's 0 32 ? According to this page https://developer.apple.com/library/ios/documentation/NetworkingInternet/Concept ual/RemoteNotificationsPG/Chapters/Commu…
    Item id  should be followed by item length. But item length is obviously greater than 32 because device token's length is 32. Can you please explain why 0 32 were used? and do you have any insight on item id meaning ?

  • Error executing RDS command. Status Code : 503 , Reason : Service Unavailable

    Hi,
    I am being trying to connect a Flex desktop application with a Java application running in Tomcat (6.0.29), and I get this error message when trying to use the Data wizard to connect with Blaze DS.
    I have read all the tutorials and everything looks good from the server side. This is what appears in the server log:
    2011-01-27 16:02:33,030 [ INFO] - RemotingDestinationExporter - Created remoting destination with id 'accounts'
    2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Remoting destination 'accounts' has been started started successfully.
    2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Created remoting destination with id 'customers'
    2011-01-27 16:02:33,046 [ INFO] - RemotingDestinationExporter - Remoting destination 'customers' has been started started successfully.
    2011-01-27 16:02:33,061 [ INFO] - FrameworkServlet - FrameworkServlet 'flex': initialization completed in 3887 ms
    2011-01-27 16:02:50,813 [ INFO] - MessageBrokerHandlerAdapter - Channel endpoint my-amf received request.
    2011-01-27 16:43:42,897 [ INFO] - MessageBrokerHandlerAdapter - Channel endpoint my-amf received request.
    (The last two lines appears when I put the AMF channel's URI in a browser).
    Below is what appears in the Event log from Eclipse.
    java.lang.RuntimeException: java.lang.RuntimeException: RDS server message:
    Error executing RDS command. Status Code : 503 , Reason : Service Unavailable
    at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.setVisible(J2EEServicePage.jav a:149)
    at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1171)
    at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1149)
    at org.eclipse.jface.wizard.WizardDialog$5.run(WizardDialog.java:1138)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1136)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:830)
    at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizardDialog.nextPressed(ServiceWizardD ialog.java:93)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.show(ServiceWizard.java:190)
    at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.createService(ServiceWizard.java :152)
    at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:528)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
    at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
    at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
    at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
    at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
    at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
    at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
    at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
    Caused by: java.lang.RuntimeException: RDS server message:
    Error executing RDS command. Status Code : 503 , Reason : Service Unavailable
    at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.initialize(J2EEServicePage.jav a:187)
    at com.adobe.flexbuilder.services.j2eeservice.J2EEServicePage.setVisible(J2EEServicePage.jav a:136)
    ... 61 more
    Any help wolud be appreciated.
    Thanks

    Hi There,
    I am getting the same error. can anyone tell me what could be problem?

  • Error executing RDS Command Status Code 504

    Hi,
    I'm new to the flex world & was trying out the testdrive application at http://www.adobe.com/devnet/flex/testdrive/articles/1_build_a_flex_app2.html
    I've installed Flex Flash builder 4 on top of my eclipse installation and I'm using Tomcat as the servlet container for deploying the testDrive WAR file (which contains the remote services).
    When I try to connect to the 'BlazeDS' from Data-> Connect to BlazeDS option; I get a Status code - 504, Reason: Connect Error.
    Can anyone please point me to the right direction, I've tried everything I could but no luck.
    Thanks in advance for your time.
    Cheers,
    J

    With all the problems people have with this error, you'd think there would be a FAQ about it. is this it? no answers?
    no one knows why this happens with eclipse/FB4 on a windows xp system? is this the kind of support you get from Adobe?
    this is EXTREMELY frustrating!!!!!!! please Adobe,HHHEELLPPP!!!!!

  • Active Sync - No data displayed in Outlook 2013

    Hello,
    We are currently developing Active Sync support for SOGo (www.sogo.nu). Everything works well with Android and iOS based devices but Outlook 2013 doesn't work.
    The FolderSync command works well, but the initial Sync request seems to be ignored by Outlook, as it keeps sending it over and over. Here is the initial FolderSync response:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
    <FolderSync xmlns="FolderHierarchy:">
      <Status>1</Status>
      <SyncKey>1</SyncKey>
      <Changes>
        <Count>9</Count>
        <Add>
          <ServerId>mail/INBOX</ServerId>
          <ParentId>0</ParentId>
          <Type>2</Type>
          <DisplayName>INBOX</DisplayName>
        </Add>
        <Add>
          <ServerId>mail/Drafts</ServerId>
          <ParentId>0</ParentId>
          <Type>3</Type>
          <DisplayName>Drafts</DisplayName>
        </Add>
        <Add>
          <ServerId>mail/Sent</ServerId>
          <ParentId>0</ParentId>
          <Type>5</Type>
          <DisplayName>Sent</DisplayName>
        </Add>
        <Add>
          <ServerId>mail/Trash</ServerId>
          <ParentId>0</ParentId>
          <Type>4</Type>
          <DisplayName>Trash</DisplayName>
        </Add>
        <Add>
          <ServerId>mail/Aaaaappppp</ServerId>
          <ParentId>0</ParentId>
          <Type>12</Type>
          <DisplayName>Aaaaappppp</DisplayName>
        </Add>
        <Add>
          <ServerId>mail/Shared Folders/bar</ServerId>
          <ParentId>0</ParentId>
          <Type>12</Type>
          <DisplayName>Dossiers partagés/bar</DisplayName>
        </Add>
        <Add>
          <ServerId>vevent/personal</ServerId>
          <ParentId>0</ParentId>
          <Type>8</Type>
          <DisplayName>Personal Calendar</DisplayName>
        </Add>
        <Add>
          <ServerId>vtodo/personal</ServerId>
          <ParentId>0</ParentId>
          <Type>7</Type>
          <DisplayName>Personal Calendar</DisplayName>
        </Add>
        <Add>
          <ServerId>vcard/personal</ServerId>
          <ParentId>0</ParentId>
          <Type>9</Type>
          <DisplayName>Personal Address Book</DisplayName>
        </Add>
      </Changes>
    </FolderSync>
    Here is the initial Sync response:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
    <Sync xmlns="AirSync:">
      <Collections>
        <Collection>
          <SyncKey>-1</SyncKey>
          <CollectionId>mail/INBOX</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>-1</SyncKey>
          <CollectionId>vevent/personal</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>-1</SyncKey>
          <CollectionId>vcard/personal</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>-1</SyncKey>
          <CollectionId>mail/Trash</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>-1</SyncKey>
          <CollectionId>mail/Sent</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>-1</SyncKey>
          <CollectionId>vtodo/personal</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>-1</SyncKey>
          <CollectionId>mail/Aaaaappppp</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>-1</SyncKey>
          <CollectionId>mail/Shared Folders/bar</CollectionId>
          <Status>1</Status>
        </Collection>
      </Collections>
    </Sync>
    After that, here is the other Sync response:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
    <Sync xmlns="AirSync:">
      <Collections>
        <Collection>
          <SyncKey>127-317</SyncKey>
          <CollectionId>mail/INBOX</CollectionId>
          <Status>1</Status>
          <Commands>
            <Add xmlns="AirSync:">
              <ServerId xmlns="AirSync:">125</ServerId>
              <ApplicationData xmlns="AirSync:">
                <From xmlns="Email:">[email protected]</From>
                <To xmlns="Email:">[email protected]</To>
                <Subject xmlns="Email:">test plain 1</Subject>
                <DateReceived xmlns="Email:">20140114T133337Z</DateReceived>
                <Importance xmlns="Email:">1</Importance>
                <Read xmlns="Email:">1</Read>
                <MessageClass xmlns="Email:">IPM.Note</MessageClass>
                <InternetCPID xmlns="Email:">65001</InternetCPID>
                <Body xmlns="AirSyncBase:">
                  <Type>4</Type>
                  <EstimatedDataSize>772</EstimatedDataSize>
                  <Truncated>0</Truncated>
                  <Data>Return-Path: &lt;[email protected]&gt;
    Received: from sogo.example.com (localhost [127.0.0.1])
             by sogo (Cyrus v2.4.12-Debian-2.4.12-2) with LMTPA;
             Tue, 14 Jan 2014 08:33:37 -0500
    X-Sieve: CMU Sieve 2.4
    Received: from localhost (localhost [127.0.0.1])
            by sogo.example.com (Postfix) with ESMTP id AA70A2801A1
            for &lt;[email protected]&gt;; Tue, 14 Jan 2014 08:33:37 -0500 (EST)
    User-Agent: SOGoMail 2.1.2
    X-Forward: 172.20.20.7
    MIME-Version: 1.0
    from: "Wolfgang Fritz" &lt;[email protected]&gt;
    subject: test plain 1
    message-id: &lt;6a3b-52d53c80-1-61634300@97912150&gt;
    to: "sogo10" &lt;[email protected]&gt;
    content-type: text/plain; charset="utf-8"
    date: Tue, 14 Jan 2014 08:33:37 -0500
    content-transfer-encoding: 7bit
    test plain 1
    </Data>
                </Body>
                <ContentClass xmlns="Email:">urn:content-classes:message</ContentClass>
                <Flag xmlns="Email:">
                  <FlagStatus>0</FlagStatus>
                </Flag>
                <NativeBodyType xmlns="AirSyncBase:">4</NativeBodyType>
              </ApplicationData>
            </Add>
            <Add xmlns="AirSync:">
              <ServerId xmlns="AirSync:">126</ServerId>
              <ApplicationData xmlns="AirSync:">
                <From xmlns="Email:">[email protected]</From>
                <To xmlns="Email:">[email protected]</To>
                <Subject xmlns="Email:">Event Invitation: "test meeting 1"</Subject>
                <DateReceived xmlns="Email:">20140114T151104Z</DateReceived>
                <Importance xmlns="Email:">1</Importance>
                <Read xmlns="Email:">1</Read>
                <MessageClass xmlns="Email:">IPM.Note</MessageClass>
                <InternetCPID xmlns="Email:">65001</InternetCPID>
                <Body xmlns="AirSyncBase:">
                  <Type>4</Type>
                  <EstimatedDataSize>3310</EstimatedDataSize>
                  <Truncated>0</Truncated>
                  <Data>Return-Path: &lt;[email protected]&gt;
    Received: from sogo.example.com (localhost [127.0.0.1])
             by sogo (Cyrus v2.4.12-Debian-2.4.12-2) with LMTPA;
             Tue, 14 Jan 2014 10:11:04 -0500
    X-Sieve: CMU Sieve 2.4
    Received: from localhost (localhost [127.0.0.1])
            by sogo.example.com (Postfix) with ESMTP id 9A0C7280C68
            for &lt;[email protected]&gt;; Tue, 14 Jan 2014 10:11:04 -0500 (EST)
    x-sogo-message-type: calendar:invitation
    MIME-Version: 1.0
    content-type: multipart/mixed; boundary="----=_=-_OpenGroupware_org_NGMime-29284-1389712264.533830-0------"
    date: Tue, 14 Jan 2014 10:11:04 -0500
    from: "Wolfgang Fritz" &lt;[email protected]&gt;
    subject: Event Invitation: "test meeting 1"
    to: "sogo10" &lt;[email protected]&gt;
    Message-Id: &lt;[email protected]&gt;
    ------=_=-_OpenGroupware_org_NGMime-29284-1389712264.533830-0------
    content-type: text/html; charset=utf-8
    &lt;html&gt;
      &lt;head&gt;
        &lt;style type="text/css"&gt;
    .container { max-width: 600px; }
    h1 { font-size: 18px; font-weight: normal; padding-bottom: 9px; border-bottom: 1px solid #ccc; }
    h1 small { font-size: 12px; color: #999; }
    .dl-horizontal dt { float: left; width: 120px; overflow: hidden; clear: left; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
    dt { font-weight: bold; line-height: 17px; }
    dt, dd { font-size: 12px; line-height: 18px; }
    dt { display: block; }
    h1, dd, .dl-list dt { margin-left: 130px; }
        &lt;/style&gt;
      &lt;/head&gt;
      &lt;body&gt;
        &lt;div class="container"&gt;
          &lt;h1&gt;Event Invitation: "test meeting 1"
          &lt;small&gt;Wolfgang Fritz&lt;/small&gt;&lt;/h1&gt;
          &lt;dl class="dl-horizontal"&gt;
            &lt;dt&gt;Start:&lt;/dt&gt;
            &lt;dd&gt;Wednesday, January 15, 2014 - 08:00 America/Montreal
               &lt;/dd&gt;
            &lt;dt&gt;End:&lt;/dt&gt;
            &lt;dd&gt;Wednesday, January 15, 2014 - 09:00 America/Montreal
               &lt;/dd&gt;
          &lt;/dl&gt;
        &lt;/div&gt;
      &lt;/body&gt;
    &lt;/html&gt;
    ------=_=-_OpenGroupware_org_NGMime-29284-1389712264.533830-0------
    content-type: text/calendar; method=REQUEST; charset="ISO-8859-1"
    content-transfer-encoding: quoted-printable
    Content-Class: urn:content-classes:calendarmessage
    BEGIN:VCALENDAR
    PRODID:-//Inverse inc./SOGo 2.1.2//EN
    VERSION:2.0
    METHOD:REQUEST
    BEGIN:VTIMEZONE
    TZID:America/Montreal
    X-LIC-LOCATION:America/Montreal
    BEGIN:DAYLIGHT
    TZOFFSETFROM:-0500
    TZOFFSETTO:-0400
    TZNAME:EDT
    DTSTART:19700308T020000
    RRULE:FREQ=3DYEARLY;BYMONTH=3D3;BYDAY=3D2SU
    END:DAYLIGHT
    BEGIN:STANDARD
    TZOFFSETFROM:-0400
    TZOFFSETTO:-0500
    TZNAME:EST
    DTSTART:19701101T020000
    RRULE:FREQ=3DYEARLY;BYMONTH=3D11;BYDAY=3D1SU
    END:STANDARD
    END:VTIMEZONE
    BEGIN:VEVENT
    UID:7264-52D55380-1-3CD17680
    SUMMARY:test meeting 1
    CLASS:PUBLIC
    ATTENDEE;PARTSTAT=3DNEEDS-ACTION;CN=3Dsogo10;ROLE=3DREQ-PARTICIPANT;RSV=
    P=3DTRUE:mai
     lto:[email protected]
    ORGANIZER;CN=3DWolfgang Fritz:mailto:[email protected]
    CREATED:20140114T151104Z
    DTSTAMP:20140114T151104Z
    LAST-MODIFIED:20140114T151104Z
    DTSTART;TZID=3DAmerica/Montreal:20140115T080000
    DTEND;TZID=3DAmerica/Montreal:20140115T090000
    TRANSP:OPAQUE
    END:VEVENT
    END:VCALENDAR
    ------=_=-_OpenGroupware_org_NGMime-29284-1389712264.533830-0--------
    </Data>
                </Body>
                <ContentClass xmlns="Email:">urn:content-classes:message</ContentClass>
                <Flag xmlns="Email:">
                  <FlagStatus>0</FlagStatus>
                </Flag>
                <NativeBodyType xmlns="AirSyncBase:">4</NativeBodyType>
              </ApplicationData>
            </Add>
          </Commands>
        </Collection>
        <Collection>
          <SyncKey>1390234625</SyncKey>
          <CollectionId>vevent/personal</CollectionId>
          <Status>1</Status>
          <Commands>
            <Add xmlns="AirSync:">
              <ServerId xmlns="AirSync:">1358-52DD4C00-7-1C8F5920.ics</ServerId>
              <ApplicationData xmlns="AirSync:">
                <StartTime xmlns="Calendar:">20140120T130000Z</StartTime>
                <EndTime xmlns="Calendar:">20140120T133000Z</EndTime>
                <TimeZone xmlns="Calendar:">LAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwGQsAAAABAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQFwMAAAACAAIAAAAAAAAAxP///w==</TimeZone>
                <Organizer_Email xmlns="Calendar:"/>
                <Organizer_Name xmlns="Calendar:"/>
                <Subject xmlns="Calendar:">test meeting 1</Subject>
                <UID xmlns="Calendar:">040000008200E00074C5B7101A82E0080000000050837F27D115CF01000000000000000010000000CDB129B5CE29804CB432AF17CBC48EB5</UID>
                <Sensitivity xmlns="Calendar:">0</Sensitivity>
                <BusyStatus xmlns="Calendar:">0</BusyStatus>
              </ApplicationData>
            </Add>
          </Commands>
        </Collection>
        <Collection>
          <SyncKey>1390234548</SyncKey>
          <CollectionId>vcard/personal</CollectionId>
          <Status>1</Status>
          <Commands>
            <Add xmlns="AirSync:">
              <ServerId xmlns="AirSync:">1358-52DD4B80-5-1C8F5920.vcf</ServerId>
              <ApplicationData xmlns="AirSync:">
                <LastName xmlns="Contacts:">Brocoli</LastName>
                <FirstName xmlns="Contacts:">Annie</FirstName>
              </ApplicationData>
            </Add>
          </Commands>
        </Collection>
        <Collection>
          <SyncKey>214-74</SyncKey>
          <CollectionId>mail/Trash</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>104-118</SyncKey>
          <CollectionId>mail/Sent</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>1390234625</SyncKey>
          <CollectionId>vtodo/personal</CollectionId>
          <Status>1</Status>
          <Commands>
            <Add xmlns="AirSync:">
              <ServerId xmlns="AirSync:">1358-52DD4B00-1-1C8F5920.ics</ServerId>
              <ApplicationData xmlns="AirSync:">
                <Complete xmlns="Tasks:">0</Complete>
                <DateCompleted xmlns="Tasks:">(null)</DateCompleted>
                <Importance xmlns="Tasks:">1</Importance>
                <ReminderSet xmlns="Tasks:">0</ReminderSet>
                <Sensitivity xmlns="Tasks:">0</Sensitivity>
                <Subject xmlns="Tasks:">test 2</Subject>
              </ApplicationData>
            </Add>
          </Commands>
        </Collection>
        <Collection>
          <SyncKey>1-1</SyncKey>
          <CollectionId>mail/Aaaaappppp</CollectionId>
          <Status>1</Status>
        </Collection>
        <Collection>
          <SyncKey>1-1</SyncKey>
          <CollectionId>mail/Shared Folders/bar</CollectionId>
          <Status>1</Status>
        </Collection>
      </Collections>
    </Sync>
    As you can see, there are 2 mails, 1 event and 1 contact.
    Can anyone tell me what could be wrong in our response which could lead Outlook 2013 to reject it?
    Thanks,

    I enabled logging in Outlook 2010 and here is a the failure trying to synchronize one single mail:
    - <eas>
      <Url>https://sogoludo.inverse.ca/Microsoft-Server-ActiveSync?Cmd=Sync&User=sogo10&DeviceId=E820059D81C44570ADE521CE7B1E1494&DeviceType=WindowsOutlook15</Url> 
      <Method>POST</Method> 
      <Username>sogo10</Username> 
    - <request>
      <headers>Accept-Encoding: gzip, deflate Content-Type: application/vnd.ms-sync.wbxml MS-ASProtocolVersion: 14.0 X-MS-WL: Outlook/1.0 X-TransactionID: {5B6DFE82-0F0F-4703-8647-81BD1E7E193B}</headers> 
    - <a0_Sync>
    - <a0_Collections>
    - <a0_Collection>
      <a0_SyncKey>131-337</a0_SyncKey> 
      <a0_CollectionId>mail/INBOX</a0_CollectionId> 
      <a0_DeletesAsMoves>0</a0_DeletesAsMoves> 
      <a0_WindowSize>512</a0_WindowSize> 
    - <a0_Options>
      <a0_FilterType>5</a0_FilterType> 
      <a0_MimeSupport>2</a0_MimeSupport> 
      <a0_MimeTruncation>8</a0_MimeTruncation> 
    - <a17_BodyPreference>
      <a17_BodyType>4</a17_BodyType> 
      <a17_AllOrNone>1</a17_AllOrNone> 
      </a17_BodyPreference>
      </a0_Options>
      </a0_Collection>
    - <a0_Collection>
      <a0_SyncKey>1390353472</a0_SyncKey> 
      <a0_CollectionId>vevent/personal</a0_CollectionId> 
      <a0_DeletesAsMoves>0</a0_DeletesAsMoves> 
      <a0_WindowSize>512</a0_WindowSize> 
    - <a0_Options>
      <a0_FilterType>0</a0_FilterType> 
    - <a17_BodyPreference>
      <a17_BodyType>1</a17_BodyType> 
      <a17_AllOrNone>1</a17_AllOrNone> 
      </a17_BodyPreference>
      </a0_Options>
      </a0_Collection>
    - <a0_Collection>
      <a0_SyncKey>1390353298</a0_SyncKey> 
      <a0_CollectionId>vcard/personal</a0_CollectionId> 
      <a0_DeletesAsMoves>0</a0_DeletesAsMoves> 
      <a0_WindowSize>512</a0_WindowSize> 
    - <a0_Options>
      <a0_FilterType>0</a0_FilterType> 
    - <a17_BodyPreference>
      <a17_BodyType>1</a17_BodyType> 
      <a17_AllOrNone>1</a17_AllOrNone> 
      </a17_BodyPreference>
      </a0_Options>
      </a0_Collection>
    - <a0_Collection>
      <a0_SyncKey>222-86</a0_SyncKey> 
      <a0_CollectionId>mail/Trash</a0_CollectionId> 
      <a0_DeletesAsMoves>0</a0_DeletesAsMoves> 
      <a0_WindowSize>512</a0_WindowSize> 
    - <a0_Options>
      <a0_FilterType>5</a0_FilterType> 
      <a0_MimeSupport>2</a0_MimeSupport> 
      <a0_MimeTruncation>8</a0_MimeTruncation> 
    - <a17_BodyPreference>
      <a17_BodyType>4</a17_BodyType> 
      <a17_AllOrNone>1</a17_AllOrNone> 
      </a17_BodyPreference>
      </a0_Options>
      </a0_Collection>
    - <a0_Collection>
      <a0_SyncKey>106-122</a0_SyncKey> 
      <a0_CollectionId>mail/Sent</a0_CollectionId> 
      <a0_DeletesAsMoves>0</a0_DeletesAsMoves> 
      <a0_WindowSize>512</a0_WindowSize> 
    - <a0_Options>
      <a0_FilterType>5</a0_FilterType> 
      <a0_MimeSupport>2</a0_MimeSupport> 
      <a0_MimeTruncation>8</a0_MimeTruncation> 
    - <a17_BodyPreference>
      <a17_BodyType>4</a17_BodyType> 
      <a17_AllOrNone>1</a17_AllOrNone> 
      </a17_BodyPreference>
      </a0_Options>
      </a0_Collection>
    - <a0_Collection>
      <a0_SyncKey>1390353472</a0_SyncKey> 
      <a0_CollectionId>vtodo/personal</a0_CollectionId> 
      <a0_DeletesAsMoves>0</a0_DeletesAsMoves> 
      <a0_WindowSize>512</a0_WindowSize> 
    - <a0_Options>
      <a0_FilterType>0</a0_FilterType> 
    - <a17_BodyPreference>
      <a17_BodyType>1</a17_BodyType> 
      <a17_AllOrNone>1</a17_AllOrNone> 
      </a17_BodyPreference>
      </a0_Options>
      </a0_Collection>
      </a0_Collections>
      <a0_WindowSize>32</a0_WindowSize> 
      </a0_Sync>
      </request>
    - <response>
      <headers>: HTTP/1.1 200 OK Connection: Keep-Alive Content-Length: 1192 Content-Type: application/vnd.ms-sync.wbxml Date: Wed, 22 Jan 2014 01:27:42 GMT Keep-Alive: timeout=5, max=60 MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,Search,Settings,Ping,ItemOperations,Provision,ResolveRecipients,ValidateCert
    MS-ASProtocolVersions: 2.0,2.1,2.5,12.0,12.1,14.0,14.1 MS-Server-ActiveSync: 14.0</headers> 
    - <a0_Sync>
    - <a0_Collections>
    - <a0_Collection>
      <a0_Class>Email</a0_Class> 
      <a0_SyncKey>132-338</a0_SyncKey> 
      <a0_CollectionId>mail/INBOX</a0_CollectionId> 
      <a0_Status>1</a0_Status> 
    - <a0_Commands>
    - <a0_Add>
      <a0_ServerId>131</a0_ServerId> 
    - <a0_ApplicationData>
      <a2_From>[email protected]</a2_From> 
      <a2_To>[email protected]</a2_To> 
      <a2_Subject>test plain text</a2_Subject> 
      <a2_DateReceived>20140122T012742Z</a2_DateReceived> 
      <a2_Importance>1</a2_Importance> 
      <a2_Read>0</a2_Read> 
      <a2_MessageClass>IPM.Note</a2_MessageClass> 
      <a2_InternetCPID>65001</a2_InternetCPID> 
    - <a17_Body>
      <a17_BodyType>4</a17_BodyType> 
      <a17_EstimatedDataSize>770</a17_EstimatedDataSize> 
      <a17_Truncated>0</a17_Truncated> 
      <a17_Data>Return-Path: <[email protected]> Received: from sogo.example.com (localhost [127.0.0.1]) by sogo (Cyrus v2.4.12-Debian-2.4.12-2) with LMTPA; Tue, 21 Jan 2014 20:27:42 -0500 X-Sieve: CMU Sieve 2.4 Received: from localhost (localhost
    [127.0.0.1]) by sogo.example.com (Postfix) with ESMTP id 596562808E3 for <[email protected]>; Tue, 21 Jan 2014 20:27:42 -0500 (EST) User-Agent: SOGoMail 2.1.2 X-Forward: 172.21.0.10 MIME-Version: 1.0 from: "Wolfgang Fritz" <[email protected]>
    subject: test plain text message-id: <7240-52df1e80-3-34827b00@260596697> to: "sogo10" <[email protected]> content-type: text/plain; charset="utf-8" date: Tue, 21 Jan 2014 20:27:42 -0500 content-transfer-encoding: 7bit test 1</a17_Data> 
      </a17_Body>
      <a2_ContentClass>urn:content-classes:message</a2_ContentClass> 
    - <a2_Flag>
      <a2_FlagStatus>0</a2_FlagStatus> 
      </a2_Flag>
      <a17_NativeBodyType>4</a17_NativeBodyType> 
      </a0_ApplicationData>
      </a0_Add>
      </a0_Commands>
      </a0_Collection>
    - <a0_Collection>
      <a0_Class>Calendar</a0_Class> 
      <a0_SyncKey>1390353472</a0_SyncKey> 
      <a0_CollectionId>vevent/personal</a0_CollectionId> 
      <a0_Status>1</a0_Status> 
      </a0_Collection>
    - <a0_Collection>
      <a0_Class>Contacts</a0_Class> 
      <a0_SyncKey>1390353298</a0_SyncKey> 
      <a0_CollectionId>vcard/personal</a0_CollectionId> 
      <a0_Status>1</a0_Status> 
      </a0_Collection>
    - <a0_Collection>
      <a0_Class>Email</a0_Class> 
      <a0_SyncKey>222-86</a0_SyncKey> 
      <a0_CollectionId>mail/Trash</a0_CollectionId> 
      <a0_Status>1</a0_Status> 
      </a0_Collection>
    - <a0_Collection>
      <a0_Class>Email</a0_Class> 
      <a0_SyncKey>106-122</a0_SyncKey> 
      <a0_CollectionId>mail/Sent</a0_CollectionId> 
      <a0_Status>1</a0_Status> 
      </a0_Collection>
    - <a0_Collection>
      <a0_Class>Tasks</a0_Class> 
      <a0_SyncKey>1390353472</a0_SyncKey> 
      <a0_CollectionId>vtodo/personal</a0_CollectionId> 
      <a0_Status>1</a0_Status> 
      </a0_Collection>
      </a0_Collections>
      </a0_Sync>
      </response>
      </eas>

  • Active Sync not working (fails on last step of MS remote connectivity test)

    Hello,
    can't figure out what is wrong with our active sync.
    https://testconnectivity.microsoft.com fails on last step:
    Attempting the FolderSync command on the Exchange ActiveSync session.
    Exchange ActiveSync returned an HTTP 500 response (Internal Server Error).
    HTTP Response Headers:
    request-id: c058805f-cfb1-4303-8edc-7962e5cb0d18
    X-CalculatedBETarget: internal_servername.domain.com
    MS-Server-ActiveSync: 15.0
    X-MS-RP: 2.0,2.1,2.5,12.0,12.1,14.0,14.1
    MS-ASProtocolVersions: 2.0,2.1,2.5,12.0,12.1,14.0,14.1
    MS-ASProtocolCommands: Sync,SendMail,SmartForward,SmartReply,GetAttachment,GetHierarchy,CreateCollection,DeleteCollection,MoveCollection,FolderSync,FolderCreate,FolderDelete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,Search,Settings,Ping,ItemOperations,Provision,ResolveRecipients,ValidateCert
    X-MS-BackOffDuration: L/-470
    X-MS-Diagnostics: &Log=PrxFrom:10.224.6.74_V120_HH:mail.domain.com_SmtpAdrs:username%40domain.com_NMS1_St:F_Sk0_Srv:12a0c0d0s0e0r0A0sd_Ers1_Cpo19921_Fet20000_ExStk:H4sIAAAAAAAEAOVWS2%2fjNhC%2bL9D%2fMEcvoAh20r0YiwCq5WwF1HFgedujS5Njmw1FqiRlWP31HVqW5LTZpHFboA9d%2bBBn5vvmRc4kt8aZjY%2bnB75jeotxIm1ea96OD2gLplF7OoCll0bD1dXVLcx%2bL5kyz%2bJUWuTe2DpO0nmJlgWRTnYMCfdyj9AdA9Megg2TCgXQbK%2f08CZ%2bdHtjpYuVj2G5kw7QWmOBJtp4sOitZGuFMSRCyKCBKZB6Ywhwa4ujc0FAoJYo4q%2fencyLzrxFVxrtcAzD5vswhhz51NoxpHmWXg1vRh%2buR9NRBKU1ZK6Ar4fDGxhk9%2fnnu7tVMplM83y1yD59u8zfRyDICTB81zgpr53HovdJjnYvCVP8YI033CjX%2f3vOWcsdQuXQwo4RDe2qzUZyScEA1lCzcrvzjngBAPN%2fxN53gpUTozUdIBMxTZ23FfeLkx8GmfY311CQdrbFTEQQJDpwfbgiIJFK%2bUSp4ESaLesSI1jKAvOSadr8uULnw3pe%2bQi%2bMUYh7WPLb65P%2f95fjj9HLRaNoUEndtpoETyPyZzZfT2ZHwJ4cZHxp%2f5T56sI7iulQhL%2fOAKuQmRzKTBHZvnuBDKC7Ji00tc5J%2b9T6M9WEeRUBnoLnCmFNqP0fwOrJA0bOcU60JkekFceZ0ZISrMjwJYd1fL6JxICQmjrCL7Mtj2ZUSFTdkoqypBEXfCL0tfNiZPZeZ%2fw%2fTHpQu9pmFAlwVSTug2VgKZi6BIInGf8EbxlHMOxS4knBLL%2bBbvf09BnBs%2bFHHg3fckJvaYOqqBQNaXljWdqEboXunbPNsu5DhmP9r8Wwn8jk4uR52yPPUbq2p5pjksT9ineU10VVP5NzdOVQr3AHzOhRbWuS%2bbc90xJwV4D0l3WaYqhU86Ypq5t44%2b3fLVKpSsVqyeK1F1fxx8nFpnH5gYMUo0IJbdnkurqdr1ajXDwJt73xnfhSahSPNleVPrs6h%2bczYGJs9bXZ349MZV%2bsRt%2fiecrlAatT49Wss3d8YXxF7aVvwHXJYZmZk0Kmj%2bDT8qsKc%2fpJoBtN41geqDoYbhUwJGmnCJIGo7yxDns9ynId8gf74ydsUOj9Cw9n0COYEbj2hxOyQ%2fFk%2bU%2fm9Gfhj4xBb2NRfy5FCHa6Utw36KPxlKhP9FvXrH0AgoDXfUvVuhvVf1g7CPa5Y6cIoIgvYCfeZaPxv%2bTZ%2fmvaIx0uvAMAAA%3d_S111_Error:ADOperationException1%3aActive+Directory+operation+failed+on+dc1.domain.com.+This+error+is+not+retriable.+Additional+information%3a+Access+is+denied.%0d%0aActive+directory+response%3a+00000005%3a+SecErr%3a+DSID-031521E1%2c+problem+4003+(INSUFF%5FACCESS%5FRIGHTS)%2c+data+0%0a_Mbx:internal_servername.domain.com_Dc:dc1.domain.com_Throttle0_SBkOffD:L%2f-470_DBL7_DBS1_CmdHC-1477255686_TmRcv08:21:38.3814461_TmSt08:21:38.3814461_TmDASt08:21:38.4126927_TmPolSt08:21:38.4126927_TmExSt08:21:38.4126927_TmExFin08:21:38.4439409_TmFin08:21:38.4595741_TmCmpl08:21:58.381466_ActivityContextData:ActivityID%3dc058805f-cfb1-4303-8edc-7962e5cb0d18%3bDbl%3aMBLB.T%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d8255%3bDbl%3aST.T%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d11%3bDbl%3aSTCPU.T%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d15%3bDbl%3aBudgUse.T%5b%5d%3d78.1279983520508%3bI32%3aMB.C%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d37%3bF%3aMB.AL%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d0.4054054%3bDbl%3aMAPI.T%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d15%3bI32%3aRPC.C%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d37%3bDbl%3aRPC.T%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d15%3bI32%3aROP.C%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d6740924%3bI32%3aMAPI.C%5binternal_servername.e04c7165-79e6-401c-a668-a1ed96a7e951%5d%3d85%3bI32%3aATE.C%5bsrv00.domain.com%5d%3d1%3bF%3aATE.AL%5bsrv00.domain.com%5d%3d0%3bI32%3aADS.C%5bsrv00%5d%3d1%3bF%3aADS.AL%5bsrv00%5d%3d8.6476%3bI32%3aADW.C%5bdc1%5d%3d1%3bF%3aADW.AL%5bdc1%5d%3d0.6981%3bI32%3aADS.C%5bdc1%5d%3d3%3bF%3aADS.AL%5bdc1%5d%3d1.060033%3bS%3aWLM.Cl%3dCustomerExpectation%3bS%3aWLM.Type%3dEas%3bS%3aWLM.Int%3dTrue%3bS%3aWLM.SvcA%3dFalse%3bS%3aWLM.Bal%3d480000%3bS%3aWLM.BT%3dEas_Budget:(D)Owner%3aSid%7eKSVORIS%5cusername%7eEas%7efalse%2cConn%3a0%2cMaxConn%3a10%2cMaxBurst%3a480000%2cBalance%3a480000%2cCutoff%3a600000%2cRechargeRate%3a1800000%2cPolicy%3aGlobalThrottlingPolicy%5F3e976729-4019-4478-bb02-790c76651d0a%2cIsServiceAccount%3aFalse%2cLiveTime%3a00%3a00%3a46.5620819_
    X-DiagInfo: internal_servername
    X-BEServer: internal_servername
    X-FEServer: internal_servername
    Content-Length: 5864
    Cache-Control: private
    Content-Type: text/html; charset=utf-8
    Date: Tue, 30 Sep 2014 08:21:58 GMT
    Set-Cookie: X-BackEndCookie=S-1-5-21-1715567821-1220945662-1801674531-2707=u56Lnp2ejJqBms/LnMjOycrSyMaaydLLz86c0p7JycfSns6am8bJnsiaxsrOgYHOz9DMz9DNz87L38/Hxc3OxcrH; expires=Thu, 30-Oct-2014 06:21:58 GMT; path=/Microsoft-Server-ActiveSync; secure; HttpOnly
    Server: Microsoft-IIS/8.0
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Elapsed Time: 20931 ms.
    Owa and everything else works fine.

    Third party COMODO wildcard sertificate. Owa gives no warnings on SSL.
     Testing the SSL certificate to make sure it's valid.
      The certificate passed all validation requirements.
     Additional Details
    Elapsed Time: 585 ms. 
     Test Steps
     The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server mail.domain.com on port 443.
      The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate.
     Additional Details
    Remote Certificate Subject: CN=*.domain.com, OU=COMODO SSL Wildcard, OU=Domain Control Validated, Issuer: CN=COMODO RSA Domain Validation Secure Server CA, O=COMODO CA Limited, L=Salford, S=Greater Manchester, C=GB.
    Elapsed Time: 562 ms. 
     Validating the certificate name.
      The certificate name was validated successfully.
     Additional Details
    The host name that was found, mail.domain.com, is a wildcard certificate match for common name *.domain.com.
    Elapsed Time: 0 ms. 
     Testing the certificate date to confirm the certificate is valid.
      Date validation passed. The certificate hasn't expired.
     Additional Details
    The certificate is valid. NotBefore = 9/16/2014 12:00:00 AM, NotAfter = 9/15/2017 11:59:59 PM
    Elapsed Time: 0 ms. 

  • Exchange 2007 Active Sync Issue with 1 users mailbox

    Good Afternoon,
    Server OS:  Small Business Server 2008
    Exchange:  2007 Standard - Update Rollup 13 SP3
    Mobile phone:  Blackberry Z10
    We are in the process of decommissioning our Blackberry Enterprise Server, and down to one user.  I am able to setup Exchange on his new non BES server tied phone, but it will not sync any email, all Meetings, and only some contacts.  I have tried
    adding this account to an Android phone with the same results.  I have numerous times went into EMC and delete the Mobile device, when re-adding the account, everything seems to point to his exchange account being the culprit.  I am getting the below
    Active Sync error after adding his account.  I have Bing / Googled around, and nothing of substance I have found.  Thank you in advance!
    Log Name:      Application
    Source:        MSExchange ActiveSync
    Date:          3/24/2015 2:01:15 PM
    Event ID:      1008
    Task Category: Requests
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      SISBS.internaldomain.local
    Description:
    An exception occurred and was handled by Exchange ActiveSync. This may have been caused by an outdated or corrupted Exchange ActiveSync device partnership. This can occur if a user tries to modify the same item from multiple computers. If this is the case,
    Exchange ActiveSync will re-create the partnership with the device. Items will be updated at the next synchronization. 
    URL=/Microsoft-Server-ActiveSync/default.eas?Cmd=FolderSync&DeviceType=BlackBerry&User=bbevers&DeviceId=BB3359D356
    --- Exception start ---
    Exception type: Microsoft.Exchange.AirSync.AirSyncPermanentException
    Exception message: 
    Exception level: 0
    HttpStatusCode: 200
    AirSyncStatusCode: 6
    XmlResponse: 
    <?xml version="1.0" encoding="utf-8" ?>
    <FolderSync xmlns="FolderHierarchy:">
    <Status>6</Status>
    </FolderSync>
    Exception stack trace:    at Microsoft.Exchange.AirSync.FolderCommand.Execute()
       at Microsoft.Exchange.AirSync.Command.WorkerThread()
    Inner exception follows...
    Exception type: Microsoft.Exchange.Data.Storage.FolderSaveException
    Exception message: Unable to save sync state folder Root due to PartiallySucceeded, Property = [0x7c020102] SyncCustomState, PropertyErrorCode = MapiCallFailed, PropertyErrorCode = Properties could not be set.
    Exception = Microsoft.Exchange.Data.Storage.AccessDeniedException: Cannot set properties. ---> Microsoft.Mapi.MapiExceptionNoAccess: MapiExceptionNoAccess: Unable to set properties on object. (hr=0x80070005, ec=-2147024891)
    Diagnostic context:
        Lid: 18969   EcDoRpcExt2 called [length=7783]
        Lid: 27161   EcDoRpcExt2 returned [ec=0x0][length=88][latency=0]
        Lid: 23226   --- ROP Parse Start ---
        Lid: 27962   ROP: ropSetProps [10]
        Lid: 17082   ROP Error: 0x80070005
        Lid: 30561  
        Lid: 21921   StoreEc: 0x80070005
        Lid: 27962   ROP: ropExtendedError [250]
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropSetProps [10]
        Lid: 4559    StoreEc: 0x80070005
        Lid: 1750    ---- Remote Context End ----
        Lid: 26849  
        Lid: 21817   ROP Failure: 0x80070005
        Lid: 25761  
        Lid: 1940    StoreEc: 0x80070005
        Lid: 25297  
        Lid: 21201   StoreEc: 0x80070005
       at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Object objLastErrorInfo)
       at Microsoft.Mapi.MapiProp.SetProps(PropValue[] pva)
       at Microsoft.Exchange.Data.Storage.MapiPropertyBag.<SetProperties>b__3(PropValue[] propValues)
       at Microsoft.Exchange.Data.Storage.MapiPropertyBag.InternalSetProperties(PropertyDefinition[] propertyDefinitions, Object[] propertyValues, MapiSetProps mapiSetProps)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Storage.MapiPropertyBag.InternalSetProperties(PropertyDefinition[] propertyDefinitions, Object[] propertyValues, MapiSetProps mapiSetProps)
       at Microsoft.Exchange.Data.Storage.StoreObjectPropertyBag.FlushSetProperties()
       at Microsoft.Exchange.Data.Storage.FolderPropertyBag.SaveFolderPropertyBag(Boolean needVersionCheck)..
    Exception level: 1
    Exception stack trace:    at Microsoft.Exchange.Data.Storage.FolderSaveResult.ToException(String exceptionMessage)
       at Microsoft.Exchange.Data.Storage.SyncState.Commit(PropertyDefinition[] properties, Object[] values, Int32[] sizes)
       at Microsoft.Exchange.AirSync.FolderCommand.Execute()
    --- Exception end ---.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSExchange ActiveSync" />
        <EventID Qualifiers="32772">1008</EventID>
        <Level>3</Level>
        <Task>1</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-03-24T19:01:15.000Z" />
        <EventRecordID>4756229</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SISBS.internaldomain.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>/Microsoft-Server-ActiveSync/default.eas?Cmd=FolderSync&amp;DeviceType=BlackBerry&amp;User=bbevers&amp;DeviceId=BB3359D356</Data>
        <Data>--- Exception start ---
    Exception type: Microsoft.Exchange.AirSync.AirSyncPermanentException
    Exception message: 
    Exception level: 0
    HttpStatusCode: 200
    AirSyncStatusCode: 6
    XmlResponse: 
    &lt;?xml version="1.0" encoding="utf-8" ?&gt;
    &lt;FolderSync xmlns="FolderHierarchy:"&gt;
    &lt;Status&gt;6&lt;/Status&gt;
    &lt;/FolderSync&gt;
    Exception stack trace:    at Microsoft.Exchange.AirSync.FolderCommand.Execute()
       at Microsoft.Exchange.AirSync.Command.WorkerThread()
    Inner exception follows...
    Exception type: Microsoft.Exchange.Data.Storage.FolderSaveException
    Exception message: Unable to save sync state folder Root due to PartiallySucceeded, Property = [0x7c020102] SyncCustomState, PropertyErrorCode = MapiCallFailed, PropertyErrorCode = Properties could not be set.
    Exception = Microsoft.Exchange.Data.Storage.AccessDeniedException: Cannot set properties. ---&gt; Microsoft.Mapi.MapiExceptionNoAccess: MapiExceptionNoAccess: Unable to set properties on object. (hr=0x80070005, ec=-2147024891)
    Diagnostic context:
        Lid: 18969   EcDoRpcExt2 called [length=7783]
        Lid: 27161   EcDoRpcExt2 returned [ec=0x0][length=88][latency=0]
        Lid: 23226   --- ROP Parse Start ---
        Lid: 27962   ROP: ropSetProps [10]
        Lid: 17082   ROP Error: 0x80070005
        Lid: 30561  
        Lid: 21921   StoreEc: 0x80070005
        Lid: 27962   ROP: ropExtendedError [250]
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 26426   ROP: ropSetProps [10]
        Lid: 4559    StoreEc: 0x80070005
        Lid: 1750    ---- Remote Context End ----
        Lid: 26849  
        Lid: 21817   ROP Failure: 0x80070005
        Lid: 25761  
        Lid: 1940    StoreEc: 0x80070005
        Lid: 25297  
        Lid: 21201   StoreEc: 0x80070005
       at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Object objLastErrorInfo)
       at Microsoft.Mapi.MapiProp.SetProps(PropValue[] pva)
       at Microsoft.Exchange.Data.Storage.MapiPropertyBag.&lt;SetProperties&gt;b__3(PropValue[] propValues)
       at Microsoft.Exchange.Data.Storage.MapiPropertyBag.InternalSetProperties(PropertyDefinition[] propertyDefinitions, Object[] propertyValues, MapiSetProps mapiSetProps)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Data.Storage.MapiPropertyBag.InternalSetProperties(PropertyDefinition[] propertyDefinitions, Object[] propertyValues, MapiSetProps mapiSetProps)
       at Microsoft.Exchange.Data.Storage.StoreObjectPropertyBag.FlushSetProperties()
       at Microsoft.Exchange.Data.Storage.FolderPropertyBag.SaveFolderPropertyBag(Boolean needVersionCheck)..
    Exception level: 1
    Exception stack trace:    at Microsoft.Exchange.Data.Storage.FolderSaveResult.ToException(String exceptionMessage)
       at Microsoft.Exchange.Data.Storage.SyncState.Commit(PropertyDefinition[] properties, Object[] values, Int32[] sizes)
       at Microsoft.Exchange.AirSync.FolderCommand.Execute()
    --- Exception end ---</Data>
      </EventData>
    </Event>

    Hello,
    Yes, it means the mailbox is corrupted. The most efficeint way is to rebuild the user's mailbox.
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Flat File Active Sync doesn't work for account creation without unique id

    Hi,
    I'm trying to set up a FlatFileActiveSync for creation and update of accounts in IDM 7.0. I've followed the below steps for this purpose :-
    1) Create a correlation rule (confirmation rule not reqd in my case).
    2) Create a proxy admin and assign him a empty form. Also give him control over Top organisation.
    3) Create a Flat-File Resource Adapter.
    4) Create ActiveSync input form using the (Active Sync) wizard.
    5) Start Active Sync...
    My feed file contains only 3 fields firstname, lastname, email Id.
    My correlation rule has the logic of matching up with IDM accounts(Lighthouse accountId) by taking first letter of firstname and concat with lastname from the data coming from feed file.
    Now everything works fine for account updates i.e. if I change somebody's email Id who already exists in IDM I can actually see the changed email Id in Configurator's console.
    But if I put in a record that doesn't exist, and which I expect to be created, it gives me an error.
    Although, if I introduce a unique identifier in my feed file and link it with Lighthouse.accountId the account creation works fine.
    Is this a limitation or I'm not doing something right ?
    Exception I saw in resource log with log level 4 :
    2007-04-30T10:02:12.291-0400: Error Processing Line: {lastname=Pogu, firstname=Gogu, [email protected]}
    com.waveset.adapter.iapi.IAPIException: There was a conflict with the record [{lastname=Pogu, firstname=Gogu, [email protected]}]
    and no resolution process has been specified on the adapter.
    It is recommended that you define the process for handling unmatched accounts
    on this load process.
    2007-04-30T10:02:12.292-0400: Poll complete.
    2007-04-30T10:02:12.292-0400: SARunner: loop 1076
    2007-04-30T10:02:12.314-0400: Started, paused until Mon Apr 30 10:07:12 EDT 2007
    2007-04-30T10:07:12.024-0400: Pause completed
    2007-04-30T10:07:12.038-0400: Polling
    2007-04-30T10:07:12.056-0400: Error Processing Line: {lastname=Poker, firstname=Hoker, [email protected]}
    com.waveset.adapter.iapi.IAPIException: There was a conflict with the record [{lastname=Poker, firstname=Hoker, [email protected]}]
    and no resolution process has been specified on the adapter.
    It is recommended that you define the process for handling unmatched accounts
    on this load process.

    That logic is in my correlation rule as I specified in my initial post and here's the XPRESS code for it :-
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Rule PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <!-- MemberObjectGroups="#ID#Top" description="Find out if a resource account is correlated to an IDM account" id="#ID#D23CC16ECF6E5D42:-4527465C:11224925657:-769F" lastMod="61" lastModifier="Configurator" name="HR_DB_CORR" subtype="SUBTYPE_ACCOUNT_CORRELATION_RULE"-->
    <Rule subtype='SUBTYPE_ACCOUNT_CORRELATION_RULE' id='#ID#D23CC16ECF6E5D42:-4527465C:11224925657:-769F' name='HR_DB_CORR' creator='Configurator' createDate='1177449448746' lastModifier='Configurator' lastModDate='1177686884156' lastMod='61'>
    <Description>Find out if a resource account is correlated to an IDM account</Description>
    <cond>
    <and>
    <notnull>
    <ref>firstname</ref>
    </notnull>
    <notnull>
    <ref>lastname</ref>
    </notnull>
    </and>
    <block>
    <concat>
    <substr>
    <ref>firstname</ref>
    <i>0</i>
    <i>1</i>
    </substr>
    <ref>lastname</ref>
    </concat>
    </block>
    <s>false</s>
    </cond>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    </Rule>
    Although this is not specified in Active Sync input form but in the correlation rule attribute of Active Sync config (using the wizard). Do I need to specify it there using the Field function.
    Also, I figured out today that I needed to restart IDM instance after changing the value of "Create Unmatched Accounts" flag and now the error is as below :-
    <WavesetResult>
    <ResultItem type='error' status='error'>
    <ResultError throwable='com.waveset.util.WavesetException'>
    <Message id='SES_VIEW_CHECKIN_ERROR'>
    </Message>
    <StackTrace>com.waveset.util.WavesetException: Unable to checkin view. No account ID specified.&#xA;&#x9;at com.waveset.view.UserViewer.checkinView(UserViewer.java:1165)&#xA;&#x9;at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:727)&#xA;&#x9;at com.waveset.sync.IAPIUserImpl.processCommand(IAPIUserImpl.java:526)&#xA;&#x9;at com.waveset.sync.IAPIUserImpl.submitCreate(IAPIUserImpl.java:195)&#xA;&#x9;at com.waveset.sync.IAPIUserImpl.submit(IAPIUserImpl.java:749)&#xA;&#x9;at com.waveset.adapter.FlatFileActiveSyncAdapter.processLine(FlatFileActiveSyncAdapter.java:404)&#xA;&#x9;at com.waveset.adapter.FlatFileActiveSyncAdapter.processFlatFile(FlatFileActiveSyncAdapter.java:350)&#xA;&#x9;at com.waveset.adapter.FlatFileActiveSyncAdapter.poll(FlatFileActiveSyncAdapter.java:307)&#xA;&#x9;at com.waveset.task.SARunner.doRealWork(SARunner.java:288)&#xA;&#x9;at com.waveset.task.Executor.execute(Executor.java:154)&#xA;&#x9;at com.waveset.task.TaskThread.run(TaskThread.java:132)&#xA;</StackTrace>
    </ResultError>
    </ResultItem>
    </WavesetResult>

  • Active Sync - What attributes to set in UserMap

    I am have written an active sync adapter for MySQL Table. I am not sure what attributes to add in the user map object that is passed in the list of updates.
    I get the following error:
    The result of submitting the message - com.waveset.exception.FormValidation: Validation errors detected in form.
    My Code is as follows:
    private List getUpdateRows(Map lastProcessedRow) throws WavesetException {
    final String method = "getUpdateRows";
    TRACE.entry3(method);
    Connection conn = getConnection();
    ResultSet rslt = null;
    Statement stmt = null;
    List listOfUpdatedUsers = new ArrayList();
    String query = "select id, password, first_name, last_name, email, department, users_event.event " +
    " from users, users_event " +
    "where users_event.updated = 0 and users.id = users_event.user_id";
    try {
    stmt = conn.createStatement();
    rslt = stmt.executeQuery(query);
    if(null == rslt) {
    Message msg = new Message("NULL resultset returned on query execution");
    throw new WavesetException(msg);
    while(rslt.next()) {
    HashMap userMap = new HashMap();
    userMap.put("name", rslt.getString(1));
    userMap.put("password", rslt.getString(2));
    userMap.put(AA_FIRST_NAME, rslt.getString(3));
    userMap.put(AA_LAST_NAME, rslt.getString(4));
    userMap.put("email", rslt.getString(5));
    userMap.put(AA_DEPARTMENT, rslt.getString(6));
    if("delete".equals(rslt.getString(7))) {
    userMap.put(ATTR_IS_DELETED, "true");
    listOfUpdatedUsers.add(userMap);
    } catch (Exception e) {
    Message msg = new Message("Unable to get list of updated rows " + e.getMessage());
    throw new WavesetException(msg);
    } finally {
    TRACE.exit3(method);
    return listOfUpdatedUsers;
    * Take a list of Maps that are rows of the audit data and turn them
    * into IAPI calls.
    * @param list - a List of Map objects from getUpdateRows.
    protected int processUpdates(List list)
    throws WavesetException, IAPIException {
    final String METHOD = "processUpdates";
    TRACE.entry2( METHOD );
    int numProcessed = 0;
    if (list != null) {
    final int listSize = list.size();
    util.logString(IAPI.TRACELEVEL_INFO,
    "processUpdates: " +
    listSize +
    " elements.\n" );
    int currentRowCount = 0;
    Iterator it = list.iterator();
    while (it.hasNext() && !_util.isStopRequested()) {
    Map userMap = (Map)it.next();
    ++currentRowCount;
    // Announce our intentions with the current row, and
    // which row is being processed.
    logUpdate(IAPI.TRACE_LEVEL_INFO,userMap,null);
    util.logString( IAPI.TRACELEVEL_INFO,
    "processing update " +
    currentRowCount +
    " of " +
    listSize +
    ".\n");
    // Build the event
    Map options = new HashMap();
    // Check for any required attributes, which are either
    // not in the schema map, or are the names on the left hand side
    // of the schema map.
    String identity = (String)userMap.get("name");
    util.logString( IAPI.TRACELEVEL_INFO, "processing update Identity = " + identity + ".\n");
    if (identity == null){
    String message = "Missing required attribute name. " +
    "This is a configuration problem.";
    // If an error message can be safely ignored, namely it
    // is not a problem communicating with the resource, use
    // the resources's "CONTINUE_ON_ERROR" setting to determine
    // whether to skip the entry, or throw an exception.
    if ( isFeatureEnabled(Features.CONTINUE_ON_ERROR) ){
    util.logString( IAPI.TRACELEVEL_WARNING,
    message );
    continue;
    } else {
    throw new WavesetException(message);
    // If deletes aren't detected by a resource, the following
    // block should be removed.
    boolean wasDelete = false;
    if ( userMap.get(ATTR_IS_DELETED) != null ){
    // If the event was detected as a delete, flag it as such
    // in the options.
    options.put(IAPI.OPTION_DELETE_EVENT_DETECTED, Boolean.TRUE);
    wasDelete = true;
    util.logString( IAPI.TRACELEVEL_INFO, "About to process userMap \n");
    // IAPIFactory will use the resource configuration, options,
    // and userMap provided to create the event.
    IAPI event = IAPIFactory.getIAPI(options, userMap, this);
    util.logString( IAPI.TRACELEVEL_INFO, "Retrieved event object after processing userMap \n");
    // If deletes aren't detected by a resource, the following
    // block should be removed.
    if ( (event == null) && wasDelete ){
    // identity is used here as an example, replace with
    // whatever identifying attribute or attributes are
    // appropriate for the resource.
    util.logString(IAPI.TRACELEVEL_INFO,
    "Received delete for user " +
    identity +
    " not in IdM. Ignoring.\n");
    if (event != null) {
    ++numProcessed;
    event.setLogger(_util.getLogger());
    WavesetResult result = event.submit(); //This method returns an error message
    util.logString( IAPI.TRACELEVEL_INFO, " The result of submitting the message - " + result.getErrorMessage());
    // Log the result of submitting the current event.
    logUpdate(IAPI.TRACE_LEVEL_INFO,userMap,result);
    } // else nothing to do with the current row.
    TRACE.exit2(METHOD, numProcessed);
    return numProcessed;
    Please let me know the list of attributes that need to be set in the userMap objects.
    Thanks

    It looks like that the information than goe through ActiveSync form. Examples of such forms are at /homeDir/idm-staging/samples. More information can be found in documenatation Sun™ Identity Manager 8.0
    Workflows, Forms, and Views.
    Martin

  • How to fix an active sync problem

    All,
    I came across some issues with active sync that I could not find reference to in Sun documentation that we found a fix for. Read and enjoy.
    Problem: Active sync stopped working for no reason
    Reason: Too many users were attempting to be updated at the same time. SARunner was not running.
    Fix: Manually delete the invalid TaskInstances from the database.
    Process:
    Stop active sync
    Find the invaild task instances
    Oracle SQL Code to find errors:
    SELECT * from object where type='TaskInstance' and ATTR1='EXECUTING';
    Delete invalid task instances
    Oracle SQL to delete invalid TaskInstances:
    DELETE from object where type='TaskInstance' and ATTR1='EXECUTING';
    After this is done commit the changes to the DB.
    Active Sync can now be re-started.
    It should start functioning properly at this point.

    There were no problems what so ever. The integrity of the repository was not affected. I did this as a last resort because nothing else I tried worked.
    One of the other side issues we were having was viewing tasks. When all tasks was clicked on I was getting invailid Object references. The Object reference ended up being the ID of a task that failed to update users because of an invalid character that IdM can not apparently parse. We had about 16 of these entries in the table. Active Sync no longer worked. We made the decision to delete the records from the table, we backed up the DB, then deleted the invalid records. I also checked in the other tables and could not find reference to the invalid objects anywhere. Once I deleted the records active sync began to function again after is was cycled and the system was brought back to full operational status.
    Apparently someone created a new security group in AD but when it was created they did not use a normal "-" in the name. I think the person used MS Word to type the name, in some cases word then substitutes a special character in for the dash that looks longer. This character was the root of my problem. I had someone go back and change the name of the security group and changed the dash to the right dash and that solved the root of my problem.

Maybe you are looking for

  • Instant logout (WindowServer crash report & info inside)

    Ok, there are several people that have this problem it seems.  I can't figure it out.  It's the WindowServer, but why?  Here are some points: - usually (always?) happens when I have my Dell 24" LCD hooked up - usually (always?) happens when I'm runni

  • I need help on This SQL problem ASAP :)

    Hi All, I need help on this.... I have a table... Say table name: one with these values premnum status 1234 C 1234 F 1234 P 1234 F 5678 C 5678 F 5678 P 9112 C 9112 F 9112 P 9112 F 3456 C 3456 F 3456 P 7890 C 7890 P 7890 F Now, I want to output only t

  • Portlet with Applet in same WAR

    Repost from Jdev: Hello, I have a Portlet project in Jdev that includes a servlet and all is working well. I now have the need to include a java applet in the portlet. So I right clicked 'Portlets' in my application, chose 'New', chose 'Applet' and s

  • How do you set default programs for all users when deploying Windows 8.1?

    I have my Windows 8.1 image set up the way I want including the start screen, theme, etc. But how can I set the default programs for all users. Most of out computers are non-touch and I want the desktop apps (e.g. Windows Photo Viewer), not the store

  • Could not get developer license

     i could not get my developer license for windows 8.1. The system told me that it could not access the network despite my connection working perfectly fine.