Link to home
Start Free TrialLog in
Avatar of ITsolutionWizard
ITsolutionWizardFlag for United States of America

asked on

web services

I want to create a data synchronization feature between two database on the web service. Basically, I want asp.net webservice to get data from database1 and the data will be import into database2.

Both database1 and database2 is the same structure. Just different physical location.

Can you show me how to do that?

Thanks
Avatar of Aaron Jabamani
Aaron Jabamani
Flag of United Kingdom of Great Britain and Northern Ireland image

Did you looked into this option ? "Database mirroring". More information in this link, http://msdn.microsoft.com/en-GB/library/ms151799.aspx
I would caution against using mirroring as Microsoft has issued a warning that mirroring will not be supported (removed) in future versions of SQL Server.  With SQL 2012 the recommendation is to use availability groups.

1. What OS?
2. What version of SQL Server (or other database engine)?
3. Will both instances of the database be writable?

Dan
Avatar of ITsolutionWizard

ASKER

It is Window Server 2008 R2, and Window SQL Server 2008.  I don't allow to configure the sql server. All I can do is to create stored procedures or SQL statement.
ASKER CERTIFIED SOLUTION
Avatar of Dan McFadden
Dan McFadden
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial