Strange exception handling in pgsql version

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/6/2007 3:12:10 AM
Gravatar
Total Posts 488

Strange exception handling in pgsql version

Using the latest pgsql version from /branches/joesandbox2

When an unhandled exception occurs in my custom module, I am redirected to /Setup/Default.aspx and see the following:


An Error Occurred:Index was outside the bounds of the array.
Source:mojoPortal.Data
Stack Trace at mojoPortal.Data.dbPortal.SchemaVersion_AddSchemaVersion(Guid applicationID, String applicationName, Int32 major, Int32 minor, Int32 build, Int32 revision) in F:\Billing\mojoPortal SVN\mojoPortal.Data.pgsql\dbPortal.cs:line 117 at mojoPortal.Business.DatabaseHelper.AddSchemaVersion(Guid applicationID, String applicationName, Int32 major, Int32 minor, Int32 build, Int32 revision) in F:\Billing\mojoPortal SVN\Business\DatabaseHelper.cs:line 93 at mojoPortal.Business.DatabaseHelper.dbSchemaVersion() in F:\Billing\mojoPortal SVN\Business\DatabaseHelper.cs:line 67 at mojoPortal.Business.WebHelpers.mojoSetup.UpgradeIsNeeded() in F:\Billing\mojoPortal SVN\mojoPortal.Business.WebHelpers\mojoSetup.cs:line 115 at mojoPortal.Web.UI.Pages.SetupHome.PopulateControls() in F:\Billing\mojoPortal SVN\Web\Setup\Default.aspx.cs:line 120 at mojoPortal.Web.UI.Pages.SetupHome.Page_Load(Object sender, EventArgs e) in F:\Billing\mojoPortal SVN\Web\Setup\Default.aspx.cs:line 59 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
4/6/2007 8:18:26 AM
Gravatar
Total Posts 18439

Re: Strange exception handling in pgsql version

Hi Alexander,

Is this an svn upgrade or a clean install?
Does the mp_schemaversion table exist in your db?

Joe
4/6/2007 8:21:56 AM
Gravatar
Total Posts 488

Re: Strange exception handling in pgsql version

The database was created 2 days ago using scripts from svn. Then initial data has been created.
4/6/2007 10:04:54 AM
Gravatar
Total Posts 18439

Re: Strange exception handling in pgsql version

If you just navigate to the /Setup/Default.aspx page without an exception thrown from your code does it still show an error?

Thanks,

Joe
4/6/2007 10:16:12 AM
Gravatar
Total Posts 488

Re: Strange exception handling in pgsql version

Yes, really. I get an error if I just try to view this page.
4/6/2007 11:19:05 AM
Gravatar
Total Posts 18439

Re: Strange exception handling in pgsql version

this should now be fixed in svn.

Thanks,

Joe
4/9/2007 5:17:08 AM
Gravatar
Total Posts 488

Re: Strange exception handling in pgsql version

It works now, thanks.
You must sign in to post in the forums. This thread is closed to new posts.