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.

Similar Messages

  • I just erased all my contacts on accident while trying to fix an ical syncing problem.  Please help!

    Hello There,
    I have NO idea what just happened.  I am trying to stay calm here.  Please help.
    I have been trying to fix the fact that my iphone calendar isn't sending info to my ical on my MacBook Pro.  I followed some instructions I found in a forum and then unplugged my phone haphazardly by not ejecting it from iTunes... I just pulled it off the cord and all my contacts erased in a blink of an eye.  Here's the instructions I followed.  Please tell me how I can get them back!  Can I call AT&T? BTW... the instructions didn't fix the ical problem either.
    (These are the instructions I tried from http://iphonewriter.blogspot.com/2008/05/how-to-fixing-ical-iphone-sync-issues.h tml) I added my own sidenote in Bold.
    Here's the down and dirty fix:
    Open iCal and backup or export your entries. Make a note of the fie name and location, you're going to need them in a minute. Once your backup/export is completed, close the iCal application.
    Open Finder and remove everything inside the "Username/Library/Calendars" folder. For instance, if your username is "Joe", then move everything inside the "Joe/Library/Calendars" folder.
    Open the iSync application. It's located in the "/Applications/" folder. Once iSync is opened, go into the iSync Preferences (iSync -> Preferences) and push/click the "Reset Sync History" button. Then, close the iSync application.
    Re-Open the iCal application and Import (File -> Import) a new calendar. When prompted, use your notes from Step #1 to select the file your created earlier. Once completed, close the iCal application (you should have all of your calendar entries back.) 
    ***When I re-opened ical nothing was gone but I followed the following steps anyways.***
         5.  Open the iTunes application and connect your Apple iPhone to the computer.
         6.  Within the Advanced section of the Info tab for the Apple iPhone, check the box the overwrites/replaces the Calendar data on the Apple iPhone.
         7.  Click the Apple/Sync button. New, modified and deleted entries should now be syncing correctly.
    That's it! You should be all set and iTunes, iCal and our Apple iPhone should all be playing nicely as friends again. We've used the exact method to repair our own Apple iPhone at least once... maybe even twice.
    MacBook Pro  OSX.6.8 and iPhone 3GS
    Message was edited by: Shelby Leigh

    Hi,
    Can't you restore your iPhone via iTunes and use the "restore from last backup". I know when I has my phone replaced this copied all my contacts (from my last sync)back to my phone.
    Hope that helps

  • How do I use Active Sync to view SharePoint Lists (Contacts and Calendars) on a Mobile Phone?

    We are attempting to use SharePoint 2010 in combination with Exchange 2010 to implement shared calendars and contact lists throughout our organization.  We are able to connect the lists to Outlook 2010, but have been unsuccessful in viewing
    the calendars and contact lists from our mobile phones.  How do we use Active Sync to view SharePoint Lists (Contacts and Calendars) on a Mobile Phone?
    In trying to answer this question, we have come across a few different possibilities, all of them falling just short of a long term solution for us.  After doing research, we found that Active Sync will only show the default folders of the account.  To
    solve this, we downloaded an Add-In for Outlook (CodeTwo FolderSync) to synchronize folders and synchronized our SharePoint list with a new Contact list in the default folder.  The issue we came across with this method is that the Add-In we are using
    is not capable of automatic synchronization.  There is a button and it must be clicked after every update is made, which is not ideal for our solution.  We then went to the company (CodeTwo) and found server side software (Exchange Sync) that they
    offer which will automatically synchronize the folders.  After installing that on the Exchange Server, we now are running into the issue of not being able to locate the SharePoint lists on the Exchange Server.
    Does anyone happen to know how we can get to the SharePoint lists from the Exchange Server?  Has anyone else been able to use shared contacts lists and calendars from SharePoint on their mobile phones using Active Sync?  If so, are we in the right
    direction with what we have found so far?
    Thanks,
    Brad

    You cannot use ActiveSync for that, but there are SharePoint clients for the iPhone. Windows Mobile 7 natively supports SharePoint with SharePoint Workspace Mobile, part of Microsoft Office Mobile. Android and BlackBerry might also have some apps.
    Use Microsoft SharePoint Workspace Mobile
    http://www.microsoft.com/windowsphone/en-us/howto/wp7/office/use-office-sharepoint-workspace-mobile.aspx
    iPhone SharePoint Apps Shootout
    http://www.codeproject.com/KB/iPhone/iPhoneSharePointApps.aspx 
    Comparing SharePoint iPhone Apps
    http://blog.praecipio.com/2010/11/02/comparing-sharepoint-iphone-apps/
    MCTS: Messaging | MCSE: S+M

  • How to fix out of sync devices which have used 2 apple Ids?

    I have been working with the iCloud help desk over the last couple days on this but let me explain the situation:
    I have 2 apple IDs.  one I use for iTunes access/purchases, etc. it happens to be my day to day email.  the other ID happens to be associated with my mac.com email which I use for separate email purposes. 
    I use an ipadair, iPhone 4, mac. all are updated with most current IOS release.
    The issue is the lack of synchronization between the devices.  I primarily enter my contacts, calendars, reminders via my desktop mac/apple apps, i.e. ical, contacts and reminders.  However when I am away from my desktop i enter via my ipadair typically. The help desk did help and we were able to sync all of them via the Mail/Contacts/Calendars setups for new entries, rather than iCloud settings and any activated syncing via iTunes.  I know that there is a way to get this sorted/combined without losing any data.
    What I have discovered during my discussions with the help desk, if we take the contact lists as an example, is that I have a set of contacts entered separately and perhaps synced on my iPad that are not showing up anywhere else, for example the name Mia on my iPad does not show up on my iPhone or Mac contact list.
    the record counts are different, Mac contacts have 1459, iCloud apple ID 1 has 1386 and iCloud apple ID2 has 1434(each essentially are named after an email address; 1 of which is connected to my iTunes account, and although I cannot tell how many records are on my ipadair in contacts, I know that some of those contacts are different and have not synced across to my iPhone or Mac apps.
    So the question is how to get them all synced(iCloud apple ID 1(primary), iCloud apple ID 2, iPad contacts, Mac contacts without losing any contacts....i'm less concerned about duplicates, because I can manually delete dupes if they occur.  Just trying to get to one method of syncing....noting that when I set these up originally i used iTunes syncing and it seemed to add duplicates never was in sync and all contact list were messed up...i am sure that is because of the 2 iCloud IDs, but I do not know how to fix it so I do not lose any contacts/can clean from one source and also of course utilize syncing for calendar, reminders, etc. retaining my separate apple ID for ITunes and the other for all this synchronization.
    thanks.

    You need to:
    1) Go to appleID.apple.com, log in with [email protected], and then change the AppleID/Primary Email back to [email protected] Sign out.
    2)  Delete the icloud account on the iphone. Enter the password when prompted.
    3) Go back to appleID.apple.com, log in with [email protected], then change the AppleID/primary email back to [email protected]

  • How to debug ACE FT Sync Problems ?

    Hello,
    in one of our contexts we have a sync problem on the standby unit.
    "sh ft group detail" gives
    "Running cfg sync status : Error on Standby device when applying configuration file replicated from active", while "Startup cfg sync status" is OK.
    "sh crypto files" and "dir disk0:" produce the same output on both ACE units.
    How can we analyze the problem ?

    Hi Gilles,
    unfortunately I can not see a meaningful message. Can you please have a look at the attachments (taken from the standby machine) ?
    Thank you very much in advance.

  • Exchange 2003 migrate to Exchange 2010 - single forest multiple domain. Active Sync problem

    Hi All, 
    I have AD single forest and multiple domain. for example, the forest domain is jakarta.co.id, and the other domain is bali.co.id.
    Exchange 2003 deployed in jakarta.co.id, User mail enabled in domain jakarta.co.id and bali.co.id.
    Then, I upgrade to Exchange 2010 (deploy in jakarta.co.id) and move mailbox from Exchange 2003 to Exchange 2010.
    All users in bali.co.id are able to access email from Owa, BlackBerry (BIS), Outlook, but cannot access from Android, Windows Phone. (Active-Sync).
    I got error information generated from https://testconnectivity.microsoft.com, as following:
    Attempting the FolderSync command on the Exchange ActiveSync session.
    The test of the FolderSync command failed.
    Tell me more about this issue and how to resolve it
    Additional Details
    Exchange ActiveSync returned an HTTP 500 response (Internal Server Error).
    Active-Sync still not work even I check option "Include inheritable permissions from this object" in security tab.
    any idea to fix this issue?
    Thanks.
    Endrik
    Endrik | blog: itendrik.wordpress.com Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

    Hi Sathish, 
    We are planning to migrate Exchange 2003 to Exchange 2013, all user already in Exchange 2010 and Exchange 2003 was decommissioned
    Event Viewer log as following:
    Log Name:      Application
    Source:        MSExchange ActiveSync
    Date:          1/17/2014 10:00:48 PM
    Event ID:      1008
    Task Category: Requests
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      EXC2010.jakarta.co.id
    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=Sync&User=bali%5Csteveng&DeviceId=SAMSUNG123456789&DeviceType=SAMSUNGGTN7000
    --- Exception start ---
    Exception type: Microsoft.Exchange.AirSync.AirSyncPermanentException
    Exception message: A null value was received for the NTSD security descriptor of container CN=ExchangeActiveSyncDevices,CN=Steven Gerrard,OU=IT,DC=bali,DC=co,DC=id.
    Exception level: 0
    HttpStatusCode: 500
    AirSyncStatusCode: 110
    XmlResponse: 
    This request does not contain a WBXML response.
    Exception stack trace:    at Microsoft.Exchange.AirSync.ADDeviceManager.SetActiveSyncDeviceContainerPermissions(ActiveSyncDevices container)
       at Microsoft.Exchange.AirSync.ADDeviceManager.CreateActiveSyncDeviceContainer(Boolean retryIfFailed)
       at Microsoft.Exchange.AirSync.ADDeviceManager.CreateActiveSyncDevice(GlobalInfo globalInfo, ExDateTime syncStorageCreationTime, Boolean retryIfFailed)
       at Microsoft.Exchange.AirSync.ADDeviceManager.CreateActiveSyncDevice(GlobalInfo globalInfo, ExDateTime syncStorageCreationTime)
       at Microsoft.Exchange.AirSync.Command.UpdateADDevice(GlobalInfo globalInfo)
       at Microsoft.Exchange.AirSync.Command.CompleteDeviceAccessProcessing()
       at Microsoft.Exchange.AirSync.Command.WorkerThread()
    --- Exception end ---.
    I think KB817379 is not related because Exchange 2003 was decommissioned.
    Regards, 
    Endrik
    Endrik | blog: itendrik.wordpress.com Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Active sync problem driving me mad

    Hi I have a work active sync account on exchange 2010. Every one at work is able to connect properly with iPhone iPad android but when I try to connect it it works and everything syncs then it keeps asking for a password. It's extremely annoying as no one else on different phones has an issue can you please advise what the problem is thanks and when it will be fixed thanks

    Hi kelvinhuynh, this is a user to user community forum. For official blackberry support please call your mobile carrier's Blackberry trained support team, if they cannot resolve the issue make sure that they transfer you to Blackberry support. Make sure to get the people's names and a ticket number
    -: DrewRead :-
    Can't find an app on Blackberry World yet? Tweet the developer and ask when they will #GetWithBB10 !!
    "Like it" if you like it.

  • How to fix 3G/VVM/MMS problems in 4.0 WITHOUT losing all of your data

    First off, I can't take credit for this. tekset21 on these forums mentioned trying a restore from DFU instead of straight up and that's when I started experimenting the last few hours.
    I've tried this twice. It worked the same exact same way. I'm guessing it will work for you as well.
    1) Make sure you have a backup to restore to that will work. For me, this was the backup I made just before I upgraded to 4.0 yesterday.
    2) Put your phone into DFU mode. To do this, you basically connect to iTunes, Hold down both the top button and the home button for 10 seconds, then release the top button but keep holding the home button until a window pops up in iTunes saying it's discovered a phone in iTunes in restore mode. If you need more help google "DFU mode" - there are tons of videos.
    3) Restore using the regular restore button. Wait for the iPhone to finish reapplying the 4.0 software and reappear in iTunes
    4) Click set up as a new phone and then continue. I personally sent myself an MMS, verified the 3G data connection was working by using maps, and played around with my voice mail until it asked me for a password and eventually showed me my visual voice mail.
    5) Finally I restored to the backup I made yesterday. Everything was there like a normal restore (kinda).
    NOTE: Whenever I did this the first time it came back from the restore with no SMS icon. I cannot explain this. I could receive a SMS, I could send one. The MMS worked fine too. The icon even showed up in the task drawer- just no icon on the home screen.
    Tried the above 5 steps a second time and said "what the ****" and just rebooted my phone- the SMS icon appeared. Went through all the motions again (third time) and the icon appeared again.
    6) Reboot your phone (if you haven't already).
    Doing all of the above got me my phone to exactly where it was before i updated yesterday. I wish I could test this and restore it with the backup I made right before I started doing this tonight (get my messages from today back) but iTunes does not give me the option of doing so. I don't know why- I can see both backups and their timestamps but iTunes just isn't giving me that option.
    Hope this helps.

    THIS FIX ALSO WORKS FOR THE EXCHANGE SYNCING PROBLEM!!!
    THANKS!!

  • IPhone 1.1.3 does not fix my iCal sync problems

    Still having my wonderful iCal sync problems.
    Got the old "iTunes could not sync calendars to the iPhone "name" because an error occured while merging data".
    Gettin' kinda old after at least a month.
    I've tried every suggestion in this group besides generating a new Admin account.

    ... wait a sec... oh wait a sec....
    I just may have fixed my problem. Deleted <user>/Library/Calendar (Leopard calendar) and <user>/Library/Application Support/iCal (Tiger calendar) and then deleted all data and settings on my iPhone and I can finally sync a darn calendar without iTunes complaining.
    Was even able to re-import one of my calendars and have it show up in...wait for it... BOTH places. OMG - welcome to the 21st century!
    Even got rid of duplicate birthday calendars my iPhone had been building up!
    Joy to the world! Woot Woot.

  • How to fix a text entry problem

    Sometimes when I'm entering text with my keyboard it refuses to work. After starting TextEdit and typing a few characters (which always works), then going back to where I was, text entry works fine again. This problem is maddening!! Any idea what causes this or how to fix it? Thanks!!!!

    Are you using a Magic Mouse with scrolling enabled.  That happens to me frequently when I somehow swip horizontally in an app.  All text entry or other use freezes until I reswipe back somehow.
    Try changing the horizontal swipe from one finger to two finger in the System/Mouse preference pane and see if that will prevent the freeze.
    OT

  • How to fix windows 7 sound problem

    Hello, I've been searching all over the internet for a solution on how to fix a windows 7 sound problem. I'm running it on bootcamp ,but There's absolutely no sound to it. Is there anyone that can please help me?

    Hi;I followed your instructions but still it is the same!
    Regards
          From: Pat Willener <[email protected]>
    To: Said Ahghari <[email protected]>
    Sent: Saturday, 10 January 2015, 3:58
    Subject:  How to fix windows 7 cannot find AcroRd32.exe file problem as Reader cannot be opened and nor the pdf files.
    How to fix windows 7 cannot find AcroRd32.exe file problem as Reader cannot be opened and nor the pdf files.
    created by Pat Willener in Adobe Reader - View the full discussionEven more strange!  The only thing I can think of is a complete uninstall/reinstall. Download, unzip, and run the cleaner tool http://labs.adobe.com/downloads/acrobatcleaner.html then download and run the offline installer from http://get.adobe.com/reader/enterprise/ If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7082910#7082910 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7082910#7082910 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" 
    Start a new discussion in Adobe Reader by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Active sync problems / syncing only first time

    Hello!
    I have a Xperia Z3 and everything works fine, except the Active Sync with my one.com account.
    The syncronization only works the first time directy after setting up the account. I can be shure, there is no problem with password or server adress because it syncs (even if it only works once)...
    The next time i try to get new e-Mails the mail app says something like "no connection to the server." (Thats not the original error message, but its translated from the german error message)
    My first attempt was to change the sync interval and tried from push to 10 minutes everything. Did not work.
    I then deleted the account and established it again. Did not work.
    The little syncing symbol next to the selection box always stays grey and does not move.
    Does anyone have the same problem and/or can help me?
    Thanks in advance!

    Glad to hear that you got it working with another client 
    Hard to say what's wrong here as i haven't seen the issue before. But as it says that their ActiveSync support is in beta and i haven't seen the issue before i would suspect there are issues with the server and that it will work also with our client in the future.
    In case yu want to give them more feedback about our client you can refer to this document: http://www-support-downloads.sonymobile.com/support/XperiaInBusinessZ3/Xperia_in_Business-Email_and_...
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • How to fix your activation code!

    if you pirated the ios7 beta, no worries, ill tell you how to fix it without going into DFU mode.
    1. update to the newest version of itunes
    2. google "ios 7.0.2 download"
    3. find the correct one for your device. then download it.
    4. it should download to your desktop. once at your desktop, open up itunes.
    5. for mac, while holding alt/option, click on check for update.
    6. select the update from your desktop, it should then begin downloading onto your device.
    7. when it is done, disconnect it from your computer.
    8. it should say "activation required" again or something like that. except this time, it should just ask for your apple i.d. and password.
    9. you're all done! enjoy your unbricked iphone instead of waiting for apple's painfully slow service!

    thank you Ned, I used this link and I followed the instructions, but I didn't succeed.... It says that "The My Adobe page is displayed. All your registered products and their serial numbers are listed in theMy products section." But I don't see the serial numbers here...

  • How to fix the "MIME types" problem  !

    Hello !
    How to fix the problem of "MIME types", Windows doesn't want to keep the APPS by default !!!
    When I try the application by default (for ex. right clic on .PSD files and "open with"), then I validates the selection program (Photoshop.exe), it does not appear in the selection of programs by default in windows!
    Result, even dynamic objects no longer open in my applications and all adobe files icon don't appear in explorer
    Thx

    I find a solution who works for me (Win7 64bit) !
    Use a Registry cleaner (ccleaner) and kill old file format entry !
    Now restart association with a .AI file, because the way to .exe is in another place like other apps !
    Try this:
    First, right click on your illustrator apps icon (desktop or Start menu) and choose "open the file location" and copy the dir ("C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows" for me )
    Right clic on your .AI file and select "Open with", now click on "browse" to "C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows" for 64bit system.
    "Windows" say "you've got problem with registry file association" the correction's automaticatly and the illustrator icon appear in the list of default apps.
    Select and valid him
    Now, do the same for all your "unknown files type" with the good apps !

Maybe you are looking for

  • Reports 3.0 - Drilldown parameters

    I am trying to deploy a drilldown report over the Web. I have added a hypertext link to the main report and can run the child report without any problems. What I now want to do is pass a parameter from the calling report to the child report. At the m

  • Excel Attachment Problem in Mail box

    Hi All, I had program in which i am sending mail along with Excel attachment using FM SO_DOCUMENT_ATT_SEND_API1. Mail is going fine with data in Excel attachment. But when i try to open the Excel it gives an Info message saying that "You are trying t

  • SEM CPM Scorecards

    Hi, Does SEM CPM has any standard Scorecards ? Like BW, BW has standard business content. LIke wise any SEM standard content for CPM. Not SEM related InfoObjects/InfoSources/InfoCubes... Thanks in advance, GSM.

  • Scripts ( regarding output type )

    Hi All, we created  New ouput type from the existing one and we modified the script .we are not done any changes in print program copied as it is with some other name. problem is: now if we run with new ouput type  see the print preview we are not ge

  • Firefox fails to start - error the requested resource is not available- DASHPOT.JSP

    Firefox had been operating satisfactorily since I acquired the new Dell PC. But after and upgrade I can now not log in. Tried uninstalling and re-installing Firefox to no avail - same error report on startup.