Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL2000 CE ambiguous column name rowguid.

Posted on 2004-04-19
2
Medium Priority
?
541 Views
Last Modified: 2012-08-13
I have a hand help application that is using merge rep from SQL 2K CE to my SQL 2000 Server with a dynamic filter. I can connect to the database and download my copy of the data and everything works fine, however, the first time I sync after the initial download I get "ambiguous column name rowguid" I have deleted the publication and have started over and I get the same error. I have tried with two different hand helds and I get the same error. I have service pack 3a on my SQL server and the patch for SQL CE to support the 3a service pack installed on the server. I have no updates installed on the hand held and I am not aware of one being available. Any ideas?

Jeff
0
Comment
Question by:jwatling
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
ruthjohnson earned 1000 total points
ID: 10864112
This happened to me before... in production.  Check the tables in the publication.  Chances are you have more than one field of data type rowguid in one of the tables.  It will be called rowguid9 or something like that.  There is a bug in the system stored procedures for Merge Replication that causes it to error out if there is more than one rowguid field even if they don't have the same name.  If you have a lot of tables, you can sync with the -Output switch (see Books Online for syntax) and the resulting text file will tell you what table is throwing the error.  Since you only need one rowguid for replication to work, drop the publication and delete the extra column.  In the future, you may want to remove all rowguid columns before recreating the publication.  This is the only way I have kept the problem from re-occurring.

Ruth
0
 

Author Comment

by:jwatling
ID: 10864238
Thank you. I had two rowguid columns becuase I forgot to mark the one I created "Is rowguid - Y". It works now.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

650 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