Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Pull replication causing error 1038 in MS-SQL Server.

Posted on 2002-04-04
5
Medium Priority
?
1,723 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
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
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

571 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