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 ...Error when updating a tabError when updating a tab
Previous
 
Next
New Post
12/2/2008 4:36 AM
 

Hi,

Today i've updated my complete menu on my production dnn installation.

There for i've deleted a redirect setting of a tab (330). Only when updating i've get the error that i've pasted here below. After this error my Home page (tabid 36) was gone and therefor a login came.

I've managed to get my home page back and everything workes again as it should be. Only i'm really currious why i've got this error.

I'm using changed dnn 4.8.2 installation. Can anyone explain my error???

ModuleId: -1
ModuleDefId: -1
FriendlyName: Paginabeheer
ModuleControlSource: Admin/Tabs/ManageTabs.ascx
AssemblyVersion: 04.08.02
PortalID: 0
PortalName: Van den Bosch Transporten
UserID: 1
UserName: vdbhost
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Login/tabid/330/ctl/Tab/action/edit/returntabid/40/language/nl-NL/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.vandenbosch.com/Login/tabid/330/ctl/Tab/action/edit/returntabid/40/language/nl-NL/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 197a803d-b76a-400a-b555-2ef64d5b0391
InnerException: Violation of UNIQUE KEY constraint 'IX_dnn_TabPermission'. Cannot insert duplicate key in object 'dnn_TabPermission'. The statement has been terminated.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlConnection.OnError
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Violation of UNIQUE KEY constraint 'IX_dnn_TabPermission'. Cannot insert duplicate key in object 'dnn_TabPermission'. The statement has been terminated. ---> System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'IX_dnn_TabPermission'. Cannot insert duplicate key in object 'dnn_TabPermission'. The statement has been terminated. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() 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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.AddTabPermission(Int32 TabID, Int32 PermissionID, Int32 roleID, Boolean AllowAccess, Int32 UserID) at DotNetNuke.Security.Permissions.TabPermissionController.AddTabPermission(TabPermission
Info objTabPermission) at DotNetNuke.Entities.Tabs.TabController.UpdateTab(TabInfo objTab) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Naam: BOSCHTRANSPORT-
 
New Post
12/2/2008 5:11 AM
 

AFAIR this has been fixed meanwhile, please upgrade to DNN 4.9.0


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/4/2008 6:10 AM
 

Ok i found at support.dotnetnuke.com the bug which occurse the problem (i've got 2 tabs with the name Login)

I've changed one in Logins (because this one has many login below).

Updating is for me not that easy i've made more than 20 changes in the dnn core. When i'm going to update i must make these changes in the new version which is a lot of work. I only update if absolute necessary.

Much thanx Sebastian, i'm really glad to know what occurse my error.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error when updating a tabError when updating a tab


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