Data sync

Hi Experts,
I want to use java methods below! 1) to fetch data from a SQL datasource internally and 2) using the selected result to do an update sforce API.
i have currently generated something like this!
package api.sforce.com;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import org.apache.axis2.client.Options;
import org.apache.axis2.transport.http.HTTPConstants;
import com.sforce.soap.enterprise.LoginDocument;
import com.sforce.soap.enterprise.LoginResponseDocument;
import com.sforce.soap.enterprise.LoginResult;
import com.sforce.soap.enterprise.QueryDocument;
import com.sforce.soap.enterprise.QueryResponseDocument;
import com.sforce.soap.enterprise.QueryResult;
import com.sforce.soap.enterprise.SessionHeaderDocument;
import com.sforce.soap.enterprise.SforceServiceStub;
import com.sforce.soap.enterprise.LoginDocument.Login;
import com.sforce.soap.enterprise.LoginResponseDocument.LoginResponse;
import com.sforce.soap.enterprise.QueryDocument.Query;
import com.sforce.soap.enterprise.QueryResponseDocument.QueryResponse;
import com.sforce.soap.enterprise.SessionHeaderDocument.SessionHeader;
public class Sample {
public void Sync() {
try {
Class.forName("org.postgresql.Driver");
} catch (ClassNotFoundException cnfe) {
System.err.println("Couldn't find driver class:");
System.out.println("Couldn't find driver class:");
cnfe.printStackTrace();
System.out.println("Connection established to Northstar.");
Connection postGresConn = null;
try {
postGresConn = DriverManager.getConnection(
"jdbc:postgresql://connection", "");
} catch (SQLException se) {
System.out
.println("Couldn't connect: print out a stack trace and exit.");
se.printStackTrace();
System.exit(1);
if (postGresConn != null)
System.out.println("...fetching data from Northstar to spit to sforce API");
else
System.out.println("We should never get here.");
try {
Statement stm = postGresConn.createStatement();
ResultSet rs = stm.executeQuery("SELECT * FROM owners");
rs.close();
stm.close();
} catch (Exception e) {
System.out.println("Error getting data from Northstar: "
+ e.toString());
try {
SforceServiceStub stub = new SforceServiceStub();
LoginDocument loginDocument = LoginDocument.Factory.newInstance();
Login login = Login.Factory.newInstance();
login.setUsername("username");
login.setPassword("passw");
loginDocument.setLogin(login);
LoginResponseDocument loginResponseDocument = stub.login(
loginDocument, null);
LoginResponse loginResponse = loginResponseDocument
.getLoginResponse();
LoginResult loginResult = loginResponse.getResult();
SessionHeader sessionHeader = SessionHeader.Factory.newInstance();
sessionHeader.setSessionId(loginResult.getSessionId());
SessionHeaderDocument sessionHeaderDocument = SessionHeaderDocument.Factory
.newInstance();
sessionHeaderDocument.setSessionHeader(sessionHeader);
stub = new SforceServiceStub(loginResult.getServerUrl());
Options options = stub._getServiceClient().getOptions();
options.setProperty(HTTPConstants.MC_ACCEPT_GZIP, Boolean.TRUE);
options.setProperty(HTTPConstants.MC_GZIP_REQUEST, Boolean.TRUE);
Query query = Query.Factory.newInstance();
query
.setQueryString("UDATE using resultset from above");
QueryDocument queryDocument = QueryDocument.Factory.newInstance();
queryDocument.setQuery(query);
QueryResponseDocument queryResponseDocument = stub.query(
queryDocument, sessionHeaderDocument, null, null);
QueryResponse queryResponse = queryResponseDocument
.getQueryResponse();
QueryResult queryResult = queryResponse.getResult();
System.out.println("Query has " + queryResult.getDone()
+ " records total");
} catch (Exception e) {
System.out.println("Cannot execute query against API" + e);
private void run() {
Sync();
public static void main(String[] args) throws Exception {
Sample sam = new Sample();
sam.run();
}Can someone help me on the second query to insert or update the data fetched internally onto sforce API without prepared statement?
Help please:smileywink:
Message Edited by Losintikfos on 07-21-2008 11:16 AM

I want to back up data on my pc 
But it is not connecting...evev i Installed driver
Any idea
Give a like.
1. please click the Like Button below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?
" which solved it for you

Similar Messages

  • I have itunes 10.6.1.7. Whenever I try to sync my ipod touch 4g on windows 7 it says unable to load data class. I cant even go to preferences to reset the data sync because it keeps freezing. Can I have some help?

    When I turn on itunes it starts to back up on step 2 and then just takes forever showing a candy cane bar thing.

    Try here:
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert

  • How Do You Disable Genius Data Syncing to iOS Devices?

    - I''m using iTunes 10.7, iPad 2 and iPhone 4 with iOS 6.1.3, mid-2010 iMac with 10.8.2.
    - I have iTunes Match tuned OFF
    - I back up to the computer, not iCloud
    - On the iTunes Summary tab, I have the "Sync only with checked songs and videos" selected
    - On the Music tab I have the main Genius Mixes checkbox unchecked, and no mixes under that item checked
    - I have Genius turned ON in my main iTunes
    Every time I Sync either the iPhone or the iPad, the last thing it does is sync Genius data to the iOS device. Since my main iTunes library is fairlt large (over 12,000 songs), my main library Genius data changes a lot of songs sometime a few thousand if I haven't started iTunes on for a while on the computer. The Genius data sync takes a long time, and sometimes can add 10 minutes or more to an iOS device sync.
    I don't understand why it's even sending Genius data to the iPad or iPhone. There are are no Genius playlists on either the iPAd or the iPhone when I open iTunes on them and look at Playlists.
    Thanks in advance for any help

    I have this question too.  Is there an answer to this?  I don't use the Genius function and this "syncing Genius data" step takes many additional minutes on every sync.  Any information or advice would be gratefully accepted.  Thank you!

  • Azure Data Sync Log Take Too Much Time to Load

    Hi,
    I've found that the Azure Sync Log inside the Portal take too much time to load if my sync group was created long time ago. i.e. for those new sync group with only a few logs, it will take around 5 seconds for loading. However, I've many sync group created
    more than 1 year, and it will take me up to 10 minutes for viewing the first page of the logs.
    It seems the Portal will download ALL the logs to my browser even I just want to view the most recent logs (maybe I just want to view the last 10 records, but it will download the whole 5000 pages?)
    It will be great if the Portal only fetch the data of the page I am currently viewing, instead of fetching all the logs.
    Is there any ways to speed up the log loading time?
    Michael Yung

    Hello,
    I suggest you post a feedback on
    Azure SQL Data Sync feedback forum.
    All of the feedback you share in the forum will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • SQL Data Sync - column type invalid for use as a key column

    Hello,
    our sync group is failing to do the sync. Here's a tracingID:
    For more information, provide tracing ID ‘e3e568b5-140a-4ae5-a4c8-c178c6bf805d’ to customer support.
    I must say, that the column in DB is not a PK or INDEX-ed, it was initially VARCHAR(MAX), after some reading I changed it to VARCHAR(200) and later to TEXT, but the result of syncing is still the same.
    Thank you,
    Bojan

    Hi Bojan,
    The error “column type invalid for use as a key column” could be due to the existence of unsupported data types or column properties when implementing the synchronization. I recommend you check your database according to this article:
    SQL Database Data Types supported by SQL Data Sync.
    Besides, before you design and implement a data synchronization plan, please check the following articles about system requirements for SQL Data Sync and so on.
    System Requirements for SQL Data Sync
    https://msdn.microsoft.com/en-us/library/azure/jj127278.aspx
    Known SQL Data Sync Limits
    https://msdn.microsoft.com/en-us/library/azure/jj590380.aspx
    SQL Data Sync Best Practices
    https://msdn.microsoft.com/en-us/library/azure/hh667328.aspx
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Azure SQL Data Sync, LINQ optimization bug

    How can I report the following Bug ?
    var empty = new Set<int>();
    var query = storage.table.Where(item => empty.Contains(item.id));
    // Entity Framework Extended
    query.DeleteAsync()
    The query is optimized to something like this, because the set is empty, and therefore the result set is always empty:
    SELECT
    CAST(NULL AS uniqueidentifier) AS [C1],
    CAST(NULL AS uniqueidentifier) AS [C2],
    CAST(NULL AS int) AS [C3],
    CAST(NULL AS int) AS [C4],
    CAST(NULL AS datetime2) AS [C5],
    CAST(NULL AS varchar(1)) AS [C6],
    CAST(NULL AS int) AS [C7]
    FROM ( SELECT 1 AS X ) AS [SingleRowTable1]
    WHERE 1 = 0
    Now the problem is that update and delete trigger, introduced by Azure SQL Data Sync, will fail because they require the primary key, which is not part of the optimized query. Meaning that when the set is empty the triggers will fail, but if the set contains
    an id, the query is not optimized and therefore will succeed.
    (SELECT [i].[PrimaryKeyId] FROM DELETED AS [i])
    Notice, the problem here is not Entity Framework Extended from my perspective, but the Azure SQL Data Sync Triggers! 

    not sure if i understood your post correctly, but the columns available in the logical inserted and deleted tables available in the trigger are the actual columns of the table itself, not the columns in the query that caused the trigger to fire.

  • #DATA Sync & # CONTEXT error in BI 4.1 with ECC 6 environment

    I am getting the #DATA Sync & # CONTEXT error in BI 4.1 with ECC 6 environment. When i am adding Excel Sheet as asecondary source for BO report am getting this error. because of below,
    Ecc data
    Profit center -- 000100
    Fiscal Year --- 2,014
    Posting Period - 1  to12
    Amount 2000
    Excel Data
    Profit center -- 000100
    Discharge Date --- Q1 2014, Q2 2014,
    Discharge Port --- Excelerate or Expediate, etc
    I ahve created report Using ECC Data like, Profit center,Fiscal Year,Posting Period and Amount.
    Now i want to Add from Excel Discharge Date and Discharge Port am getting the #DATA Sync & # CONTEXT error or Imcompatible object.
    because i am anot able to merge these objects with ECC Objects. Can anyone suggest me what i can do to achieve this?
    Cheers
    Murali Durairaj

    Hi
    Have you created two different data providers (one for ECC, another for Excel data)in
    the webI report,
    If yes -- check whether able to see data sample in the Excel data provider
    Run the WebI Report -- Design Mode -- Edit -- Select the Excel Data Provider --
    Check able to see the Data Sample data whichever there in the excel sheet.
    If you are able to see the Sample data…then merge common objects (able to merge
    only if both the objects have same data types.) then check the data in the
    report.

  • Need help on designing downstream data sync with OLite

    We are trying to build a disconnected desktop application for CRM Sales Application.
    For Data Synchronization, we would like to use TRS (Transaction Replay Service) for upstream sync (data from client to enterprise server).
    For downstream sync (data from enterprise server to client machine), we would like to see whether we can make use of OLite data sync feature.
    The client side db schema will be different from the server side db schema.
    We have a web version application built using ADF framework (a list of BC4J objects).
    We are going to create the client side db schema based on the shape of Sales View Objects.
    e.g. an OpportunityVO (view object) is join based on opportunityEO (table) and customerEO (table to get the customer name). In this case, we are going to have opportunity table at the client side that has all the opportunityVO's attributes defines as table columns.
    Questions
    1. Can we define a publication item based on a view object? And how ?
    2. Can we define a publication item based on a db view (at the server side) that
    synch with a db table ( at the client side) ? If so, where do we set the mapping?
    3. During the compose phase, we would like to call bc4j object’s api to collect the
    data content for client to download, is it possible ? if so, how to do this?
    (We would like to use the oLite feature to identify changed records, but we do
    want to use bc4j object api to get the data content for client to download.)
    Thanks

    I haven't given your description of the project and approach a lot of thought yet, but I did see your questions and thought I might point out some help there:
    1) Yes, you can define publication items on Views. Section 3.4.1.3.1 in the developer guide discusses this and the requirements of the view.
    2) Yes, a publication item defines the base tables for your user. Section 3.4.1.3 in the developer guide is a full discussion on creating publication items programmatically.
    Also, you might check into the Mobile Database Workbench for a GUI driven tool to define Publications and Publication Items.
    3) I believe what you are looking for here is the MyCompose API. Section 3.6, Customize the compose phase using MyCompose, in the developer guide discusses this.
    Gabe

  • Using offline data sync in Mobile Services

    Hi All,
    I am working on offline data sync in Mobile Services . Followed the below URL
    http://azure.microsoft.com/en-gb/documentation/articles/mobile-services-windows-store-dotnet-get-started-offline-data/#enable-offline-app
    Have an issue at store.DefineTable<TodoItem>();
    when i run the method i am getting any exception as 
    System.ArgumentException was unhandled by user code
      HResult=-2147024809
      Message=An item with the same key has already been added.
      Source=mscorlib
      StackTrace:
           at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
           at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
           at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
           at System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IEqualityComparer`1 comparer)
           at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStore.DefineTable(String tableName, JObject item)
           at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStoreExtensions.DefineTable[T](MobileServiceSQLiteStore store, MobileServiceJsonSerializerSettings settings)
           at Microsoft.WindowsAzure.MobileServices.SQLiteStore.MobileServiceSQLiteStoreExtensions.DefineTable[T](MobileServiceSQLiteStore store)
      private async Task InitLocalStoreAsync()
        if (!App.MobileService.SyncContext.IsInitialized)
            var store = new MobileServiceSQLiteStore("localstore.db");
            store.DefineTable<TodoItem>();
            await App.MobileService.SyncContext.InitializeAsync(store);
        await SyncAsync();
    Need help.
    Thanks,
    Sai.

    Hi,
    The Azure Mobile Services forum is here:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=azuremobile&filter=alltypes&sort=lastpostdesc
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • Data Sync between ORACLE and SQLServer

    Hi,
    I would like to here the possible options for "Bi-Directional Data Sync" between ORACLE 10g (Enterprise Edition Release 10.2.0.4.0) and SQL Server 7.0 (7.00 - 7.00.961 Standard Edition on Windows NT 5.0 ).
    Please let me know the available tools or any other addons.
    thanks and regards,
    Suman.S

    Are you looking for transactional replication between Oracle and SQL Server? Take a look at Wisdomforce [DatabaseSync.|http://www.wisdomforce.com/products-DatabaseSync.html]
    It can perform a [real-time change data capture|http://www.wisdomforce.com/products-DatabaseSync.html] of transactions from redo log files and apply them into Oracle or SQL Server

  • ADF mobile Data sync and sql lite usage

    Hi,
    We are working on ADF mobile POC.(Jdev version 11.1.2.3.0)
    Following Oracle mobile developer guide we generated "Webservice data control" which creates process(object) method to work with Webservice. We created the data-controls and used them in our Java code and are able to get the Webservice response also.
    However we want to implement the offline mode feature and for this we are not able to get any document reference for implementation.
    With offline mode support is it the application's responsibility to store the data locally using SQL Lite and do the data sync (using Web Service) OR will the framework would do the data sync automatically. Can someone please provide the implementation hint on how to do the Offline mode support in the mobile application using ADF.
    Thanks
    Pavan

    Hi,
    With offline mode support is it the application's responsibility to store the data locally using SQL Lite and do the data sync (using Web Service) OR will the framework would do the data sync automatically.
    This is all you. In this version of ADF Mobile there is no automatic data synchronization between local data and the server side. The sample that come with the ADF Mobile extension have a SQLLIte example as well, which is in the HR application. Look for the "DBConnectionFactory" file
    package application;
    import java.sql.Connection;
    import java.sql.SQLException;
    import oracle.adfmf.framework.api.AdfmfJavaUtilities;
    public class DBConnectionFactory {
        public DBConnectionFactory() {
            super();
        protected static Connection conn = null;
        public static Connection getConnection() throws Exception {
            if (conn == null) {
                try {
                    // create a database connection
                    String Dir = AdfmfJavaUtilities.getDirectoryPathRoot(AdfmfJavaUtilities.ApplicationDirectory);
                    String connStr = "jdbc:sqlite:" + Dir + "/HR.db";
                    conn = new SQLite.JDBCDataSource(connStr).getConnection();
                } catch (SQLException e) {
                    // if the error message is "out of memory",
                    // it probably means no database file is found
                    System.err.println(e.getMessage());
            return conn;
    }The LifeCycleListenerImpl class in the same demo shows how to use this SQL Lite connection
    package application;
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.ArrayList;
    import java.util.List;
    import javax.el.ValueExpression;
    import oracle.adfmf.application.LifeCycleListener;
    import oracle.adfmf.framework.api.AdfmfJavaUtilities;
    public class LifeCycleListenerImpl implements LifeCycleListener {
        public LifeCycleListenerImpl() {
         * The start method will be called at the start of the application. Only the
         * Application Lifecycle Event listener will be called on start up.
        public void start() {
            System.out.println("!!!!!!!!!!!!!! App Start !!!!!!!!!!!!!!");
            //InitDB();
            try {
                Statement stat = DBConnectionFactory.getConnection().createStatement();
                ResultSet rs = stat.executeQuery("SELECT * FROM EMPLOYEES;");
            } catch (SQLException e) {
                // if the error message is "out of memory",
                // it probably means no database file is found
                System.err.println(e.getMessage());
                System.out.println("Database does not exist, creating it");
                InitDB();
            } catch (Exception e) {
                System.err.println(e.getMessage());
            System.out.println("!!!!!!!!!!!!!! Done App Start !!!!!!!!!!!!!!");
         * The stop method will be called at the termination of the application. Only
         * the Application Lifecycle Event listener will be called on start up.
         * NOTE: Depending on how the application is being shutdown, this method may
         * or may not be called. Features should save off their state in the deactivate
         * handler.
        public void stop() {
            // Add code here...
         * The activate method will be called when the feature is activated. The
         * Application Lifecycle Event listener will be called on application
         * being started and resumed.
        public void activate() {
            // Add code here...
         * The deactivate method will be called when the feature is deactivated. The
         * Application Lifecycle Event listener will be called on application
         * being hibernated.
        public void deactivate() {
            // Add code here...
        private void InitDB() {
            try {
                System.out.println("!!!!!!!!!!!!!!InitDB Start!!!!!!!!!!!!!!");
                ClassLoader cl = Thread.currentThread().getContextClassLoader();
                InputStream is = cl.getResourceAsStream(".adf/META-INF/hr.sql");
                if (is == null) {
                    System.err.println("###### Could not look up : /META-INF/hr.sql");
                    return;
                BufferedReader bReader = new BufferedReader(new InputStreamReader(is));
                List stmts = new ArrayList();
                String strstmt = "";
                String ln = bReader.readLine();
                while (ln != null) {
                    if (ln.startsWith("REM") || ln.startsWith("COMMIT")) {
                        ln = bReader.readLine();
                        continue;
                    strstmt = strstmt + ln;
                    if (strstmt.endsWith(";")) {
                        System.out.println(strstmt);
                        stmts.add(strstmt);
                        strstmt = "";
                        ln = bReader.readLine();
                        continue;
                    ln = bReader.readLine();
                DBConnectionFactory.getConnection().setAutoCommit(false);
                for (int i = 0; i < stmts.size(); i++) {
                    Statement pStmt = DBConnectionFactory.getConnection().createStatement();
                    pStmt.executeUpdate((String)stmts.get(i));
                DBConnectionFactory.getConnection().commit();
                System.out.println("!!!!!!!!!!!!!!InitDB Done!!!!!!!!!!!!!!");
            } catch (Exception e) {
                e.printStackTrace();
    }Hope this is what you were looking for
    Frank

  • Data sync to external SQL from Access Web App

    Hi all
    Am I dreaming or does creating a table in an Access Web app based on an external SQL Azure database table (not the intrinsic one) end up being an import not a sync?  It doesn't even seem to update when i open the external table and refresh it?
    I am adding new records at the external SQL source and they are not updating in the table in the WebApp
    Is anyone having similar problems?
    Cheers
    Sally

    Hi Sally,
    >> I am adding new records at the external SQL source and they are not updating in the table in the WebApp
    Do you mean that you import a table from an external SQL Azure database into Access Web app, the data in Access Web app did not update after you change the an external SQL Azure database data? In my option, this is expected behavior if you are using import
    table. Importing from another database would not achieve that, and it only achieves copying data from another database. I am afraid that you could not achieve your requirement from Access Web app.
    As far as I know, the database of Access web app is Azure DB, I think you could sync the Access web app Azure DB and External Azure DB, you could refer the link below for more information.
    Reference:
    http://azure.microsoft.com/en-us/documentation/articles/sql-database-get-started-sql-data-sync/
    I am not familiar with Azure DB, and if you have issues about Azure DB, I will recommend you go to the link below for help.
    Reference:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ssdsgetstarted
    Thanks for your understanding.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Queries on SQL Data Sync

    Hi,
    One of our customers had the following query on SQL Data Sync
    1. ALter database permission is required during setup of sync services and it switches ON the SNAPSHOT ISOLATION level on our on premise DB. what is the impact of it?
    2. After setting up the SNAPSHOT ISOLATION LEVEL ON, it creates tracking tables, some SPs, and triggers and set read commited isolation level multiple times. Is there a way that these
    objects will be created in some other DB and not on the main OLTP so that we can avoid cluttering the main DB with tracking tables, triggers, SPs ets?
    3. As the SNAPSHOT isolation level is introduced in SQL 2005 onwards and is for maintaining row versions in TEMP DB. Does it mean switching it on at DB level, it's going to maintain the
    row and transaction version for all DB objects in TEMP DB , irrespective of whether they are part of sync group or not?
    Any pointers on this would be appreciated.
    Cheers!

    Hi Harish,
    For the knowledge about SNAPSHOT ISOLATION, please check the detail here:
    http://msdn.microsoft.com/en-us/library/tcbchxcb(v=vs.110).aspx
    For the objects created on the database, they cannot be created on other database since the objects need to visit the source database data.
    Actually those objects are required by sync framework, you can find more details here:
    http://msdn.microsoft.com/en-us/library/ee617382(v=sql.110).aspx
    Regards,
    Bowen

  • Data Sync stuck in processing

    Can you please delete my data sync? I tried to cancel the data sync, so I could delete it but it has been stuck in processing for almost 24 hours now. The subscription id is 2b362515-3f77-44fc-9803-08334705d01a and the sync group is called DevSyncGroup.

    Hi CpAtMtb,
    Thanks for your information about  subscription ID.
    The Microsoft support engineer will help to solve the problem from backend. Sometime delay might be expected. Your patience is greatly appreciated. Thank you for your understanding and support.
    Besides, any of the following can result in a sync group being stuck in the processing state.
    • The client agent is offline.
     Be sure that the client agent is online then try again.
    • The client agent is uninstalled or missing.
     If the client agent is uninstalled or otherwise missing:
        1. Remove agent XML file from the SQL Data Sync (Preview) installation folder if the file exists.
        2. Install the agent on same/another on-premise computer, submit the agent key from the portal generated for the agent that’s showing offline.
    • The SQL Data Sync (Preview) service is stopped.
        1. In the Start menu, search on Services.
        2. Click Services in the Programs section of the search results.
        3. Find the SQL Data Sync (Preview) service.
        4. If the service status is Stopped right-click the service name and select Start from the dropdown menu.
    Reference :  http://msdn.microsoft.com/en-us/library/azure/hh667321.aspx#ProcessingError
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Data sync between on-premise and azure database

    HI, I am not able to setup data sync between my on-premise database and azure database. Following is the error I am getting after it ran for almost 36 hours...
    Sync failed with the exception "GetStatus failed with exception:Sync worker failed, checked by GetStatus method. Failure details:An unexpected error occurred when applying batch file C:\Resources\directory\4c6dc848db5a4ae88265ee5aa1d44f40.NTierSyncServiceWorkerRole.LS1\DSS_7b1d73b4-d125-466f-94ab-eaa4553ea0ae\ed19f805-3d50-466a-96b3-861c4f22d8a4.batch.
    See the inner exception for more details.Inner exception: Failed to execute the command 'UpdateCommand' for table 'dbo.Transactions'; the transaction was rolled back. Ensure that the command syntax is correct.Inner exception: SqlException Error Code: -2146232060
    - SqlError Number:10054, Message: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) "    For more information,
    provide tracing ID ‘e6a1fad1-f995-4ffe-85db-0c6dc02423f1’ to customer support.

    Hi, sorry it has been a long time since your last post. Are you still using SQL Data Sync and hitting any issue which we could help with?
    Linda

  • I am having "downloading safari safe browsing data" syncing problem !

    I am having "downloading safari safe browsing data" syncing problem ! My videos and music erased off from my new generation Ipad with IOS7 and I can restore them back from my itunes? I am using Win7. How can I get rid of this problem ?

    Hi ...
    This is the Safari for OS X community.
    Best to post your topic in the iTunes for Windows community > iTunes for Windows: iTunes: Apple Support Communities

Maybe you are looking for

  • IPod won't show playlists

    I just updated my iPod to 1.2.3 (I think that's what it is) and since then, I have not been able to get playlists to appear on the iPod Video (5G). I use the iPod entirely with video content. I have set up some Smart Playlists in iTunes 7 to organize

  • Console initialization issues on VM manager 3.1.1

    Hi, I created a guest vm and tried to start it up, it reports the console initialization error. xs_read(/local/domain/0/device-model/1/xen_extended_power_mgmt): read error Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0,

  • RFFOAVIS

    Hi, We are using version ecc5.00. Now i am trying to post some documents through F110 and printing of payment advice. We are using the payment method "c" to pay our vendors. When i am executing F110, I am able to generate the payment document, but no

  • How to delete Shutterfly albums

    I am NOT a techie person.  Somehow all my Shutterfly albums have transferred to my iphone 4 photo storage.  I CANNOT erase them.  When I try to delete them, I see a triple bar next to the album and it won't allow me to delete. Help!!!  My phone is fu

  • Problems viewing videos online!

    Hi Guys, this is just a quick one - my whole system is great and I have no issues with any other aspect other than my machine ability to load and play videos on youtube or any other online broadcasting site! The video simply won't load - I know that