Hi,
I'm getting the 8152 ("String or binary data
would be truncated", and sometimes "General error") error when running the
EMs "Configure Publishing and Distribution Wizard", on executing "Configuring
Distributor" step. I'm trying to set the server to act as both the publisher and
its own distributor for merge replication.
It's happening on my dev machine, a laptop
with 1 GB of memory, and plenty of disk space. It's also a domain member. SQL
Server and Agent services are running under a domain account which also has
local admin privileges. FWIW, I've tried registering the server in EM using
both Windows and SQL Server authentication, with no change.
I don't remember experiencing this problem
before. Event viewer contains nothing of interest, and the profiler trace looks
like this:
exec sp_helpreplicationdboption
go
exec
sp_MSdbuseraccess N'db', N'%'
go
exec sp_helpdistributor
go
exec
sp_helpdistpublisher @check_user = 1
go
exec sp_helpdistributiondb
go
exec sp_helpreplicationdboption
go
exec sp_MSdbuseraccess
N'db', N'%'
go
exec sp_get_distributor
go
exec
sp_get_distributor
go
-- 'sp_adddistributor' was found in the text of this
event.
-- The text has been replaced with this comment for security
reasons.
go
exec sp_dropdistributor @no_checks = 1
go
exec
sp_helpdistributor
go
It's SQL Server 2000 with SP 4, @@version reports
the following:
Microsoft SQL Server 2000 - 8.00.2039 (Intel
X86)
May 3 2005 23:18:38
Copyright (c) 1988-2003
Microsoft Corporation
Developer Edition on Windows NT 5.1 (Build 2600:
Service Pack 2)
Uninstalling SQL Server, and installing it again
didn't help.
Another, maybe important, detail: I have SQL Server
2005 SP 1 installed on the same machine (as a named instance). Also several
versions of Visual Studio, and so on..
I'm pretty sure this has something to do with my
local setup (because it works nice on several other machines), but I'm really
lost here, don't know what else to check, where to look, or what to do, and
would be very thankful for any pointers.
Dean