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...A stored procedure gets removed on app pool recycleA stored procedure gets removed on app pool recycle
Previous
 
Next
New Post
2/5/2014 4:27 PM
 

Strange thing happens to me every time I recycle app pool - the page error states "Could not find stored procedure dbo.green_dnn_GetModulePackagesInUse". This pops up when I want to open the Host - Extension List Page.

The full event viewer error message (a Page Load Exception) states as ff.:

AssemblyVersion:7.2.1

PortalID:0

PortalName:Greensky Portal

UserID:1

UserName:Greg

ActiveTabID:36

ActiveTabName:Extensions

RawURL:/tabid/36/portalid/0/Default.aspx?language=pl-PL

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://green-sky.sytes.net/tabid/36/portalid/0/Default.aspx?language=pl-PL

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

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:47111e6a-49d0-4476-832d-584e89c97691

InnerException:Could not find stored procedure 'dbo.green_dnn_GetModulePackagesInUse'.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.Data.SqlClient.SqlConnection.

StackTrace:

Message:

DotNetNuke.Services.Exceptions.PageLoadException: Could not find stored procedure 'dbo.green_dnn_GetModulePackagesInUse'. ---> System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.green_dnn_GetModulePackagesInUse'. w System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) w System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) w System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) w System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) w System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() w System.Data.SqlClient.SqlDataReader.get_MetaData() w System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) w System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) w System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) w System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) w System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) w System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) w System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) w DotNetNuke.Data.PetaPoco.PetaPocoExt.ExecuteReader(Database database, String sql, Object[] args) w DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteReader(String connectionString, CommandType type, Int32 timeout, String sql, Object[] args) w DotNetNuke.Data.SqlDataProvider.ExecuteReader(String procedureName, Object[] commandParameters) w DotNetNuke.Data.DataProvider.GetModulePackagesInUse(Int32 portalID, Boolean forHost) w DotNetNuke.Services.Installer.Packages.PackageController.GetModulePackagesInUse(Int32 portalID, Boolean forHost) w DotNetNuke.Modules.Admin.Extensions.InstalledExtensions.get_PackagesInUse() w DotNetNuke.Modules.Admin.Extensions.InstalledExtensions.GetIsPackageInUseInfo(Object dataItem) w ASP.desktopmodules_admin_extensions_installedextensions_ascx.__DataBinding__control28(Object sender, EventArgs e) w System.Web.UI.Control.OnDataBinding(EventArgs e) w System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) w System.Web.UI.Control.DataBind() w System.Web.UI.Control.DataBindChildren() w System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) w System.Web.UI.Control.DataBind() w System.Web.UI.Control.DataBindChildren() w System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) w System.Web.UI.Control.DataBind() w System.Web.UI.WebControls.DataGrid.CreateItem(Int32 itemIndex, Int32 dataSourceIndex, ListItemType itemType, Boolean dataBind, Object dataItem, DataGridColumn[] columns, TableRowCollection rows, PagedDataSource pagedDataSource) w System.Web.UI.WebControls.DataGrid.CreateControlHierarchy(Boolean useDataSource) w System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) w System.Web.UI.WebControls.BaseDataList.DataBind() w DotNetNuke.Modules.Admin.Extensions.InstalledExtensions.BindGrid(String packageType, DataGrid grid, Label noResultsLabel) w DotNetNuke.Modules.Admin.Extensions.InstalledExtensions.extensionTypeRepeater_ItemDataBound(Object sender, RepeaterItemEventArgs e) w System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) w System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) w System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) w System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) w System.Web.UI.WebControls.Repeater.DataBind() w DotNetNuke.Modules.Admin.Extensions.InstalledExtensions.BindPackageTypes() w DotNetNuke.Modules.Admin.Extensions.InstalledExtensions.OnLoad(EventArgs e) w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Control.LoadRecursive() w System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- Koniec śladu stosu wyjątków wewnętrznych ---

Source:

Server name: Laptop-G

Upon checking the db I can actually see the stored procedure gets cleared from the db's "Programmability" node in MSSMS.

I regenerate (copy) the procedure from my backup and it works until next app pool recycle.

I have a hunch the problem started after I'd run Sebastian's DNNTurbo script (nothing personal, buddy) when I got some errors in my DNN 7.2.1 install as well. I don't recall the error messages now and to boot they got cleared due to the Scheduler's operation.

 Has anyone come across such a case? How should I go about such an issue?

PS. The DNN Forum loads a very long time for me though the ping time is acceptable here in Poland (187 ms) but a Firefox 27 message comes up saying something about a non-responsive jquery 1.9.1 script.


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
2/5/2014 5:34 PM
 
I've not heard of such a case - in theory something could be configured to run during application startup (e.g. a httpmodule) and that could do anything, but I think that unlikely - it's also not going to be something in the framework as we haven't touched that script since 5.1.0. It sounds like some sort of sql odditity such as a rolling back batch, though why it would happen on app recycle - I might suggest stopping/starting (or ideally rebooting) the sql server to see if that helps as this does not make much sense - you could try attaching the sql server profiler to see what (if any) other queries are ran to get an idea what is causing it.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/5/2014 8:44 PM
 
Greg,
I haven't got the feedback from any other user - would you mind to check, which version you installed (see on top of the script).
I just reviewed latest version and was unable to identify any condition it might produce such an issue, but maybe a previous issue missed a go. I will try to upload a new version tomorrow, but need to test a bit more - during review I noticed an option to improve this procedure significantly, but need to test it first.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/6/2014 2:51 AM
 

Sebastian,

After thorough research I finally found the event in the Events Log Viewer. The DNN Turbo Script version I used is 0.6.5 (2014-01-12) .

Cathal,

As soon as I have the profiler set up, run and analyzed I'll post my findings unless something else crops up.

 Thanks for your assistance on this.


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
2/7/2014 5:49 AM
 
I suggest re-running latest version of TurboSQL, for an additional performance boost use Turbo-Schema, but don't forget to apply TurboUnSchema (also included) before performing platform upgrades (run latest versions of TurboSQL and TurboSchema after the upgrade).

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...A stored procedure gets removed on app pool recycleA stored procedure gets removed on app pool recycle


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