Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Replication / June 2006

Tip: Looking for answers? Try searching our database.

Replication from one SQL2000 to another SQL2000

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ton - 28 Jun 2006 16:26 GMT
Hi All,

I setup a replication from one SQL 2000 server (A) to another (B).  Before
creating a replication I scripted a database on a server A and ran a script
(successfuly) on the server B.  It created all tables, views, sps, etc.  
After a  snapshot had been generated and synchronization begins it fails due
to the error message :
Invalid object name 'TRANSACTIONS'. (Source: MSSQLServer, Error number: 208)
Get help: http://help/208
Unable to replicate a view or function because the referenced objects or
columns are not present on the Subscriber. (Source: MSSQLServer, Error
number: 00000)
Get help: http://help/00000

that view (transactions) is being deleted every time replication is started  
but is there right after I ran a script.  There is no explisit drop view
command.
Any suggestions?
Thanks,
Ton
Paul Ibison - 28 Jun 2006 16:49 GMT
This is caused by incorrect dependencies. The programming objects are
dropped, then created in the wrong order. You can refresh your views on the
publisher and see if this removes the problem. Also, I'm not too sure why
you are replicating the programming objects if they already exist on Server
B?
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
Hilary Cotter - 29 Jun 2006 02:48 GMT
Put your schema objects (views, procs, user defined functions), in a
separate snapshot publication, and run this after your initial snapshot has
been distributed. Either that or put them in the post snapshot command.

Note that replication is supposed to order replicated objects according to
dependencies, but it refers to sysdepends for this, which if frequently
inaccurate.

Signature

Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

> Hi All,
>
[quoted text clipped - 20 lines]
> Thanks,
> Ton
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.