Error in blog module after upgrade.

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
4/22/2009 5:46:33 PM
Gravatar
Total Posts 115
mojoPortal Community Expert

Error in blog module after upgrade.

After upgrading my site to 2.3.0.1 everything works fine, but any page using the blog module. I even tried creating a new page. Everytime I try to visit a page with the blog I get the following error:

2009-04-22 16:42:23,154 ERROR mojoPortal.Web.Global - 24.177.226.122-en-US - /11111new-page.aspx
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at mojoPortal.Data.SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, Int32 size, ParameterDirection dir, Object value, Boolean sizeProvided)
at mojoPortal.Data.SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, ParameterDirection dir, Object value)
at mojoPortal.Data.DBBlog.GetDrafts(Int32 moduleId)
at mojoPortal.Business.Blog.CountOfDrafts(Int32 moduleId)
at mojoPortal.Web.BlogUI.BlogModule.LoadSettings()
at mojoPortal.Web.BlogUI.BlogModule.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

Running MSSQL 2008/Win2k3

4/23/2009 6:40:28 AM
Gravatar
Total Posts 18439

Re: Error in blog module after upgrade.

Hi,

The 2.3.0.1 release package has the correct script that should have upgraded that stored procedure for the blog.

Please verify that the file exists in your installation:

/Setup/applications/blog/SchemaUpgradeScripts/mssql/0.0.0.8.config

Visiting /Setup/Default.aspx should have run that script

Hope it helps,

Joe 

4/23/2009 7:41:33 AM
Gravatar
Total Posts 115
mojoPortal Community Expert

Re: Error in blog module after upgrade.

I tried that , but I was still getting the same error. After looking around it looks like the 0.0.0.8.config is there, but was corrupt. So a simple upload fixed the problem.

 

Thanks

You must sign in to post in the forums. This thread is closed to new posts.