Make a sync agent in c#.

I'm making an application where it would be nice to have a sync option integrated with it. Does anyone ever tried to make synchronization in c#? Can anyone give me some clues?!
Thanks in advance.
EDIT: Found the answer!... Sorry for the useless thread.
Edited by: Hugo Zenha on 09-Nov-2009 03:07

i am not a professional in lite (yet) but i think this might help you
2 ways:
no graphical gui:
Cursor.Current = Cursors.WaitCursor;
OracleSync oraclesync = new OracleSync();
oraclesync.PushOnly = true;
oraclesync.UserName = "Myname";
oraclesync.Password = "123";
oraclesync.ServerURL = "http://myserver";
//oraclesync.SetTableSyncFlag("COURRIER", "COURRIER", true);//this is used to declare which table/publication we want to sync or not
//oraclesync.PushOnly = true;//if you need this one
oraclesync.Save();
oraclesync.Synchronize();
Cursor.Current = Cursors.Default;
with oracle's gui:
OracleEngine.Synchronize(true);
//String args = "JUNE/JUNE@oramobile /onlytable:SYSTEM.mytable /force";//again if you want to specify which specific table/publication
// OracleEngine.Synchronize(args);

Similar Messages

  • I have a used mac computer. I want to sync and update my iphone. Currently itunes tells me that my iphone is connected to a different itunes account. How do I make itunes sync and update my phone without deleting all the current information on my phone?

    I have a used mac computer. I want to sync and update my iphone. Currently itunes tells me that my iphone is connected to a different itunes account and will sync, but delete everything from my phone. How do I make itunes sync and update my phone without deleting all the current information on my phone?

    Iphone will sync with one and only one cpomptuer at a time.  Syncing to another will erase the current content and replace with content from the new computer.  This is the design of the  iphone.
    It will erase the content when you sync.
    Why not update from the comptuer with which you normally sync?

  • How do you sync iCloud (contact, calendar, task) to outlook 2011 for Mac? and how do you make seemless sync between iCloud to Outlook 2011 to Blackberry device or an iPad?

    I have three device: Macbook Pro (OSX 10.7.5) for work; an iPad and a Blackberry for mobile. I used mail, iCal, and Address Book combine with mobileme (iCloud) to exchange data such as contact, calendar and task from my Mackbook Pro to my iPad but never to Blackberry. The problem is my boss was asking me to change to Outlook 2011 for Mac because some of the email that I sent from Mail did not appear in my client's Blackberry. So how do you sync iCloud (contact, calendar, task) to Outlook 2011 for Mac? and how do you make seemless sync between iCloud to Outlook 2011 to Blackberry device or an iPad?  
    Best regards,
    W. Sasongko

    More Like This --------------------------------------->

  • HT201269 On my new phone I am getting an error message that says "connection unsuccessful" make sure Sync is turned on and in range

    i have an IPhone 5 and am getting an error message that reads
    Connection Unsuccessful.  Make sure SYNC is turned on and in range.
    My bluetooth is on and I don't know where to turn SYNC on

    Unpair your phone, then re-pair accd'g to Ford Sync instructions.

  • How do I delete a sync agent?

    I am trying to clean up my Azure environment. I have a bunch of Sync Agents that are no longer being utilized, but each time I select one to attempt to delete, I get an error that states "The Sync Agent was not deleted",
    without giving me any specifics.
    Does anyone know how I can go about deleting Sync Agents that are no longer in use?
    Thanks

    Hi,
    1. Local Agent cannot be deleted if its associated on-Premise database is unreachable
    Description/Symptoms : If a local end point (database) that is registered with a local SQL Azure Data Sync
    agent becomes unreachable, the local agent cannot be deleted.
    Cause : The local agent cannot be deleted because the unreachable database is still
    registered with the agent and when you try to delete the agent, the deletion
    process tries to reach the database, which fails. This database cannot be
    unregistered too, because during unregistration process, local agent tries to
    connect to database which cannot be reachable.
    Resolution/Workaround : Create a local database with the same name as the one that cannot be reached,
    unregister this database from local agent, and then proceed to delete the agent.
    2.  Sync Group cannot be deleted within 3 minutes of uninstalling/stopping the agent Description/Symptoms
    You are not able to delete a sync group with in 3 minutes of uninstalling/stopping the associated local SQL Azure Data Sync agent.
    Resolution/Workaround : Remove a sync group with associated sync agents online (strongly recommended).
    If agent is offline but installed, bring it online on the on-premise computer, wait for the status of the agent as online in Azure portal, and then remove the sync group.
    If agent is offline because it was uninstalled, perform the following steps and try deleting the sync group.
    -Remove agent XML file from the SQL Azure Data Sync installation folder if the file exists
    -Install the agent on same/another on-premise machine, submit agent key from portal generated for the agent that’s showing offline
    3. cannot delete my sync group
    Description/Symptoms : You fail in your attempt to delete a sync group.
    Cause/Fix : Any of the following can result in a failure to delete a sync group.
    The agent is offline  : Be sure that the agent is online then try again.
    The Data Sync service is stopped :
    * In the Start menu search on Services
    * Click Services in the Programs section of the search results.
    * Find the SQL Azure Data Sync Preview service.
    * If the service status is Stopped right-click the service name and select Start from the dropdown menu.
    A database is offline : Check your SQL Azure and SQL Server databases to be sure they are all online.
    The sync group is provisioning or synchronizing : Wait until the provisioning or synchronizing process finishes then retry deleting the sync group.
    Hope this helps.
    Regards,
    Shirisha Paderu

  • Cisco Sync Agent Missing

    Hello Experts,
    I am configuring IM&P 10.5 and I need to enable essential services in IM&P Serviceability --> Tools --> Control Center - Feature Services but Cisco Sync Agent is missing. Is there something I need to do to get this activated? I don't see it in Service Activation either. I have attached the snips of the GUI.
    What am I missing?
    Thanks,
    Randy C.

    Nevermind, I found it under Control Center - Network Services. Not sure why documentation states that it's in Feature Services.

  • PSE7 BACKUP/SYNC AGENT does not work.

    Under the Preferences box , the Backup/Sync Agent does not open. I can't alter or change anything. When I sign in , my sign in and password are both accepted ,however where the Welcome is on top, it used to say Welcome, with my first name. It does not do this anymore. When I try to upload my pics to Photoshop.com it states I am not logged in. No one at Adobe has been able to help after 4 months .

    Hi,
    Can you please contact me on [email protected]
    I would like to suggest few things offline...

  • ITunes Match sync stops and gives me a Window error that it stop working. I have Windows 7 64bit.  How do it make it sync?

    I have signed up on iTunes Match. When I setup my PC iTunes to starts to sync it stop and gives me a Window error that it stop working. I have Windows 7 64bit.  How do it make it sync?

    Tarantulaman wrote:
    i do, but like i said it fell once and since then it hasn't been able to connect to my laptop. it acts like nothing's connected. i believe if i call the company the HDD is from they'll be able to transfer it to a new one but who knows how much they'd charge. looks like i have no choice now.
    If it were truly a backup, then the media would play on the laptop as it would be on the laptop.
    Sounds like you actually do not have a backup, instead you chose to keep your media on an external drive.
    Regardless of where the media is stored, it's always a good idea to have a backup for instances like this.

  • Presence. Cisco UP Sync Agent[STOPPED] Component is not running

    Hi,
    I have a Presence  7.0.6 and the service Cisco UP Sync Agent never start.
    I attached some screeshoots with the troubleshooter and synchronization with call manager.
    Can somebody help me?
    Many thanks.

    It looks like you have some non-English characters in database.
    Please go to CUCM > System > Service Parameters > Database Layer Monitor > Advanced, change "Include Encoding Information in AXL Response"
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-fareast-font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    from "False" to "True".
    Restart "Database Layer Monitor" and "AXL Web Service".
    This should fix the problem.
    Thanks!
    Michael
    http://htluo.blogspot.com

  • SQL SYNC AGENT is not

    Hi,
    I am having below error in SQL DATA SYNC AGENT. please do transfer if i left the message in wrong room.
    "Connection to Microsoft  SQL DATA Sync windows service timed out. Please unsure that micosoft data sync windows services
    is running and restart local sync agent "
    I have already restarted local sync agent.i checked the sql data sync winodws service is running in local services .
    Please advice?
    Superman

    Hi,
    Could you please check whether there are any error logs through the Event Viewer? Under the category "Applications and Service Logs" -> "SQL Data Sync".
    Regards,
    Bowen

  • All files modified by File Sync Agent

    I'm looking for explanation for an interesting event. It seems that tonight's scheduled Net Folder sync "modified" all files on our Filr system. Needless to say, the files have not actually all been modified, but everybody who was subscribed to a folder received e-mail notification about all files having been modifiled by File Sync Agent. Also when I view details of any file in Filr web interface, the file shows as being last modified by File Sync Agent tonight.
    Can this be because DST ended yesterday and Filr thinks that timestamps of all files have been changed?

    no one bothered to respond.

  • Renaming on On Permise DB that is configured for Sync using Sync Agent

    Hi ,
    We have configured a Sync Agent to sync from on premise to Azure DB and the Sync is working fine.  Can you let us know if it would impact the Sync if the on premise DB is renamed? Do we have to configure the Sync Agent again or do the Sync set up from
    the scratch.
    Thanks,
    Sangeetha

    Hi Sangeetha,
    Yes if you rename your on-premises database, you need to re-setup the sync from the scratch. Is it necessary to rename the database? Or you can provide the scenario here and we will try to figure out some alternative solution without break the current sync.
    Regards,
    Bowen

  • SQL Azure Sync Agent

    Hi,
    Anyone can share on the network port and IP address requirement for the SQL Database sync? 

    1433 is between the Data Sync Agent and your SQL Server.  443 is bidirectional for Data Sync Agent to connect to Azure Data Sync Service.
    the Data Sync Service itself do not connect to your on-premise SQL Server directly. Neither does the Data Sync Agent connect to the Azure SQL Database Correctly.
    to illustrate 
    on-premise SQL <-> Data Sync Agent <-> Azure Data Sync Service <-> Azure SQL Database

  • Can you make itunes sync random music from your libary to iphone?

    Can you make itunes sync random music from your libary to iphone?

    You sync both to your computer.
    Everything should be on your computer, just sync it ot the iphone.

  • Is there a way to make iCloud sync my ePubs?

    Is there a way to make iCloud sync my iBooks ePubs that I've not purchased from iBookstore?

    Not at this time, no. You should be backing them up some other way.

Maybe you are looking for

  • Open Crystal Report in PDF

    Hi If I open the Crystal Report in PDF using the below code using weblogic 8.1 ReportExportControl exportControl = new ReportExportControl(); Object reportSource = session.getAttribute("reportSource"); exportControl.setReportSource(reportSource); Exp

  • Supporting multiple helpsets on same box

    I have a working Oracle Help for the Web instance. It works pretty well once you get the hang of all of the configuration files. If I want to run a separate Oracle Help Instance without merging the helpsets, etc how can I do this. I currently access

  • Need some help with a file server!

    Hi, I'm wanting to get a mac mini or the mac mini server (whichever is needed) and connect all of my random external drives i have lying about to it. Basically, i'm wanting to set up a mini file server that i can access from anywhere in the world. I

  • HT202159 Error occurs when trying to install a purchased app for Mac OS X Mountain Lion

    I purchased an app (My Paintbrush) but the download was interrupted before it finished and now it says "an error occurred" everytime I will try to re-install the app from my purchase list. How do I install the app if the error prompt always appears?

  • Type of Extraction

    Hi All, There is two types of extraction 1.Application Specific Application Specific is divided in to two a.Business Content extractors. b.Custom extractors. 2.Cross Application Specific a.Generic Extraction-Table,View,Infoset,Function Module and Dom