Groups | Blog | Home
all groups > sql server replication > july 2006 >

sql server replication : replication error


Kintela
7/5/2006 12:00:00 AM
Hi.

I'm tryng replying a SQL Server 2000 database vs SQL Server Mobile 2005
database

I belive that I need is:

1) SQL Server 2000 (Publisher and distributer) with the publication created
(OK)

2) IIS with web sincronization configured (OK).

I have Configured Virtual Directory for the publication using "Configure Web
Sync" wizard.
I Have created the virtual directory an i have the sqlcesa30.dll file in the
selected path y and the web aplication in IIS with the alias seleccionated
too

3) SQL Server Mobile. In my PDA i have installed SQL Server Mobile 2005 and
I have a database where i want to create the subscription

In the server where I have the sql server 2000 and iis i have installed SQL
Server Management Studio and i have a connection to my
pda's dadabase (.sdf) and i'am using the wizard to create a subscription to
the sql server 2000 publication

When i select "How will the subscriber connect to the web server?" i choose
"anonymously"
(In the web site i have enable anonymouys access")

When i select "How will the subscriber connect to sql server?" i choose "sql
server authentication"
and select a user account with logon sesion permitted in sql server 2000

In the following step the wizard gives me an connection error:

"No se pudo establecer conexión con el servidor SQL Server con la
información proporcionada.
El servidor no existe, se ha denegado el acceso porque el usuario de IIS no
es válido en el servidor SQL Server
o la contraseña es incorrecta.
HRESULT 0x80004005 (29060)"

Translated: user invalid in IIS or wrong password...

I have added "IUSR_Server" in logon sesions in sql server with the same
result.

Then i have changed the connection method to web server with a valid user
account and now the error says:

"Error al inicializar el Reconciliador de SQL Server. Vuelva a intentarlo.
HRESULT 0x80045901 (29045)

El proceso de mezcla no pudo inicializar el archivo de mensajes del
suscriptor 'C:\Archivos de programa\Microsoft SQL Server 2005 Mobile
Edition\server\Replicaciones\30.87E7785D3BB8_C3B56239-A550-F8EC-EFBD-DC7E5C7264B9.IN:C:\Archivos
de programa\Microsoft SQL Server 2005 Mobile
Edition\server\Replicaciones\30.87E7785D3BB8_C3B56239-A550-F8EC-EFBD-DC7E5C7264B9.OUT'.
HRESULT 0x80045901 (0)"

translated: Error initializing the reconcilier. the mix process can't
initialize the messages file of subscriber 'c....

In the virtual directory`s sqlcesa30.log appears:

2006/07/03 13:25:47 Hr=80004005 ERR:OpenDB failed getting pub version 28627
2006/07/03 16:13:03 Thread=1090 RSCB=2 Command=SCHK Hr=80045901 El proceso
de mezcla no pudo inicializar el archivo de mensajes del suscriptor
'C:\Archivos de programa\Microsoft SQL Server 2005 Mobile
Edition\server\Replicaciones\30.29F9F099EC77_C7B23E20-1CE3-44DC-B5F0-26CDC4FFE29A.IN:C:\Archivos
de programa\Microsoft SQL Server 2005 Mobile
Edition\server\Replicaciones\30.29F9F099EC77_C7B23E20-1CE3-44DC-B5F0-26CDC4FFE29A.OUT'.
-2147198719

Help please and sorry my poor english


Hilary Cotter
7/5/2006 12:00:00 AM
Did you configure a snapshot share and give the IUSER_Machine name rights to
read and list files and folders? Make sure that you pointed to this snapshot
share when you configured your virutal directory.

--
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



[quoted text, click to view]

Kintela
7/6/2006 5:16:31 PM
Hi.

I have started again in other machine with sql server 2000 and IIS named
"SERVIDOR"

In the snapshot share folder, the IUSR_SERVIDOR has rights to read and list
folder and subfolder files and the virtual directory points to this snapshot
share folder.

I have created the virtual directory and I have configured the clients
access anonymously.

Then I try to create the subscription with SQL Server 2005 Management Studio
Wizard, in the url to sql server mobile 2005 virtual directory on the web
server i give http://servidor/alias/sqlcesa30.dll and the subscriber
connects anonymously to web server and with windows authentication to sql
server (The IUSR_SERVIDOR account has rights to login) but now the last step
gives me:

"Failure to connect to SQL Server with provided connection information. SQL
Server does not exist, access is denied because the IIS user is not a valid
user on the SQL Server, or the password is incorrect.
HRESULT 0x80004005 (29061)"

I swear to god that in the login folder in SQL Server connection is the
IUSR_SERVIDOR Account- I have tried with SQL Server Authentication using the
Domain' Administrator account and gives me the same error and this account
is in login folder too.

I don´t understand

Thanks for all


"Hilary Cotter" <hilary.cotter@gmail.com> escribió en el mensaje
news:%2383gA5CoGHA.3836@TK2MSFTNGP04.phx.gbl...
[quoted text, click to view]
Edition\server\Replicaciones\30.87E7785D3BB8_C3B56239-A550-F8EC-EFBD-DC7E5C7
264B9.IN:C:\Archivos
[quoted text, click to view]
Edition\server\Replicaciones\30.87E7785D3BB8_C3B56239-A550-F8EC-EFBD-DC7E5C7
264B9.OUT'.
[quoted text, click to view]
Edition\server\Replicaciones\30.29F9F099EC77_C7B23E20-1CE3-44DC-B5F0-26CDC4F
FE29A.IN:C:\Archivos
[quoted text, click to view]
Edition\server\Replicaciones\30.29F9F099EC77_C7B23E20-1CE3-44DC-B5F0-26CDC4F
FE29A.OUT'.
[quoted text, click to view]

janos.nagy NO[at]SPAM gmail.com
7/12/2006 7:20:32 AM
Hi

I run into the same problem few minutes ago.
In my case, the problem was that I made a typo in the database name, so
the PublisherDatabase referred to a non-existing database..
I corrected the typo and now it works.

Janos
AddThis Social Bookmark Button