SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Replication (2005)
 Replication to Oracle
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ozSQLServer
Starting Member

Australia
32 Posts

Posted - 06/18/2012 :  22:24:54  Show Profile  Reply with Quote
Hi all,

I've got an issue with SQL Server 2005 Replication with Oracle.

Issue Summary:
When the replication is stopped and the tnsnames.ora file is modified to make the connection points to another Oracle database, the replication returns error when I try to start it again.

Scenario Description:
I've successfully created a transactional replication from SQL Server 2005 (distributer) for a single table to Oracle server ( named as db1)(substriber). When I do the following, an error is raised:

1. SQL Server replication is stopped
2. the table is copied from Oracle db1 to another Oracle server db2 (the same schema name and password in both dbs)
3. hostname in tnsnames.ora file is changed to point to db2 server
4. the Server link in SQL Server tested and succeeded
5. when the replication is started, it returns error... the error is trying to re-initialize the table and claims the table is already there.

My questions are:
- Why SQL Server 2005 wants to reinitialize in the scenario described above?
- Is there a way to make SQL Server proceed with the synchronization without initialization?

By the way, if I set the hostname back to db1, the replication proceeds with synchronization without any problem.


Thanks in advance,

Cheers,
ozSQL

valeria
Starting Member

6 Posts

Posted - 03/25/2013 :  01:03:19  Show Profile  Reply with Quote
unspammed
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000