Config works. Now what?

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/20/2009 1:54:48 AM
Gravatar
Total Posts 4
When Quality Counts ...

Config works. Now what?

installing on win server 2k3 with MSSQL, latest update (on 5/18)

opened in VS 2008, ran build on solution after removing the data projects for the db's that don't use... all was well

(against recommendation I admit) used VS publish functionality to move project to server

installation success after making change to db user in SQL Server (to allow schema edit, added user to dbo group)

nothing further.  tried to go to just the default page for the site. nothing.  Ran the project in VS, and got the following

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 823: <add verb="*" path="*.mml.ashx" type="mojoPortal.Web.Services.MathMLHandler, mojoPortal.Web" />
Line 824: <add verb="GET" path="TimelineData.ashx" type="TimelineNet.TimelineAjaxHandler, TimelineNet" />
Line 825: <add verb="*" path="*metaweblogapi.ashx" type="mojoPortal.Web.Services.Metaweblog.MetaWeblogger, mojoPortal.Features.UI" />
Line 826:
Line 827: </httpHandlers>
 

Source File: C:\Users\Andrew\Desktop\Cobalt Software Systems\Visual Studio Projects\Mojo Projects\MojoPortal\Web\web.config Line: 825

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


=== Pre-bind state information ===
LOG: User = Andrew-PC\Andrew
LOG: DisplayName = mojoPortal.Features.UI
(Partial)
LOG: Appbase = file:///C:/Users/Andrew/Desktop/Cobalt Software Systems/Visual Studio Projects/Mojo Projects/MojoPortal/Web/
LOG: Initial PrivatePath = C:\Users\Andrew\Desktop\Cobalt Software Systems\Visual Studio Projects\Mojo Projects\MojoPortal\Web\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\Andrew\Desktop\Cobalt Software Systems\Visual Studio Projects\Mojo Projects\MojoPortal\Web\web.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

****************end error****************
 

The line in bold is the problem child

5/20/2009 4:48:41 AM
Gravatar
Total Posts 18439

Re: Config works. Now what?

Hi,

(against recommendation I admit) used VS publish functionality to move project to server 

Sorry but its not a recommendation, it just doesn't work, it leaves out lots of important files and thus you get errors as expected.

Deploy with UnleashIt (the same way I do it) according to my documentation here and it will work correctly.

http://www.mojoportal.com/deploymentfromwindows.aspx

Hope it helps,

Joe

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