Solved

Pull replication causing error 1038 in MS-SQL Server.

Posted on 2002-04-04
5
1,611 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now