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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 07.02.02 - Edit Mode/New Module Issue only on one siteDNN 07.02.02 - Edit Mode/New Module Issue only on one site
Previous
 
Next
New Post
10/13/2014 11:38 AM
 

Can you repost the link? It looks like it was cut off, and it doesn't go anywhere when I click on it.

 
New Post
10/13/2014 12:33 PM
 
link fixed, sorry for the inconvenience.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/6/2014 9:27 AM
 

Our database person(or the closest thing we have, anyway) finally got around to trying the script and got the following error, but he doesn't know how to fix it.  Any suggestions?  

System.Data.SqlClient.SqlException (0x80131904): The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'dbo.UserProfile' and the index name 'IX_UserProfile_PropertyDefinitionID'. The duplicate key value is (1266, 66).

The statement has been terminated.

   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)

   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)

   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

   at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)

ClientConnectionId:32a95a97-2271-4dce-bd1c-c7f73e583c48

CREATE UNIQUE NONCLUSTERED INDEX [IX_UserProfile_PropertyDefinitionID] ON dbo.[UserProfile]

                ([PropertyDefinitionID] ASC, [UserID] ASC)

                INCLUDE ([ProfileId], PropertyValue)

System.Data.SqlClient.SqlException (0x80131904): There is already an object named 'PK_Profile' in the database.

Could not create constraint. See previous errors.

   at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)

   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)

   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

   at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script)

ClientConnectionId:be23262b-da54-4f38-a86a-9462f8bce19b

ALTER TABLE dbo.[Profile]

                ADD CONSTRAINT PK_Profile PRIMARY KEY CLUSTERED

                ([ProfileID])

 
New Post
11/9/2014 9:24 AM
 
Karen, the error message does not belong to the SQL script, I pointed you to, which only contains a number of UPDATE statements.
It looks like you tried to apply TurboDNN script, I will add some additional code to fix malformed data, like the duplicate property you are facing (I haven't come around a site yet, that actually had duplicate properties).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/10/2014 10:17 AM
 

Thank you so much! I'm not 100% sure what exactly he tried, but I thought he had downloaded the script you linked to.  Whatever he downloaded did have some instructions at the top about running the TurboDNN script first, and replacing some tokens, and then following up with another script.  I think he tried just running it before seeing and reading the instructions and got an error message then, as well.  Then we tried following the instructions, and when he ran the TurboDNN script it said it worked.  He replaced the tokens the instructions indicated and tried running the script again and this was the resulting error.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 07.02.02 - Edit Mode/New Module Issue only on one siteDNN 07.02.02 - Edit Mode/New Module Issue only on one site


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