Install Config Error

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.
5/1/2009 5:08:50 PM
Gravatar
Total Posts 131

Install Config Error

Hi, running MP on Vista Ultimate with today's SVN version of the code and SQL Server as the db.

When I press play, I get the following error:

 

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'mojoPortal.Features.UI' or one of its dependencies. The system cannot find the file specified.

Source Error:


Line 791: <add verb="*" path="*.mml.ashx" type="mojoPortal.Web.Services.MathMLHandler, mojoPortal.Web" />
Line 792: <add verb="GET" path="TimelineData.ashx" type="TimelineNet.TimelineAjaxHandler, TimelineNet" />
Line 793: <add verb="*" path="*metaweblogapi.ashx" type="mojoPortal.Web.Services.Metaweblog.MetaWeblogger, mojoPortal.Features.UI" />
Line 794:
Line 795: </httpHandlers>
 

Source File: C:\Users\David\Documents\Visual Studio 2008\Projects\mojoPortal\Web\web.config Line: 793

Assembly Load Trace: The following information can be helpful to determine why the assembly 'mojoPortal.Features.UI' could not be loaded.
 

 

Should I just comment this out of the web.config or will that break things?

 

5/1/2009 5:23:46 PM
Gravatar
Total Posts 18439

Re: Install Config Error

Hi David,

  1. In VS do Build > Rebuild Solution 
  2. make sure the mojoPortal.Web project is the startup project, right click it and chose set as startup project
  3. create db and set the connection string
  4. click play, play through any errors, some errors will happen because there are no tables in the db until setup runs
  5. it should automatically go there when it handles the missing table errors but if not visit /Setup/Default.aspx

Hope it helps,

Joe

5/1/2009 5:28:32 PM
Gravatar
Total Posts 18439

Re: Install Config Error

oh, and make sure you are not using the mojoportal-core.sln, you should use either the  mojoportal-complete.sln or mojoportal-complete-without-silverlight.sln

Hope it helps,

Joe

5/1/2009 7:53:54 PM
Gravatar
Total Posts 131

Re: Install Config Error

hey Joe,

When I tried, I had done what you said.  Only difference is I reused my release install db.  Still went to setup/default.aspx to get the upgrades.  Commented out the offending code and have not had issue as of yet.

 

5/5/2009 11:11:47 AM
Gravatar
Total Posts 131

Re: Install Config Error

This was my problem as well.  Simple fix, just rebuild all before pressing play.

http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=3&thread=2883

Probably should read the install docs, but what fun is that?

 

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