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...Performance and...Performance and...DNN Performance IssueDNN Performance Issue
Previous
 
Next
New Post
12/20/2015 7:28 AM
 
Dear Sebastian..
I have the same problem.. after upgrading to 7.4.2 and executing the last version of Turbo Scripts (Rev m), I getting the below error on adding page to TOP LEVEL.
I haven't any Error on creating NONE TOP LEVEL pages

ModuleId:-1

ModuleDefId:-1

FriendlyName:

ModuleControlSource:DesktopModules/Admin/Tabs/ManageTabs.ascx

AbsoluteURL:/Default.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:63a3508d-9e14-4b61-b33e-306d2834186d

AssemblyVersion:7.4.2

PortalId:0

UserId:1

TabId:55

RawUrl:/Home/ctl/Tab/activeTab/settingTab?popUp=true

Referrer:http://domain/Home/ctl/Tab/activeTab/settingTab?popUp=true

UserAgent:Mozilla/5.0 (Windows NT 6.1; rv:42.0) Gecko/20100101 Firefox/42.0

ExceptionHash:lsQ1l9pwFfsanMR0dp8Ycw==

Message:Cannot insert duplicate key row in object 'dbo.Tabs' with unique index 'IX_Tabs_PortalLevelParentOrder'. The duplicate key value is (0, 0, , 1, 0). The statement has been terminated. The 'AddTab' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.

StackTrace:

InnerMessage:Cannot insert duplicate key row in object 'dbo.Tabs' with unique index 'IX_Tabs_PortalLevelParentOrder'. The duplicate key value is (0, 0, , 1, 0). The statement has been terminated. The 'AddTab' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead.

InnerStackTrace:

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.SqlDataReader.TryConsumeMetaData()
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, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at PetaPoco.Database.ExecuteScalar[T](String sql, Object[] args)
at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteScalar[T](String connectionString, CommandType type, String sql, Object[] args)
at DotNetNuke.Data.DataProvider.AddTabToEnd(TabInfo tab, Int32 createdByUserID)
at DotNetNuke.Entities.Tabs.TabController.AddTabInternal(TabInfo tab, Int32 afterTabId, Int32 beforeTabId, Boolean includeAllTabsModules)
at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo tab, Boolean includeAllTabsModules)
at DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction)
at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e)

Source:

FileName:

FileLineNumber:0

FileColumnNumber:0
 
New Post
12/23/2015 5:04 AM
 
The problem solved by Executing Turbo Scripts - O version
 
New Post
1/6/2016 4:29 PM
 

Hello I am currently working on the same site that Tajas was referring to as well,  we have the DNN upgrade that you have suggested and the site performed well on the new server we had setup during testing, now however once the site has gone live and is under real world stress,  we are starting to get hangs where the site will stop responding for 1 min up to 30 mins sometimes even longer where they have rebooted the server to get it to recover,  there is always about a  1 min  hang when a new page is published from the admin panel,  but the more worrying issue is when it happens randomly and it is several times a day.

  we are looking for all possible causes for this, and one of the items we have noted is that during the hangs the CPU usage is near 100% and our network traffic skyrockets.  tracing this back to the database we have found that there care 85,000+ records entered into the error log table they all deal with the duplicate page error.  now I can see this being part of the issue, but there are many duplicate pairs of tabIDs with different base URLs most of them are not part of the site nor have anything to do with the site, so that is compounding the number dramatically.

Other information the database is on it's own server and only sees a slight uptick in CPU and is still very responsive during the events. The server that the site is on has 32 gigs of ram and at times IIS does peak out around 24 gigs, but rapidly drops back down even during the events. when an event is not in progress the site normally runs at about 1-2% CPU usage.  

for 3rd party plugins I do know we are using psSiteSearch but again we have disabled the schedule and the High CPU events still happened.

with that basic information I guess I have a few questions if anyone might be able to shed some light on for me.

1st is there any location in the database where I might find the bogus base URLs?

2nd  what processes trigger the duplicate error messages to be created? As most of the time nobody is doing any content or publishing pages when this happens ( we have already disabled the scheduler to see if that would do it, no luck)

3rd  does this sound like it could be fully responsible for hanging the site like this?

Thanks

Scott Pflanzer

 

 
New Post
1/6/2016 4:52 PM
 
Mohsen Karimi wrote:
The problem solved by Executing Turbo Scripts - O version

thanks for the feedback and sorry for no response to the previous post - I simply missed it, my apologies.

 

Have fun using DNN and Turbo Scripts :)


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/6/2016 5:10 PM
 
Scott,
for base URLs, check tables PortalAlias (domain names), Tabs (page names and urls) and TabUrls (page redirects).
Please check IIS app pool settings and make sure, there is only one worker process assigned to the site.
You also might clear the event log tables in the database, see http://www.dnnsoftware.com/community-...

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...DNN Performance IssueDNN Performance Issue


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