HTTPS Merge Client Synchronisation Issues

May 1, 2007

Hi


We have about 70 clients, each with their own databases synching to a copy of their database on a remote webserver. They synchronise using a Windows Service which we wrote using RMO.



For completeness, our setup is as follows:

subscription.CreateSyncAgentByDefault = False -- I wrote a windows service to synchronise
subscription.UseWebSynchronization = True
subscription.InternetSecurityMode = AuthenticationMethod.BasicAuthentication
subscription.SubscriberType = MergeSubscriberType.Anonymous



Sometimes, one of our clients synchronisation goes up the spout - it might take hours to synchronise - despite their internet connection being fine. And once this starts to happen, nothing will fix it. We've restarted their server, rebooted their router etc etc.



Well, the only way of fixing it is to recreate the publication, copy the backup, reinitialise and start again, which costs us a days work and inconveniences the client greatly.


What would be the likely trigger for this. How can we stop this happening again.


If it helps we could create a trace to help resolve this.....



Regards

Bruce

View 1 Replies


ADVERTISEMENT

Password Expiry With HTTPS Merge Replication

Feb 13, 2006

Hi

We are using anonymous HTTPS merge replication.


The windows password used for the client subscriber expired on the publisher.

I reset it on the publisher - but SQL still seems to think that it is not expired - I get the following message in the event log of the publisher running SQL Server 2005

Login failed for user 'XYZ'. Reason: The password of the account has expired. [CLIENT: <local machine>]

 

Any ideas ?

thanks
Bruce

View 1 Replies View Related

Changing Merge Agent Profile For HTTPS - MergeSubscriberType = Anonymous

Aug 8, 2006

Hi


We are using HTTPS merge replication

Our setup is as follows:

subscription.CreateSyncAgentByDefault = False -- I wrote a windows service to synchronise
subscription.UseWebSynchronization = True
subscription.InternetSecurityMode = AuthenticationMethod.BasicAuthentication
subscription.SubscriberType = MergeSubscriberType.Anonymous

Some of our subscribers have low-quality internet connections - how do I get the agent at the publisher/distributer use a slower profile - I've read How to: Work with Replication Agent Profiles (Replication Transact-SQL Programming)
but can't see where you specifiy an alternate agent profile

On the distributer / publisher (same machine) I go to replication monitor -> Warnings and Agents - I can only set the profile for the snapshot agent....

thanks
Bruce

View 4 Replies View Related

Replication :: Check If Web Merge Sync Is Working Between Subscriber And Publisher Thru HTTPS?

May 14, 2015

How to check if web merge sync is working between a subscriber and publisher thru HTTPS ? SQL port 1433 at subscriber is blocked so no direct connection to subscriber.

View 2 Replies View Related

Merge Client Failing

Aug 31, 2006

Hi

We have sql2005 merge replication happening - it is using replisapi.dll over the net.

One of the clients has been working fine, until yesterday afternoon - we are running sql2005 sp1 at subscriber and distributer

The message is as follows....


Please help !

Error messages:


The process could not read the request message due to OS error 10054. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147014842)
Get help: http://help/MSSQL_REPL-2147014842

The format of a message during Web synchronization was invalid. Ensure that replication components are properly configured at the Web server. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199374)
Get help: http://help/MSSQL_REPL-2147199374

The subscription to publication 'yarraman main' could not be verified. Ensure that all Merge Agent command line parameters are specified correctly and that the subscription is correctly configured. If the Publisher no longer has information about this subscription, drop and recreate the subscription. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201019)
Get help: http://help/MSSQL_REPL-2147201019

View 1 Replies View Related

Optimising Merge Replication For Both Server And Client Subscribers

Jan 4, 2007


I need to merge replicate data to two different types of subscribers:

Clients subscribers which will have a very small percentage of the data from the central database. The data on these machines will be managed using dynamic filtering on host_name()
Server subscribers which will manage a copy of all the data from the central database
There will be far fewer server subscribers than client subscribers.

As I see it I have two options for the configuration
1) Use two separate merge publications €“ one which is filtered and one which isn€™t
2) Use a single merge publication and setup the filtering so that the server subscribers receive all the rows

Which option is likely to lead to better performance?

With option 1) there would be 2 complete sets of replication metadata which need to be maintained €“ so I am tending towards option 2. Are there any disadvantages in using a dynamic filter to return a very large number of rows?

View 6 Replies View Related

Using Https

Mar 15, 2006

I am going to use https for our website. Will this encrypt all of our web page? Can i just use https for some of pages?
Many thanks.

View 1 Replies View Related

Synchronising Via HTTPS

Dec 1, 2005

Hi,

View 4 Replies View Related

SQL Synchronisation

Feb 26, 2007

Hi
 
I have been giving myself a headache over deploying and synchronising sql databases.
 
Can anybody point me in the right direction of a tool that can help me to synchronise changes of structure / data between two databases. I have used the demo version of SQL compare, but I think its way too expensive. Does Microsoft produce a tool that can perform similar functions? If not can anybody point mew in the way of a tutorial that can help me with migration / deployment / synchronisations of SAL Databases.
 
Many thanks

View 2 Replies View Related

Web Synchronisation On XP Pro Box

Oct 17, 2007

Hi

For our application we want two Publisher models:
1) running SQL Server 2005 standard on Windows Server 2003
2) running SQL Server 2005 standard (or workgroup) on Windows XP pro

The reaseon is simply cost. The first for clients that may have 10s / 100s of SQLce subscribers, the second for just 1-5 SQLce subscribers.

We want to use Web syncronisation. Problem is when setting up on the XP box I get to the final bits of Microsoft's setup document and it starts to tell you to set up an application pool. As far as I can tell this is only available on IIS6 on Windows Server 2003.

Searching the Internet I don't seem to be able to find a definative 'don't be a pratt' you can't run Web Synchronisation from a XP pro box.

Could someone let me know if it is or is not possible. If I could get SQL Express to be a publisher (to SQLce subscribers) I would have prefered not to have the cost of a full verision of SQL Server for our smaller clients.

Many thanks in advance

Alistair

View 1 Replies View Related

Web Synchronisation Using RMO

Jun 21, 2006

hi every body please help me out on this issue , since i am at final stage in finishing up the module.

Previously i had done web synchronisation using RMO it is working fine at my office where i have an 2003 server which is an domain controller , publisher i have configured on the 2003 server , and i had subscribers on xp Machines where it was well working fine, clients were not on the domain , it is an independent Machine. we had an security error which was resolve by this same forum, ie the client windows login id should exists on the server too. only then synchronisation is happening at our office,

Now the problem is i have an same setup , but the server 2003 is hosted at a remote place , which is not an domain controller, now if i try to synchronise from our office i am getting "A Security Erorr Occured" , is it so that the publisher should be configured as an domain controller please any body resolve this issue

Thanks

View 44 Replies View Related

Web Synchronisation

Jul 2, 2006

iam able to open the web sync diagnostic information using URL https://itneersrv.abitta.com:443/Synchronise/replisapi.dll in the internet explorer but while running throuth the c# code to run Merge agent i am gettin the following error ,

[0%] InProgress The Merge Agent could not connect to the URL 'https://itneersrv.
abitta.com:443/Synchronise/replisapi.dll' during Web synchronization. Please ver
ify that the URL, Internet login credentials and proxy server settings are corre
ct and that the Web server is reachable.
A security error occurred

I am trying the synchronise through Internet where i have an publisher is at different country and subscriber at my office in India , i have given all privileges but then too i am getting same error , can any body help out on this..i have posted serveral times , few people responed but i could'nt resolve this issue



View 3 Replies View Related

Cannot Print From ReportViewer When Using HTTPS

Nov 1, 2007

Hi,

We are using the ReportViewer web control (SSRS 2005) to render server reports on a webpage that is exposed over the internet. Clients connect using HTTPS, however they are connecting to an ISA server which forwards the requests to the website using plain HTTP.

Reports are shown correctly, however when the user clicks the print button, the request to the web server is sent using HTTP not HTTPS and the ISA server is not allowed to accept incoming HTTP traffic. The result is that reports cannot be printed. We have proven that the reports do print if we manually alter the request to use HTTPS, so there is definitely no problem with our printers.

The problem is that we cannot work out how we can get the print request to be automatically sent using HTTPS.

We had a similar problem when we implented ReportBuilder, but we got around this by specifying HTTPS in the ReportServerExternalUrl tag in the RSWebApplication.config file. Unfortunately this has no effect on the print request from the ReportViewer.

So if anyone has got a solution/workaround/suggestion for this problem we would be very grateful.

Thanks,
Dean.

View 1 Replies View Related

Synchronisation Problems

Sep 14, 2000

We have a central server, with offices from other country's synchronising with our main DB. Some are fine, but many for some reason keep getting the same error message time after time:-

"The process could not log conflict information"

You then go into the problem and it says it can not read the file of a particular table due to Error 53.

I have no idea what this means. If anyone can help, I'd be very appreciative!

Thanks in advance,
Greg

View 1 Replies View Related

Synchronisation Problems

Jan 16, 2001

We have a fair number of databases in different countries and we synchronise with them everyday. Apart from all the problems we have, recently it has gone well. In HQ, we have local database and also 1 which the countries synch with. Therefore, the local database needs to synch with the synch database. That is successful every time. The only problem we have is that after synchronisation is complete, there are differences in data in the 2 databases and we don't understand why - after all, synchronisation is meant to keep the databases the same. If anyone has any ideas why this is happening, I would be very grateful if you could get back to me. Thanks.

View 3 Replies View Related

Replication / Synchronisation

Jun 22, 2006

Hi Guys, my first post here for quite a while.

I have a question regarding replication and or database synchronisation:

I am doing some work on a SCADA control system in .Net - (SCADA=[S]upervision, [C]ontrol And [D]ata [A]quisition)

Obviously, these are mission critical systems that must have uptimes of greater 99%.

Tradiotionally, we have used custom written database in assembler or C, but these are getting rather long in the tooth, and, in my opinion, represent a massive man-time investment developing something that already exists 'off the shelf' (for example, our custom written database, the first version of which roled out nearly 20 years ago doesn't support SQL)

So, I'm looking to see if there is an off the shelf DB that can do what we need it to do. I lean towards Microsoft because of it's integration with the .Net platform.

However, probably the most important criteria for us is that of database synchronisation - as data from the plant arrives it is stored in a database (obviously) - however, at the SAME TIME, it is sent to a back up (standby) database which is identical in every respect, except it does not 'answer' queries, it only listens and keeps it's database up to date. Then, should the 'primary' database server fall over, the standby will become active, and it is up-to-date ready to run.

Does SQL server offer such a facility that changes to a database can be immediately and automatically 'echoed' to a standby database? Automatic promotion from standby to main is not an issue, as this decision would be taken by the application software 'in front' of the database - if it cannot contact the main DB server, it will elect to start talking to the standby, thus, philisophically (sp?) the standby is now the main server.

Hope I haven't confused anyone here with my rambling?

The problem is my hunch (not being a DB guru) is that replication is NOT what I am looking for - I *think* replication does sync data and schema (correct me if i'm wrong) but not immediately - it is scheduled? Yes?

I am looking more for synchronisation - but it has to be 'on the fly' - not every 15 minutes or 8 hours etc...

If SQL server cannot do it, then it's not a major problem, since the DB access layers of the applications themselves can simply write their data to two DB's, and queue writes in a buffer if one of the partners is offline, such that they will be written to the partner when it comes online - however, I'm all for an easy life, and if the boys at Microsoft have already settled this issue, then i'm all for that!

Your advice would be appreciated.

Regards

Mark Wills

View 2 Replies View Related

SQL Server Synchronisation

Apr 13, 2008

Hi

I am using a sql server database for storing gps data from a remote location. The average data stored in the db is around 2 GB/day. For security reasons, my application is working on another server which has same db. I need to update data in the second database within an interval of 2 seconds. The user entry in the application server has to be synchronised with first server also. Is replication is possible in such a small interval?. Anybody have any suggestion?

Thanks in advance

Kuttan

View 4 Replies View Related

Performance Of Web Synchronisation?

Nov 14, 2007

We have a SQL Server 2005 database supporting our main ecommerce site. It is hosted remotely by our ISP. We currently maintain a local copy of this database by running daily stored procedures to keep the local copy up to date. However we'd like to explore the use of replication over HTTPS as an alternative means of keeping the local copy in sync with the ISP database.

Could anyone comment on the technical feasibility of doing this, given that transaction throughput on the ISP server can be several hundred hits per hour? Is web-based synchronisation likely to suffer from poor performance, or to adversely affect users of our ecommerce site?

View 2 Replies View Related

Data Synchronisation

Jul 20, 2005

Hi,I'm working with two databases on to physicaly separated servers: #1is on a local machine en I can only connect to #2 via an ADSLconnection.I need to syncrhonise the data. This works fine via the wizard fromthe Enterprise Manager. But I want to get this done via a script formthe Query Analyzer that I can run whenever I want to. Something like:insert into srv1.database.dbo.table1select * from srv2.database.dbo.table1When I do this I get an error about "linked servers". That surprisesme, because I have no linked servers configured and yet the wizardworks fine?Can anyone tell me how to accomplish this?tavJan Willems

View 1 Replies View Related

Web Synchronisation Throuth SSL

Jun 19, 2006

hi,

i have done Web Synchronisation Using RMO , where i have an remote server at a remote place, where the Virtual Directory is Configured With SSL, for testing purpose if i access from the Client Computer entering http://72.17.246.214/SyncAbita/replisapi.dll?diag " in the address of IE giving an errormessage "Unable to Reach Remote Host", if i remove SSL on the Server , i am able to access "SQL Websync diagnostic information" Page from the Client Machine, is it not possible to get perform Web Synchronisation With SSL, then i have inStalled 7 days Trial Version SSL on the Sever. Can any body help me out on this Issue

View 15 Replies View Related

Wireless Synchronisation

Dec 28, 2005

How can i synchronise (wireless) data from desktop to ppc?

View 1 Replies View Related

Database Synchronisation

Feb 22, 2007

Hi..

I hope this is the right forum for my question. I am very new in Databases. I have such a problem:

There is a Database on SQL-Server in a country X. This database has tables like

Table 1,Table 2 ,.....Table 10;

I develope an Application with Visual C#.NET 2.0. I use a local SQLExpress database, which has tables like

Table1,Table 2..Table 6,Table A,Table B.

As you see Table 1-Table 6 are same in both databases (not the whole database ). And these tables must always have the same information (Server database changes->local database must read the changes). Because of that there must be a Synchronisation between them.

How can I solve this Problem? Do I need to write code or is there any simple solution?

Thank you.

View 1 Replies View Related

SQL Server Synchronisation

Apr 13, 2008

Hi

I am using a sql server database for storing gps data from a remote location. The average data stored in the db is around 2 GB/day. For security reasons, my application is working on another server which has same db. I need to update data in the second database within an interval of 2 seconds. The user entry in the application server has to be synchronised with first server also. Is replication is possible in such a small interval?. Anybody have any suggestion?

Thanks in advance

Kuttan

View 6 Replies View Related

Tunneling Enterprise Manager Over Https ASP.NET?

Jul 23, 2005

My host does not provide a good web based management tool for the sqlserver database I am using. They queue imports and exports so it takesseveral hours before things are finished. They provide this web basedaccess and access through asp or asp.net. Does anyone know how I couldtunnel a connection from enterprise manager to the database using aasp.net web application?ThanksTy

View 1 Replies View Related

HTTPS Access To SQL 2005 Cubes

Sep 18, 2006

Hi there

I have two machines one 64bit machine with SQl 2005 on it and another 32 bit machine which I use as my web server both running win2003. I have followed the knowledgebase article from Microsoft (http://www.microsoft.com/technet/prodtechnol/sql/2005/httpasws.mspx) and also researched postings on this site but can't seem to access the cubes remotely. I have changed to msmdpump.ini file to have the <ServerName>mycomputername</ServerName> which points to the SQL box.

I can connect to the cubes from the 32 bit machine using somethign like crystal reports and connecting directly to the server name but can't connect to https://localhost/olap/msmdpump.dll I get an error about could not connect to the computer name or the computer is not runing analysis services.

Any ideas?

Cheers,

Derek

View 3 Replies View Related

Https &&amp; Setting ServicePointManager.ServerCertificateValidationCallback

Jan 22, 2006

Hi,



In my CLR stored procedure, I made a https request. To by pass the security check, I change the property of ServicePointManager: ServerCertificateValidationCallback . But SQL server 2005 does not allow me to do this and gives me exception related to security.



It seems the CLR assembly does not have permission to set the property of ServicePointManager: ServerCertificateValidationCallback.



What kind of user should I use to run this stored procedure?

I already assign external_resource to the assembly in SQL server 2005.



The code:



ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(myCertificateValidation);

public bool myCertificateValidation(Object sender,
X509Certificate cert,
X509Chain chain,
SslPolicyErrors Errors)
{ return true; };



thanks,



Guangming

View 9 Replies View Related

Unable To Access Sqlcesa30.dll Under Https://

Apr 20, 2007

I'm unable to do a RDA.Pull() when I have the sqlcesa30.dll running under HTTPS. What are the requirements to allow me to pull with the dll under HTTPS?

what are the impacts running under https:?





View 4 Replies View Related

Database Synchronisation Tools

Aug 9, 2007

Im looking for some recommendations on tools I can use to keeo my dev/test/prod databases in synch. Im tired of doing this manually. I use SQLSever 99% of the time but if there is a tool that can manage other database also I would be interested in hearing about it also.

View 1 Replies View Related

Real Time Synchronisation

Oct 24, 2000

Hello,

Can anyone guide me. which is the best method for real time synchronisation of my production server. Is it Transactional Replication or Stand By Server?

Thanks In Advance

Sejal

View 2 Replies View Related

Alternate Synchronisation Partners

Jun 8, 2006

Yes, I know synchronisation to alternate partners is deprecated in SQL2005 but....

In SQL2000 there is a Sync Partners tab in the publication properties dialog that allows you tick a checkbox for each co-publisher to be enabled as an alternate synchronisation partner. What is the equivalent in SQL2005?

I've set up replication in SQL2000 following these instructions http://support.microsoft.com/?kbid=321176 and it works. Now I'm trying to do the same thing in SQL2005 but I can't find a substitute for steps 10 & 11 in the section "Set Up the Alternate Synchronisation Partner". What's the answer?

Thanks in advance.

View 10 Replies View Related

Synchronisation Using Web Service For PDA Application

Feb 6, 2006

I am developing a application on PDA using c# compact framework. I would like to do synchornisation of sql mobile 2005 database with sql server 2005 database using web service.

The reason for going to webservice is based on the client request.

Will anybody help me on this, how to perform conflict management etc.

View 4 Replies View Related

Intermittent Failures Using Web Synchronisation

Dec 18, 2005

HI

We are using HTTPS anonymous merge subscriptions....

Sometimes when trying to synchonise, we will get the following error messages returned to the subscriber....

The upload message to be sent to Publisher '**thewebserver**' is being generated
The merge process is using Exchange ID '0F65CFCB-AF17-47DC-8D98-493A44C243E0' for this web synchronization session.
The Merge Agent could not connect to the URL 'https://**thewebserver**/client/replisapi.dll' during Web synchronization. Please verify that the URL, Internet login credentials and proxy server settings are correct and that the Web server is reachable.
The Merge Agent could not connect to the URL 'https://**thewebserver**/client/replisapi.dll' during Web synchronization. Please verify that the URL, Internet login credentials and proxy server settings are correct and that the Web server is reachable.
The Merge Agent received the following error status and message from the Internet Information Services (IIS) server during Web synchronization: [401 :'Unauthorized']. When troubleshooting, ensure that the Web synchronization settings for the subscription are correct, and increase the internet timeout setting at the Subscriber and the connection timeout at the Web server.


If I then go to a web brower, put in the HTTPS address, it brings up the logon dialog - I put in the admin username and password to confirm the connection and that's fine.

We try and synchronise again, and this time it works - it's as though I have 'woken' it up again and it's happy to play.

Is increasing the timeouts as suggested by the error message the way to go ? If so, where does one set the 'internet timeout setting at the subscriber', and the 'connection timeout at the webserver' ?

 

thanks

 

 

View 3 Replies View Related

SSRS Reports On A Secure Server (https:)

May 1, 2007

We currently have a few reports running on a external website. The users have to log in to the website using their Domain Username and Password. Our network admin wants to move from simply http, to a secure https protocol.



My question is: Are there any conciderations for making this move? ...Will it break my reports?

View 1 Replies View Related







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