The type initializer for 'mojoPortal.Data.DBPortal' threw an exception.

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.
6/2/2009 3:15:48 PM
Gravatar
Total Posts 2

The type initializer for 'mojoPortal.Data.DBPortal' threw an exception.

Server 2008
Have both MySQL and SQL
Portal 2.3.0.4b

 

I am very green at this and am trying to install via the Web Platofrm Installer

 

Probing system...

An Error Occurred:The type initializer for 'mojoPortal.Data.DBPortal' threw an exception.
Source:mojoPortal.Data
Stack Trace at mojoPortal.Data.DBPortal.DBPlatform() at mojoPortal.Business.DatabaseHelper.DBPlatform() at mojoPortal.Web.UI.Pages.SetupHome.ProbeSystem() at mojoPortal.Web.UI.Pages.SetupHome.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

No idea what this means.

Thanks in advance!

6/3/2009 5:22:42 AM
Gravatar
Total Posts 18439

Re: The type initializer for 'mojoPortal.Data.DBPortal' threw an exception.

Hi,

Make sure you have installed .NET 3.5 SP1 on the server.

http://www.microsoft.com/downloads/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7&displaylang=en

Make sure you are using the mojoportal-2-3-0-4-b-mssql-deploymentfiles.zip, the platform installer does not work with the -sourcecode.zip

To use the -sourcecode.zip you need Visual Studio 2008 SP 1 or Visual Web Developer Express 2008 SP1 to be able to compile the solution before using it.

Hope it helps,

Joe

6/3/2009 9:28:49 AM
Gravatar
Total Posts 2

Re: The type initializer for 'mojoPortal.Data.DBPortal' threw an exception.

Had ASP.NET installed, but it seems the serverice wasn't running. I turned it on and started from scratch with the deployment as you suggested and I'm good to go.

Thanks for the help! I'm sure I'll be back. :)

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