473,778 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Synchronizing Local and Web Data

I am not sure if these are the correct groups to post this, so please
redirect me if there are better ones.

Client has a SQL Server db of organizations and member info that is in
pretty much constant use at his location.
He would like to make the maintenance of adding/editing member info
available on the web.
Since the data contains personal info the web app (built in ASP.NET) will
use SSL.
The unique identifier for a member is the combination of the organization
and a user supplied value. This can't be changed as the local front end is
already in use and built by another party.

My thought is to place a copy of the db with relevent tables on the
webserver (commercial host) and synchronize it with the local db.

Client's current internet connection is DSL, but he would be willing to get
fractional T1 if needed.

I would appreciate any thoughts, comments, suggestions on synchronizing the
data.

TIA

--

Alphonse Giambrone
Email: a-giam at customdatasolut ions dot us

Nov 18 '05 #1
7 1128
Alphonse,
as you are editing data at both sites, my recommendation would be merge
replication. Merge will allow autonomy (disconnected access between the 2
SQL Server databases) and latency. It will also solve and log conflicts if
your client edits a member's info while someone else does on the aspx page.
There is a good section on merge replication in BOL.
For the replication setup over DSL/T1 you'll need to arrange things a little
differently as presumably it'll be a VPN or non-trusted domain. Here is a
reference to help set it up: http://support.microsoft.com/?id=321822
HTH,
Paul Ibison
Nov 18 '05 #2
Paul,

Thanks for the info and link.
What would be the feasability of just keeping the db at the client site and
having the web server accessing the data (read/write) directly from client's
SQL Server via a vpn?
Of course, upgrading from the DSL.

--

Alphonse Giambrone
Email: a-giam at customdatasolut ions dot us
"Paul Ibison" <Pa*********@Py gmalion.Com> wrote in message
news:u6******** ******@TK2MSFTN GP11.phx.gbl...
Alphonse,
as you are editing data at both sites, my recommendation would be merge
replication. Merge will allow autonomy (disconnected access between the 2
SQL Server databases) and latency. It will also solve and log conflicts if
your client edits a member's info while someone else does on the aspx page. There is a good section on merge replication in BOL.
For the replication setup over DSL/T1 you'll need to arrange things a little differently as presumably it'll be a VPN or non-trusted domain. Here is a
reference to help set it up: http://support.microsoft.com/?id=321822
HTH,
Paul Ibison

Nov 18 '05 #3
Hi Alphonse,

I also agree on Paul's suggestion on using SQLSERVER's replication
function. And as for the accessing the db via a vpn problem you mentioned,
I think maybe the main problem will focus on the connection between the two
machine since the VPN may have a firewall which will possibly prevent the
externel connection to the db server. Here is a kb article discussing on
this, you may have a look:

#INF: TCP Ports Needed for Communication to SQL Server Through a Firewall
http://support.microsoft.com/default...b;EN-US;287932

In addition, if the client machine(have the sqlserver db installed) can
host a webservice application(hav e iis and dotnet framework), I suggest
that you can consider building a webservice and expose all the sqlserver db
data manipulation and synchronizing via this webservice. Thanks.

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #4
Thanks Steven,

A web service is also a possibility. Clients server is SBS 2000 and if it
does not already have IIS/dotnet, he would get it installed (I assume SBS
will support it).

A couple of questions though:

Since the data is personal, how would I protect it from prying eyes if using
a web service?

Which method would provide noticably better performance:
Replication,
connection to client's server via vpn,
web service,
other suggestions?

--

Alphonse Giambrone
Email: a-giam at customdatasolut ions dot us
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:MS******** ******@cpmsftng xa06.phx.gbl...
Hi Alphonse,

I also agree on Paul's suggestion on using SQLSERVER's replication
function. And as for the accessing the db via a vpn problem you mentioned,
I think maybe the main problem will focus on the connection between the two machine since the VPN may have a firewall which will possibly prevent the
externel connection to the db server. Here is a kb article discussing on
this, you may have a look:

#INF: TCP Ports Needed for Communication to SQL Server Through a Firewall
http://support.microsoft.com/default...b;EN-US;287932

In addition, if the client machine(have the sqlserver db installed) can
host a webservice application(hav e iis and dotnet framework), I suggest
that you can consider building a webservice and expose all the sqlserver db data manipulation and synchronizing via this webservice. Thanks.

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #5
Alphonse,
I always prefer to get the data nearer the application; it avoids problems
of network connectivity issues, is generally faster and also offloads
processing work from the production server.
Regards,
Paul Ibison
Nov 18 '05 #6
Hi Alphonse,

Thanks for the followup. Yes, the webservice generally send data as plain
xml text, so if we want to transfer sensitive datas via webservice, we need
to apply some security mechanism. The SSL is one option, and there're also
some other approachs for security webservice such as custom encrypt on the
data,

#Encrypting SOAP Messages
http://msdn.microsoft.com/library/de...us/dnaspnet/ht
ml/asp09272001.asp

#SOAP Security: Encrypting SOAP messages
http://www.wimdows.net/articles/article.aspx?aid=17

As for the "which will provide noticably performance", I think the directly
acessing from DB server is generally more efficent. The XmlWebservice is
based on Xml SOAP message so the message parsing and processing will be the
performance concerns especially when transfering large quantity data.
However,
we should always think the webservie of a good means for transfering well
formatted interoperable data, that's its strengh.

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #7
Thanks for the info Steven.
I will check out the articles.
Once I get a look at the actual db structure, etc. I will be able to make my
decision.

--

Alphonse Giambrone
Email: a-giam at customdatasolut ions dot us
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:qH******** *****@cpmsftngx a06.phx.gbl...
Hi Alphonse,

Thanks for the followup. Yes, the webservice generally send data as plain
xml text, so if we want to transfer sensitive datas via webservice, we need to apply some security mechanism. The SSL is one option, and there're also some other approachs for security webservice such as custom encrypt on the
data,

#Encrypting SOAP Messages
http://msdn.microsoft.com/library/de...us/dnaspnet/ht ml/asp09272001.asp

#SOAP Security: Encrypting SOAP messages
http://www.wimdows.net/articles/article.aspx?aid=17

As for the "which will provide noticably performance", I think the directly acessing from DB server is generally more efficent. The XmlWebservice is
based on Xml SOAP message so the message parsing and processing will be the performance concerns especially when transfering large quantity data.
However,
we should always think the webservie of a good means for transfering well
formatted interoperable data, that's its strengh.

Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2536
by: Keith Veleba | last post by:
Hello to all fellow c.l.p'ers! Long-time listener, first-time caller. Background: I'm working on a project where I have to do some serious multithreading. I've worked up a decorator in Python 2.3.4 to implement the lock semantics required for specific functions I want to synchronize:
0
1985
by: SQLServer007 | last post by:
25 more days until the "get it free" promotion runs out for xSQL Object (you can get it from http://www.x-sql.com) Here are just some of the great features packed in the product: - Compare SQL Server objects (databases, tables, views, stored procedures, user defined data functions etc.) accross servers. - view and print dependencies; - generate color coded scripts for any object in the database or many of them at once (many configurable...
1
1562
by: Phil Matish, MCSE | last post by:
I have an Access database that I use frequently. Often, I take it to a home PC, or laptop to work on at night. The next day, I overwrite the old one with the one I have been working on. The only problem is - during this time, others may want to add records at the office. This causes an obvious data loss problem if I overwrite their edition of the database. Is there a way to synchronize the database? If someone made additions at...
2
3720
by: Christopher D. Wiederspan | last post by:
We are getting ready to move an ASP.NET application off of a single development machine and onto a "webfarm". Basically our webfarm is a bunch of identical servers with the load-balancing provided by a network appliance. What I'm wondering is what is the best way to keep the ASP.NET (.aspx and .dll) files synchronized across all of the servers in the farm. Our ASP.NET application is very simple - we could just copy the content to all of...
4
1783
by: Chris Ochs | last post by:
We have a number of tables in a CRM that is written in MS access that I need to be able to provide a web interface to. I can export the tables just fine using pgadmin II, but I cant' think of a clean way to import them from postgresql back to access. Synchronizing only needs to happen once a day at the most. I was also thinking of using the MS access forms with access tables that are just odbc links to the postgresql database. Does...
3
1609
by: jodyblau | last post by:
I'm fairly new to access, so I hope this question isn't too elementary. I'm putting together a database for my office. I want the database to be accessible to 5 or 6 users on our network and so itt may be used by more than one person at the same time. I am hoping that someone can give me an idea of some of my options in facilitating this. My instinct, from fishing around in the database options, is that it might have something to do...
1
2254
by: MAILTONRK | last post by:
Hi, I am a Mainframe guy. I am working with MS access(maintaining a application) for the last 2 weeks. I had one master database and four replicas. One of my replica had trouble in synchronization(It said, database is in use..). After searching google, I ran "Compact and repair" utlity against my replica. It looks like, it has changed the attribute of my replica.
4
1715
by: Veggis | last post by:
Hi We have this access application - which we use to register stuff into. Most of the time we're online, and that's all right, but now we need be able to register stuff offline, and then it would be nice if we could copy the registered stuff into the main database when we get online. So basically I want to copy data from one mdb-file to another - and these two mdb's look the same in design, but have different data. I
8
8502
by: colin | last post by:
Hi, this probaly isnt the most relevant place to ask this, but Im using a windows forms in c# timer to process user input and invalidate a window if its changed. Im having problems in that the OnPaint messages arnt synchronized to the vertical refresh wich from what I read I had understood that there was supposed to be some synchronization. im using directx to draw the window, its a 3d model editor
0
10298
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10127
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9923
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8957
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6723
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5500
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3627
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2865
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.