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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN Running Slowly After Move to W2003 serverDNN Running Slowly After Move to W2003 server
Previous
 
Next
New Post
5/12/2006 11:20 AM
 

Thanks for the advice.

It appears that the slow down is due to a recurring error. Here are the details of that error:

InnerException: Cannot insert duplicate key row in object 'dbo.dnn_SearchItem' with unique index 'IX_dnn_SearchItem'. The statement has been terminated.
Message: System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object 'dbo.dnn_SearchItem' with unique index 'IX_dnn_SearchItem'. The statement has been terminated. at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) 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.AddSearchItem(String Title, String Description, Int32 Author, DateTime PubDate, Int32 ModuleId, String Key, String Guid, Int32 ImageFileId) in C:\Inetpub\wwwroot\Dnn311\Providers\DataProviders\SqlDataProvider\SqlDataProvider.vb:line 956 at DotNetNuke.Services.Search.SearchDataStoreController.AddSearchItem(SearchItemInfo item) in C:\Inetpub\wwwroot\Dnn311\Providers\SearchProviders\SearchDataStore\SearchDataStoreController.vb:line 45 at DotNetNuke.Services.Search.SearchDataStore.StoreSearchItems(SearchItemInfoCollection SearchItems) in C:\Inetpub\wwwroot\Dnn311\Providers\SearchProviders\SearchDataStore\SearchDataStore.vb:line 506

This error recurs about 15x per second for several seconds, then stops. It starts again after maybe 20 minutes or maybe a couple hours, has about 50-100 errors, then stops logging errors until next round. When this is happening, the entire server is bogged down to the point that even non-dnn sites are timing out.

We are hopeful that an upgarde to dnn 3.2.2 will correct this issue. Other users have had this problem and a workaround was suggested at http://forums.asp.net/759562/ShowPost.aspx.

If 3.2.2 resolves the problem, that's good... except that we've tried to upgrade to 3.2.2  three times and have consistently failed with the following message:

Installation Status Report
00:00:00.015 - Installing Version: 3.1.0
00:00:00.015 - Installing Script: DotNetNuke.SetUp.SqlDataProvider
00:00:00.156 - Installing Script: DotNetNuke.Schema.SqlDataProvider
00:00:16.281 - Installing Script: DotNetNuke.Data.SqlDataProvider
00:00:16.484 - Installing MemberRole Provider:
00:00:16.484 - Executing InstallCommon.sql
00:00:18.515 - Executing InstallMembership.sql
00:00:20.343 - Executing InstallProfile.sql
00:00:20.687 - Executing InstallRoles.sql
00:00:21.406 - Upgrading to Version: 3.1.1
00:00:24.578 - Upgrading to Version: 3.2.0
00:00:25.703 - Upgrading to Version: 3.2.1
00:00:25.859 - Upgrading to Version: 3.2.2
00:00:25.921 - Performing General Upgrades
00:00:26.937 - Loading Host Settings:
00:00:27.671 - Configuring SuperUser:
00:00:27.890 - Installing Desktop Modules:
00:00:27.890 - Installing Modules:
00:00:27.890 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\Announcements_3.1_Install.zip:
00:00:28.140 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\Contacts_3.1_Install.zip:
00:00:28.343 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\Discussions_3.1_Install.zip:
00:00:28.562 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\Documents_3.1_Install.zip:
00: -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\Events_3.1_Install.zip:
00:00:29.468 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\FAQs_3.1_Install.zip:
00:00:29.781 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\Feedback_3.1_Install.zip:
00:00:29.843 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\HTML_3.1_Install.zip:
00:00:30.078 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\IFrame_3.1_Install.zip:
00:00:30.140 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\Image_3.1_Install.zip:
00:00:30.218 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\Links_3.1_Install.zip:
00:00:30.515 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\NewsFeeds_3.1_Install.zip:
00:00:30.656 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\Survey_3.1_Install.zip:
00:00:31.328 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\UserDefinedTable_3.1_Install.zip:
00:00:32.125 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\UsersOnline_3.1_Install.zip:
00:00:32.328 -   Installing Module File D:\Inetpub\wwwroot\DotNetNuke\Install\Module\XML_3.1_Install.zip:
00:00:32.421 - Executing Additional Scripts:
00:00:32.421 -   Creating Portal: My Website
00:00:35.718 -   Error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_TabPermission_Permission". The conflict occurred in database "DotNetNuke", table "dbo.Permission", column 'PermissionID'. The statement has been terminated.
00:00:35.718 -   Portal failed to install:
00:00:35.718 - Installing Optional Resources:

Installation Complete

We tried to preemptively head off that conflict prior to last attempt but the table referred to does not even exist in 3.1.1 so we can't try to prevent this same error that way.

 

Two questions:

1. Will an upgrade to 3.2.2 solve the duplicate key error?

2. How do we upgrade w/o failing due to FOREIGN KEY constraint conflict?

Thanks for your help.

 
New Post
5/12/2006 11:42 AM
 

I think that anything that's not cached takes a long time - but didn't you set that in the DNN Host area?

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
5/12/2006 12:04 PM
 

1. to resolve the duplicate key error I suggest, manually empying the search tables and re-index your site. To delete the seach tables go to host::SQL and execute the following script:

delete {databaseOwner}{objectQualifier}SearchItemWordPosition
delete {databaseOwner}{objectQualifier}SearchItemWord
delete {databaseOwner}{objectQualifier}SearchWord
delete {databaseOwner}{objectQualifier}SearchItem

2. Regarding the failing upgrade I am wondering, why the upgrade is performing a portal creation. Removing the portal template from the install directory should solve this.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/12/2006 12:21 PM
 

Thanks, Sebastien.

By "the portal template" do you mean Portals/_default?

There is an Install/Template folder that is already empty - except for the empty text file: PlaceHolder.txt.

 
New Post
5/12/2006 12:41 PM
 
in this case sth. else is going wrong. As you are performing an upgrade, no portal creation should run at the end - but maybe the upgrade does not attach the database correctly. Are you sure, that you did not miss to keep the Object Qualifier from previous version in your web.config?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN Running Slowly After Move to W2003 serverDNN Running Slowly After Move to W2003 server


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