Synchronization For PPC W/o Internet

Jan 6, 2006

Hi.. need some help!

     My problem is thus - I am looking for a
synchronization technique (between SQLCE and SQL Server 2000) for a PPC
which can not connect to the internet.
I am not sure at this stage if the device would even be equipped with a
network adapter.I
would be using RDA to sync with the database. The only problem is that I am unable to access IIS directly from the PDA.

    I did some research and found out that SQL CE Relay
is one way to achieve what I am looking for but Darren let me know that
Relay is outdated and might not be supported anymore. I tried working
with relay but in vain.

   I thought of using Pocket Access instead but Pocket Access
does not have the ability to handle the db I am using neither is it
being supported anymore.

   I am fast running out of ideas:(

   Could someone please suggest me alternatives or any available solution
to deal with the problem for a PPC with / without a network adapter.


      Thanks in advance!


Abhi.

View 3 Replies


ADVERTISEMENT

Windows Synchronization Manager And Subscriber Web Synchronization

Dec 7, 2005

Hi,

View 5 Replies View Related

Web Synchronization - Completed Synchronization Starts Again

Sep 6, 2006

Hello everybody,

There is some strange behaviour i've recently noticed while watching synchronization progress in Replication Monitor on SQL 2005 Server Standard with merge replication configured. The merge process seems to repeat several times.

This is the initial synchronizaion (reinitalization at the subsciber). Client is using Microsoft.SQLServer.Replication objects from .net framework assemblies.

The synchronization starts normally (status is "Running"). The last message of selected session box shows (among other messages): "Beginning evaluating partial replication filters" then "Finished evaluating partial replication filters" and finally "Merge completed after processing xxx changes... etc." after a few seconds. Status changes to "Completed" and then... the merge process starts again!! "Beginning evaluating partial replication filters" etc. And this repeats about 15-20 times.

And so whole process takes about 15 minutes instead about 45 seconds to complete initial synchronization. The number of changes is "Merge completed after processing ..." never change since the first such message.

Is this some bug in web synchronization or some invalid configuration setting? Why does merge process repeat itself so many times??

Please help, thanks in advance.

Kuba

View 6 Replies View Related

Synchronization

May 6, 2008

Hi! Is there a free tool that would synchronize the database in development with the database in the live server? Thanks!

View 3 Replies View Related

Immediate Synchronization?

Sep 8, 2005

Is it possible in SQL Server to have replication happen immediately aschanges are made. That is, a change is made on server A, and that change isautomatically applied to server B, rather than the replication happening atset intervals?Thanks.

View 5 Replies View Related

Web Synchronization

Feb 19, 2007

Hello guys!
I went through the bunch of documentation pages about configuring the one for providing web subscriptions.
The most usefull for me were:

Security Architecture for Web Synchronization
How to: Configure an IIS Server for Web Synchronization (SQL Management Studio)
How to: Configure a Subscription to Use Web Synchronization
Topologies for Web Synchronization
Securing the Publisher
Subscribing to Publications
Mssubscription_properties (Transact-SQL)
How to: Configure a Subscription to Use Web Synchronization (Replication Transact-SQL)
sp_addmergepullsubscription (Transact-SQL)
Web Synchronization for Merge Replication
 But I still have questions about it. If you could help me with small notes about subscribing to web based merge publication I would really appreciate that!

I believe, I just need a bit of clarification. The target setting is simple as it is: a client should connect to the our hosting server via HTTPS and update his pull subscription on demand by running .NET application.
 Avoiding the server part, are the following steps correct and enough to accomplish what I need?
1. To create subscription, should I use the script:-- This script uses sqlcmd scripting variables. They are in the form-- $(MyVariable). For information about how to use scripting variables  -- on the command line and in SQL Server Management Studio, see the -- "Executing Replication Scripts" section in the topic-- "Programming Replication Using System Stored Procedures". -- Publication must support anonymous Subscribers.-- Execute this batch at the Subscriber.DECLARE @publication AS sysname;DECLARE @publisher AS sysname;DECLARE @publicationDB AS sysname;DECLARE @websyncurl AS sysname;DECLARE @security_mode AS int;DECLARE @login AS sysname;DECLARE @password AS nvarchar(512);SET @publication = N'AdvWorksSalesOrdersMergeWebSync';SET @publisher = $(PubServer);SET @publicationDB = N'AdventureWorks';SET @websyncurl = 'https://' + $(WebServer) + '/WebSync';SET @security_mode = 0; -- Basic Authentication for IISSET @login = $(Login);SET @password = $(Password); -- At the subscription database, create a pull subscription -- to a merge publication.USE [AdventureWorksReplica]EXEC sp_addmergepullsubscription         @publisher = @publisher,         @publication = @publication,         @publisher_db = @publicationDB,        @subscriber_type = N'anonymous'; -- Add an agent job to synchronize the pull subscription. EXEC sp_addmergepullsubscription_agent         @publisher = @publisher,         @publisher_db = @publicationDB,         @publication = @publication,         @distributor = @publisher,         @job_login = @login,         @job_password = @password,        @use_web_sync = 1,        @internet_security_mode = @security_mode,        @internet_url = @websyncurl,        @internet_login = @login,        @internet_password = @password;GO
 
What is  @job_login parameter here? As I understand, I will not run SQL Agent job as our client uses MS SQL Server  2005 Express. And I do not want to run it as we will provide a client with .NET application for performing synchrinization on demand
Parameter @publisher means full SQL Server instance name? For example, MYMACHINEMSSQLSERVER?
What user will be used to connect to the distributor and to the Publisher? Will it be @internet_login?
Do I need running sp_addmergepullsubscription_agent if I€™m going to use the following .NET application code to synchronize over the Internet?
 
2. To perform synchronization with our hosting servers, should a client use the following code?
            // Define the server, publication, and database names.
            string subscriberName = instanceName;
            string publisherName = instanceName;
            string publicationName = "AdvWorksSalesOrdersMerge";
            string subscriptionDbName = "AdventureWorksReplica";
            string publicationDbName = "AdventureWorks";
            string hostname = "adventure-works\garrett1";
            string webSyncUrl = "https://" + instanceName + "/SalesOrders/replisapi.dll";
 
            // Create a connection to the Subscriber.
            ServerConnection conn = new ServerConnection(subscriberName);
 
            MergePullSubscription subscription;
            MergeSynchronizationAgent agent;
 
            try
            {
                // Connect to the Subscriber.
                conn.Connect();
 
                // Define the pull subscription.
                subscription = new MergePullSubscription();
                subscription.ConnectionContext = conn;
                subscription.DatabaseName = subscriptionDbName;
                subscription.PublisherName = publisherName;
                subscription.PublicationDBName = publicationDbName;
                subscription.PublicationName = publicationName;
 
                // If the pull subscription exists, then start the synchronization.
                if (subscription.LoadProperties())
                {
                    // Get the agent for the subscription.
                    agent = subscription.SynchronizationAgent;
 
                    // Check that we have enough metadata to start the agent.
                    if (agent.PublisherSecurityMode == null)
                    {
                        // Set the required properties that could not be returned
                        // from the MSsubscription_properties table.
                        agent.PublisherSecurityMode = SecurityMode.Integrated;
                        agent.DistributorSecurityMode = SecurityMode.Integrated;
                        agent.HostName = hostname;
 
                        // Set optional Web synchronization properties.
                        agent.UseWebSynchronization = true;
                        agent.InternetUrl = webSyncUrl;
                        agent.InternetSecurityMode = SecurityMode.Standard;
                        agent.InternetLogin = winLogin;
                        agent.InternetPassword = winPassword;
                    }
                    // Enable agent output to the console.
                    agent.OutputVerboseLevel = 1;
                    agent.Output = "";
 
                    // Synchronously start the Merge Agent for the subscription.
                    agent.Synchronize();
                }
                else
                {
                    // Do something here if the pull subscription does not exist.
                    throw new ApplicationException(String.Format(
                        "A subscription to '{0}' does not exist on {1}",
                        publicationName, subscriberName));
                }
            }
            catch (Exception ex)
            {
                // Implement appropriate error handling here.
                throw new ApplicationException("The subscription could not be " +
                    "synchronized. Verify that the subscription has " +
                    "been defined correctly.", ex);
            }
            finally
            {
                conn.Disconnect();
            }
 
What does HostName parameter use for? What is that host? Subscriber€™s machine name instance name? Or Publisher€™s? Or Distributor€™s?
Why parameters PublisherSecurityMode and DistributorSecurityMode have value SecurityMode.Integrated? How it is used in the replication model for web synchronization? As I understood from the documentation, client (Merge Agent) should connect to the Subscriber, get the changes, connect to hosting server via HTTPS and perform transactions through the SQL Server Replication Listener, thus the internet login to the IIS should be used to perform all the operations on hosting server side? The same internet login will be used to get snapshot from UNC share?
If I€™ve chosen to use FTP to provide with snapshots, should I then provide ftp parameters to sp_addmergepullsubscription_agent stored procedure or they will be used automatically by ISAPI filters on hosting server?
Thank you.

View 1 Replies View Related

Synchronization

Mar 24, 2006

Hello,

I'm having to build a smart client application that works with an offline sql express database on the client. And works with several types of databases - that may be configured to work as a central server. The list includes the sql server family including 2000, 2005 and express and also IBM DB2.

I have to address some rather complex merge replication scenarios. By Merge I mean the ability to deal with handling and synchronization of bi-directional changes. More specifically changes to data may be made to any database in the system. either local or central.

I'm afraid, I cannot use sql replication in a heterogenous mode for several reasons. Some being - the database is being auto attached on the client, the application is expected to live up to the 'low impact' install ideology and should not need any major configuration etc.....

Are there any recomended approaches/Ideas one may use to acheive replication. Any links/information/ideas will be great.



Thanks,

Avinash





View 6 Replies View Related

Synchronization

Sep 25, 2007

First please look at image:





Code Snippet

http://www.patysie.com/screen.png

Can I be 100% sure that script component 3 (orange) will start AFTER script component 1 (yellow) is finished?

Sorry for link but I couldn't paste an image.

View 5 Replies View Related

Synchronization With RDA

Jan 31, 2008



Hi!

I'm developing a Windows Mobile solution (Pocket PC Win 5-6). I have Sql Server CE on the device and I use RDA (Remote Data Access) to pull the tables to the Sql Server CE. I use RdaTrackOption.TrackingOffWithIndexes so I can Alter the table design. Then I use the function SubmitSql to push back my changes. On the server I have a table for example Customers, it has a column called CustomerId with identity(1,1). Let's say the highest Id is 100 and the lowest is 50, when I add a record in the Sql Server CE it gets CustomerId = 1 then next one 2 etc which means identity is working but does not continue after 100. I don't need to use the CustomerId when I push my data back because I have sql syntax taking care of @@IDENTITY when inserting new records. Anyone who knows why it begins on 1 and not 101?

/Magnus

View 4 Replies View Related

SQL 2000 Over The Internet

Jul 5, 2001

I am trying to connect to SQL Server 2000 using the enterprise manager, and I want to do it over the Internet. My server is in another country and I am using SQL authentication. When I try to make the connection I get a message of server does not exists or access denied. If I ping the server the ping is successful, I am using TCP/IP as protocol for the client, I am not behind any firewall, and the port 1433 is enabled and is the default. I imagine it has to be something with permissions but since I am using SQL validation it should work. Is there something else I have to change?

View 2 Replies View Related

SQL Connection Over The Internet

Jul 11, 2001

Hello,

I am trying to upload a database (MS SQL 7) from my machine to a remote location (host company). This company has MS SQL Server 7 running in its machine, so they told me that all I had to do was to connect from my SQL Enterprise Manager. I am new to MS SQL, so I would appreciate if someone can help me to create a connection from Enterprise Manager to this remote SQL Server.

Thanx

View 1 Replies View Related

Access SQL Through Internet

Jul 16, 2001

I need to access my SQL server from another domain across the internet. How can I do this? Everything I have tried has been unsuccessful.


Chris Walcott

View 2 Replies View Related

Administration Of SQL 7 Over The Internet

Jan 21, 2000

Hi
Could someone help me out with administration of SQL Server over the internet.
What do I need to change on my SQL Server and what will I need to configure on my clients using SQL analyzer connecting over the internet

Vijay

View 1 Replies View Related

SQL Server And Internet

Mar 13, 2000

Hi,
I am developing a VB app that will be accessed over the net. What do i need to do so that my users will be able to connect to the SQL server without being denied the permission.
a hind regarding the network library settings will be most appreciated.
Thanks in advance.
Deepak.

View 2 Replies View Related

Sql Data On The Internet

Feb 9, 2000

I would like to know how I can make data from sql 6.5 availeble for viewing on the internet. I think that I have to use ASP but how to implement this and what the steps are to follow is a big mystery for me, so if someone can the me more about this....

View 3 Replies View Related

Sql Admin Via The Internet

Mar 29, 1999

Hello,

I will soon be managing a sqlserver/iis4.0/nt box located remotely in another state. It has a permanen connection to the net. I have a dialup connection.

I have a remote control package, but it is slow. Is there a way to add that boxes sql server to my enterprise manager on my local nt server so that I can
adminsiter it from my machine? I am not over familair with sql server, but quickly learning!

Will I need to set up a vpn to do that?
I searched microsoft knowledge base, but could not find anything.
Thanks for your support.
Johanna

View 2 Replies View Related

Replication On The Internet Through FTP

Aug 6, 2001

Hi,
I am trying to replicate using Win 2000 and Sql 2000 on the Internet(FTP) using merge replication
The seqence of Activities are
..Intializing
..Connecting to publisher 'PUBSERVER'
..Retrieving publication Information
..Retrieving Subscribtion Information
..The subscription has been marked for reintialization.Reinitialization will occur the next time you synchroize this subscription
..The schema script 'Pubserver.. .. emp_1.sch' could not be propagated to the subscriber.
..The schema script 'Pubserver.. .. emp_1.sch' could not be propagated to the subscriber.
..The process could not read the file 'Pubserver....emp1.sch due to OS error 53
Can you help me out with this
(Please not I was able to replicate on the LAN with the same setup)

Regards
Anil

View 2 Replies View Related

Connection Thru Internet

Dec 9, 2004

Hello again pals, i meet you again to ask an old question i had, but no found answer.

Can i connect to a remote SQL Server thru Internet, lets say from a client like Query Analyzer?

I read to make it using a VPN, but i try to configure it and cant get connected.

I'm using a Win2000 Server or Win2003 Server,

Thanksfull!!!!

There is many people asking for that, i start to think it cant be done! :'(

View 6 Replies View Related

Who Can Help Me With Conection Over Internet?

Jan 11, 2006

Hi,
Now I really need you help. I have an application that needs to conect to a server
over the internet and I have change the MSQL port to 2015 cos the server even with a
firewall it has been attempt to be hacked. So I needed to change the port but my application
cannot conect to the server if I change it. If I left in the firewall 1433 and SQL it works fine
but once I change it to 2015 it doesn´t work.


I´m using ADO conection as folow:

Variables string parameters:
01=password
02=user
03=database
04=server IP adress

"Provider=SQLOLEDB.1;Password='+01+';Persist Security Info=True;User ID='+02+';Initial Catalog='+03+';Data Source='+04;"

Using this conection string I can conect to the server using 1433 port but if I change the port I get the folow message:

"[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied."

I´d try to add the new port number to IP adress but it doesn´t work as (200.121.65.140:2015) and it return the folow message:

[DBNETLIB][ConnectionOpen (ParseConnectParams()).]Invalid connection.

What I need to know or to do? Please somebody help me cos I don´t know more what to do and my superiors need awnsers.
Thanks for attetion.

Leonardo Almeida.

View 3 Replies View Related

Connecting To Sql Over Internet

Sep 23, 2006

hello,
we are learning sql2000 at school. i have been put in charge of trying to make it possible for the students to connect to the sql database from home.At the college they connect via a lan. Can anyone give me a way to do this, or is there a way. There are 30 students who will need to connect not all at the same time. Besides buying something like pcanywhere is it possible and how. I would really appreciate it. thanks again, tom

View 2 Replies View Related

HOW TO CONNECT SQL OVER INTERNET

Jun 17, 2008

Please help me connect sql server over internet. I tested the connection in Windows XP, SQL Sever 2000, Router (forwarding IP port 1433) and its is working properly.
But using the same process in Windows 2000 Advance Server, Microsoft SQL Server 2000, Router (forwarding IP port 1433) Im getting the error "Unable to connect to server" . Can any one help me to setup this network. Thank you in advance!

View 11 Replies View Related

SQL Query Over The Internet?

Jan 22, 2007

it is my first time using SQL remotely, i am used to client/server ..

i need to run query and execute procedure remotely.

i have SQL server 2000 installed on one machine connected to the internet with static IP adress, the second machine does not have SQL server but also connected on the internet but different cities.. so how that can be possible?

i am using VB6 to and ODBC, i need to know the full code to execute procedure or run query and what i have to do on the first machine to let it work and give me access over the internet?





View 1 Replies View Related

Authentication Across Internet

Jan 3, 2007

From what I have understood, Reporting Services could be configured to use Basic Authentication. In this way, a user can access a RS-server across the internet and he/she will be prompted for a valid username/password when trying to access.

However, from what I can understand this username and password will be sent uncrypted over the Internet (from the client machine to the RS-server), right?

My problem is, I need to give access to users acress the internet to a RS-server. The users uses all kind of operating systems (Windows, Linux, MacOS tec). And the communication needs to be encrypted.

How would you recommend me to implement security for this solution? I guess some kind of "Forms authentication" will have to be used? But how to make sure the data traffic is encrypted? And where do you recommend me to store the username and passwords? In an Active Directory on the server side, or in a separate database on the server side?

regards Andreas

View 7 Replies View Related

Connecting Via The Internet

Jun 1, 2008

I have just started on SQl Server and C# and was wondering if the following is possible.

Using a Windows application, is it possible to connect to a database held on another computer via the Internet? I am not talking about a local network / domain whatever.

What I am really asking is can you use the IP address of a 'real' remote computer in the connection string or is it done some other way?

John

View 1 Replies View Related

Mirroring Over Internet

May 31, 2007

Can SQL Server do mirroring over Https protocol over internet?



View 3 Replies View Related

Help With RS2005 And Internet

May 5, 2008

Hi all,

I really need help with this issue.

I have a setup a reporting server that works perfectly when accessing it from the intranet. Now I need to give access to this report server over the intranet.

I'm stomped...

The network guys did create a secure access to my report server so I can access my server using :
https://<MySecureRS>/reports

The issue I'm facing is that once I authenticated my self using https://<MySecureRS>/reports
It shows the internal ip addres of my server in the browser.... http://<My internal IP Adress>/reports

How can I configure my server to stay on my secure address?

Thanks
Aiwa

View 4 Replies View Related

MSSQL Over Internet

Jan 1, 2008

I am tuning up a stalled ASP.NET2.0 community website.
The latter accesses MS SQL Server2005 (SS2005) database over internet.

The website and SS2005 are on different machines and even networks communicating over internet.
They are on shared public hosting that I access through Helm control panel.

The accounts are very restrictive to check most of configurations.

What are possible pitfalls, configurations, security configurations and dangers,
optimizations for accessing SS2005 over internet?

View 3 Replies View Related

Database Synchronization

Sep 18, 2006

I have 2 distributed databases which need to be synchronized at regular basis.  I plan to write a service that does it.  But I'm just curious how to do the update incrementally.  Thanks

View 4 Replies View Related

Synchronization Of Database

Jan 10, 2007

I have a website that is running on the intranet and on a notebook. I have a notebook that is not always connected to the internet.. when it is not connected, it will read in some data from a barcode reader; and when it's connected, it will synchronize the data with the db on the intranet.. any idea on how to achieve this? 

View 2 Replies View Related

DataBase Synchronization

Jul 2, 2007

Hi All,
I want to do SQL Server DB Synchronization. The scenario is like this..
DataBase is presently on SQL Server 2005, When end user click on button or on some action event
all data to from the server should be fetched & should be saved on client m/c. Afer that when user click on button or on some
event, DB should be synchronized. i.e. if there is any change in Server Data, client data should be automatically update...
How can i achieve this using C#..
Plzzz Help!!!!!

View 1 Replies View Related

Database Synchronization Using XML

Jun 16, 2004

I am a complete novice so I would appreciate any help or suggestions.

I have two databases : 1 development DB, 1 production DB (both are SQL Server)

I make changes to development DB on a daily basis and I need a method to bring these changes across to production DB.

Currently I query the selected table in the development DB and write the DataSet to an XML file.

##
objDataSet.WriteXml(Server.MapPath("xDataDictionary.xml"))
##

Once I go to client site (where production DB is located) I want to generate a DataSet (which I am able to do) and compare this DataSet with the DataSet created when I read in the XML file.

##
'read in XML file
XMLDataSet.ReadXML(Server.MapPath("xDataDictionary.xml"))
##

There is a unique identifier in the table and XML file called 'FieldID'.
What I need to do is compare DataSet (from Production DB) with DataSet from XML file.

If there is a 'FieldID' in the DataSet from XML file that IS NOT in DataSet from ProductionDB I want to insert this node/row into the database.

Any suggestions?

crimsonIE ;-P

View 7 Replies View Related

SQL Database Synchronization

Aug 17, 2001

I was wondering if anyone knows if there is any software available or
if it is easy to implement the following.

We are running a SQL Server database locally in house and also have
the exact same database running on a hosted webserver. The data
changes on both versions of the database daily and what we need to do
is figure out a simple easy / cheap way to have the two databases
synchronize with each other every evening so that the data is exactly
the same every morning.

I would appreciate any input.

thanks
Mark

View 1 Replies View Related

Sql Server Synchronization

Jun 6, 2002

hi!
all.

i want to create a web application architechture which having multiple web server.
this all web server having sql server database.
now what i want is to Keep all data in all databases.
means i want to synchronize my all sql servers.
it is also possible ki my one webserver can have multiple clusted database.
hope to hear soon from u people.

Regards
Viky

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved