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...Skins, Themes, ...Skins, Themes, ...DNN 5.6.3 error on "Copy design"DNN 5.6.3 error on "Copy design"
Previous
 
Next
New Post
8/5/2011 2:42 PM
 
I get the folowing exception  when I try the "Copy design".  I have no problem setting the Skin & container on each page, but that is a bit painful.  What can I do?  THanks-

****************************************************************************************************************************

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d1ea3124-1f34-4ec0-aa87-2332c9008e03
InnerException: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_Tabs_ContentItems". The conflict occurred in database "SkinSiteDNN", table "dbo.ContentItems", column 'ContentItemID'. The statement has been terminated.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_Tabs_ContentItems". The conflict occurred in database "SkinSiteDNN", table "dbo.ContentItems", column 'ContentItemID'. The statement has been terminated. ---> System.Data.SqlClient.SqlException: The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_Tabs_ContentItems". The conflict occurred in database "SkinSiteDNN", table "dbo.ContentItems", column 'ContentItemID'. The statement has been terminated. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.UpdateTab(Int32 TabId, Int32 ContentItemId, Int32 PortalId, Guid VersionGuid, Guid DefaultLanguageGuid, Guid LocalizedVersionGuid, String TabName, Boolean IsVisible, Boolean DisableLink, Int32 ParentId, String IconFile, String IconFileLarge, String Title, String Description, String KeyWords, Boolean IsDeleted, String Url, String SkinSrc, String ContainerSrc, String TabPath, DateTime StartDate, DateTime EndDate, Int32 RefreshInterval, String PageHeadText, Boolean IsSecure, Boolean PermanentRedirect, Single SiteMapPriority, Int32 LastModifiedByUserID, String CultureCode) at DotNetNuke.Entities.Tabs.TabController.CopyDesignToChildren(TabInfo parentTab, String skinSrc, String containerSrc, String CultureCode) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdCopySkin_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---


 
New Post
8/5/2011 11:15 PM
 
The error is due to a foreign key relationship - I'm not sure what version you're currently running - but am assuming you've upgraded versions along the way.  Try going to Host - Host Settings - and at the very bottom there's "View Log For Version" and see if you've gotten any errors in there.  Hopefully that can shed some light.


Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
8/6/2011 3:50 AM
 
Right, this is a "known issue", there's a sql script somewhere to correct it, I cannot find it now, but it's somewhere in the forums.
 
New Post
8/6/2011 10:39 AM
 
Thanks - I was able to find it (Not sure why I couldn't when I looked before (-: )

Here is the thread for anyone else: http://www.dotnetnuke.com/Resources/Forums/forumid/108/threadid/377142/scope/posts.aspx
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...DNN 5.6.3 error on "Copy design"DNN 5.6.3 error on "Copy design"


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