Solved

Pull replication causing error 1038 in MS-SQL Server.

Posted on 2002-04-04
5
1,631 Views
Last Modified: 2007-11-27
I am attempting to set up a simple snapshot replication between two SQL 2000 servers. I have set a machine up to do a pull replication from another machine. The setup process seemed to work fine, and the publishing machine reports that it has generated the initial snapshot. As well, the initial schema was created on the target machine in a new database set up to receive the snapshot.

However, on the pull side I am receiving the following error from the pull replication scheduled process itself (several tables and stored procedures do get transferred prior, but the error does not specify which object failed to transfer). The error is as follows:

Category:SQLSERVER
Source:  BATTRA
Number:  1038
Message: Cannot use empty object or column names. Use a single space if necessary.

I have searched the MS online docs and support DB's, as well as Googling for this message, but I have found nothing useful to help me diagnose the cause, simply others asking similar questions in other forums.
0
Comment
Question by:Godeke
5 Comments
 
LVL 2

Expert Comment

by:UncleMatt
ID: 6920417
you'll probavbly have to trawl through your tables looking for a field without a fieldname, it won't be fun if it's a big database.

you might be able to look in the syscolumns table in the DB you are replicating to check for blank fieldnames.

I've not had the error myself but thats what i'd guess it'd be.

Matt.
0
 

Author Comment

by:Godeke
ID: 6924930
I have searched my system tables for any objects (syscolumns, sysobjects, sysforeignkeys, etc) with null or '' fieldnames. There are none that I can find. I am out of places to search for such a problem. This DB works in all other regards.
0
 
LVL 30

Expert Comment

by:SteveGTR
ID: 6925191
You might try to run SQL profiler and find the error there.
0
 

Expert Comment

by:CleanupPing
ID: 9280654
Godeke:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 9593111
PAQ'd and points refunded

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question