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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Missing Stored Proceedure After Upgrade????Missing Stored Proceedure After Upgrade????
Previous
 
Next
New Post
11/29/2006 6:01 PM
 

Hello, last night I upgraded from 4.3.0 to 4.3.6. I am having troubles with the following since the upgrade:

- Cannot access File Manager
- I get a repeated error on the Site settings page
- I can't upload photos to my Simple Gallery (a ventrian.com module)
- Probably more things, but thats what I have found so far.

 In some of the errors it is saying that it can't find a stored proceedure called GetFolderByFolderPath. I looked into the Stored Procedures folder on MSSQL2000, and there is not a Stored Procedure by that name. Could it be that something happened in the upgrade that deleted this Stored Procedure?

Please help a brother out!  This is happening on all my portals.

Thanks.



Here is the error that shows up on the Site Settings Page:

An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException: The stored procedure 'dbo.GetFolderByFolderPath' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.GetFolderByFolderPath' doesn't exist. at System.Data.SqlClient.SqlCommand.DeriveParameters() at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.GetFolder(Int32 PortalID, String FolderPath) at DotNetNuke.Services.FileSystem.FolderController.GetFolder(Int32 PortalID, String FolderPath) at DotNetNuke.Common.Utilities.FileSystemUtils.GetFolder(Int32 PortalID, String FolderPath) at DotNetNuke.Common.Globals.GetFileList(Int32 PortalId, String strExtensions, Boolean NoneSpecified, String Folder, Boolean includeHidden) at DotNetNuke.UI.UserControls.UrlControl.GetFileList(Boolean NoneSpecified) at DotNetNuke.UI.UserControls.UrlControl.ShowControls() at DotNetNuke.UI.UserControls.UrlControl.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 

In the Log Viewer I get several errors:

Module Load Exception:
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 04.03.06
PortalID: 3
PortalName: Mission on the Border - Anapra Mexico
UserID: 1
UserName: host
ActiveTabID: 98
ActiveTabName: Site Settings
RawURL: /Admin/SiteSettings/tabid/98/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c4d5e10a-7757-44fa-b729-06cf18f3ae22
InnerException: The stored procedure 'dbo.GetFolderByFolderPath' doesn't exist.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.SqlClient.SqlCommand.DeriveParameters
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The stored procedure 'dbo.GetFolderByFolderPath' doesn't exist. ---> System.InvalidOperationException: The stored procedure 'dbo.GetFolderByFolderPath' doesn't exist. at System.Data.SqlClient.SqlCommand.DeriveParameters() at System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter) at Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.GetFolder(Int32 PortalID, String FolderPath) at DotNetNuke.Services.FileSystem.FolderController.GetFolder(Int32 PortalID, String FolderPath) at DotNetNuke.Common.Utilities.FileSystemUtils.GetFolder(Int32 PortalID, String FolderPath) at DotNetNuke.Common.Globals.GetFileList(Int32 PortalId, String strExtensions, Boolean NoneSpecified, String Folder, Boolean includeHidden) at DotNetNuke.UI.UserControls.UrlControl.GetFileList(Boolean NoneSpecified) at DotNetNuke.UI.UserControls.UrlControl.ShowControls() at DotNetNuke.UI.UserControls.UrlControl.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:

And Page Load Exception:
AssemblyVersion: 04.03.06
PortalID: 3
PortalName: Mission on the Border - Anapra Mexico
UserID: 1
UserName: host
ActiveTabID: 19
ActiveTabName: File Manager
RawURL: /Default.aspx?tabid=19&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f74193f2-344e-43e4-a528-2a9569a21e2a
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Security.Permissions.Controls.FolderPermissionsGrid.SaveViewState
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Permissions.Controls.FolderPermissionsGrid.SaveViewState() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Page.SaveAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEBSERVER

 


Bad spellers of the world untie!!!!
 
New Post
11/30/2006 12:17 AM
 

Can someone that has this sproc that I seem to be missing please post the code of it here so I can re-created it in my database.

 

Thanks,

Jamie


Bad spellers of the world untie!!!!
 
New Post
11/30/2006 2:32 AM
 

Ok, I fixed it!

It all started when I couldn't find any instructions to upgrade from 4.x to 4.x, so I started searching around on the Dotnetnuke site. I found a set of instructions for upgrading, they were really the only instructions I could find for upgrading within the same main version (version 4) as there are no instructions for this in the official documentation, one of the steps in these instructions was to set the AutoUpgrade to False in the web.config file. This was my problem, I figured out that the files in the site was upgraded to 4.3.6, but the database was still at 4.3.0. This is where all my problems were coming from. As soon as I changed the setting to true in the web.config, it upgraded the database, and everything is fine now.


Bad spellers of the world untie!!!!
 
New Post
11/30/2006 5:36 AM
 
Good to see you got it sorted out and thanks for posting what happened. The DNN docs have been an issue since day one... it's a comms problem that isn't going to go away.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Missing Stored Proceedure After Upgrade????Missing Stored Proceedure After Upgrade????


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