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.