Groups | Blog | Home
all groups > sql server replication > june 2007 >

sql server replication : Error 14113 while trying to setup replication on SQL Server 2000 S


Gaston
6/22/2007 7:03:00 AM
Hi,
I'm trying to run the wizard to setup replication on a SQL Server 2000 SP3.
Entering the parameters goes without a problem but when executing the script
I'm getting an error 14113:

SQL Server Enterprise MAnager could not configure 'XYZ' as the distributor
for 'XYZ'.
Error 14113: Could not execute c:\... \instdist.sql

I have all the necessary rights on the DB server and on Win 2003.
I also noticed that XP_CMDSHELL doesn't work on this server (probably needed
to execute the previous line) so I executed the instdist.sql manually in
query analyzer.
This clearly isn't enough to get replication working.

The problem with XP_CMDSHELL:
Msg 50001, Level 1, State 50001
xpsql.cpp: Error 1260 from CreateProcess on line 675

I already dropped XP_CMDSHELL:
exec sp_dropextendedproc 'xp_cmdshell'

then replaced the dll with one from another server (just in case) and
re-installed it:
exec sp_addextendedproc 'xp_cmdshell', 'xplog70.dll'

all with the same result.

IMHO both problems are related. Any suggestions?

Tanks in advance,
Gaston.

Hilary Cotter
6/22/2007 2:06:10 PM
Can you try to run command shell from within query analyzer? Can you create
subfolders within your snapshot location?
--
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]

Gaston
6/26/2007 2:14:02 AM
If you mean if I can run "xp_cmdshell" fromwithin query analyzer: No, this
doesn't work.
The problem with XP_CMDSHELL:
[quoted text, click to view]

And it seems that the OSQL command wouldn't even be executed, so the
distribution server can't be setup.

I can create subfolders on the snapshot location, np.

Thanks already,
Gaston.


[quoted text, click to view]
Hilary Cotter
6/26/2007 7:16:37 AM
I suspect this is your problem.

Can you reapply SP3, or better yet SP4 and try again?

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

Gaston
6/26/2007 7:40:01 AM
Hi Hilary,

The xp_cmdshell works after we applied SP4. So now we're on to the
replication problem. I suppose that this will work now as well!

Thanks for your efforts so far!

/Gaston Verelst


[quoted text, click to view]
Gaston
7/3/2007 6:08:02 AM
Hi Hilary,

The replication is up and running, thanks for your support!

Kind regards,
Gaston Verelst (Belgium)


[quoted text, click to view]
AddThis Social Bookmark Button