Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

replication problem

Status
Not open for further replies.

fuadhamidov

Programmer
Sep 22, 2003
98
TR
hi

i want to replicate two db.
i have succesfully done replication for two db in same domain in network.

but i can not do this in internet with different domain name. (one is in a domain group and other is in a workgroup)

i use administrator account in both site and passwords for both administrator accounts and both SA are same

i face following error messages:

Error message:
The schema script '\\TEM\C$\Program Files\Microsoft SQL Server\MSSQL\ReplData\unc\TEM_Northwind_Northwind\20050402212115\Suppliers_1.sch' could not be propagated to the subscriber.

Error Detail:
The schema script '\\TEM\C$\Program Files\Microsoft SQL Server\MSSQL\ReplData\unc\TEM_Northwind_Northwind\20050402212115\Suppliers_1.sch' could not be propagated to the subscriber.
(Source: Merge Replication Provider (Agent); Error number: -2147201001)
---------------------------------------------------------------------------------------------------------------
The process could not read file '\\TEM\C$\Program Files\Microsoft SQL Server\MSSQL\ReplData\unc\TEM_Northwind_Northwind\20050402212115\Suppliers_1.sch' due to OS error 58.
(Source: WKS5 (Agent); Error number: 0)
---------------------------------------------------------------------------------------------------------------
Belirtilen sunucu istenen i?lemi yürütemez.
(Source: (OS); Error number: 58)
---------------------------------------------------------------------------------------------------------------


thanks for any help.
 
You won't be able to the snapshots over UNC. You'll have to setup the snapshots over FTP. See BOL for more info.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(My very old site)
 
Books Online (BOL) is a good place to start.

Also check your local bookstore for any SQL Server 2000 books on the subject of replication.

Sybex has some good basic books which they market as Cert books, but I don't recall seeing anything in them as far as FTP for replication.



Catadmin - MCDBA, MCSA
"Just because I'm paranoid doesn't mean the universe *isn't* out to get me!"
 
OK. ftp option is easier than i guess.

now my following problem:

i use northwind to test data.
i insert one row with different values to same table (Categories) of both db (subcriber and publisher) in one time interval (i mean time between two synchronization). and of course identity numbers(CategoryID) in both tables are same.

while merging, it replaces subscriber "new" row with publisher "new" row

but i need that subcriber and publisher should get and send both "new" row, nor overwrite.
but how?

thanks for any help.
 
Hi,
You need to specify different Identity ranges for publisher and subscriber. You can do this manually using constraints or sqlserver can automatically manage for you.

look for identity ranges topic in BOL

B.R,
miq
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top