Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade Errors 06.02.02 to 06.02.03Upgrade Errors 06.02.02 to 06.02.03
Previous
 
Next
New Post
10/1/2012 8:30 AM
 
Sebastian Leupold wrote:

there seems to be an issue executing AddMetaData stored procdeure due to some duplicate items in one of the tables. Please check table MetaData for duplicate values in column MetaDataName, which unfortunately is missing a unique key constraint. You may find these values by running the following query in Host > SQL menu item:

SELECT MetaDataName, Count(1) N FROM {databaseOwner}{objectQualifier}Metadata GROUP BY MetaDataName Having Count(1) > 1

 Thanks Sebastian, 

This worked. I had many with 3 entries and Title with 41. Once I deleted the duplicates, I ran the install resources suggested earlier and all went just fine.

Thanks everyone for getting us the help we needed quickly.

Robert

 
New Post
10/12/2012 1:13 AM
 
I had this exact problem too. Thanks for the help Sebastian. Seems it might be worthwhile to look into how this might be happening since it seems there are quite a few with the problem.

David O'Leary
Efficion Consulting
 
New Post
4/23/2013 12:53 PM
 
Hi, I have same issues and when I try to execute the SQL query on my GoDaddy hosting in the Admin -> SQL Server Web Admin -> Query Analyzer then I copy and paste the query


SELECT MetaDataName, Count(1) N FROM {databaseOwner}{objectQualifier}Metadata GROUP BY MetaDataName Having Count(1) > 1

it gives me

Incorrect syntax near '}'.

can you please advise what I'm doing wrong? Thank you.
 
New Post
4/23/2013 10:32 PM
 
Before executing the query outside of the Host --> SQL tool within DotNetNuke in a SQL tool such as your hosting provider's SQL query analyzer you will need to replace the tokens {databaseOwner} and {objectQualifier} with values correct for your DotNetNuke installation. You can find those values in the site's web.config <data . . . > section which is about 1/5 of the way from the end of web.config. Most likely {databaseOwner} should be replaced with "dbo." - note the period after "dbo". The {objectQualifier} is most likely an empty value and can be deleted but might also be "dnn_" - note the underscore after "dnn".

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
9/23/2014 8:53 AM
 

I am also having this exact problem. However, when I run the query I do get any records. If I run a standard query on the table, I only get 15 records and none of them appear to be duplicated. I am doing all of this from within SQL Enterprise manager.

Any assistance would be appreciated. 

Thanks,

Ed

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade Errors 06.02.02 to 06.02.03Upgrade Errors 06.02.02 to 06.02.03


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out