I'm confused...

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.
8/28/2009 11:54:33 AM
Gravatar
Total Posts 10

I'm confused...

To get the basics out of the way...

  • Operating System - I'm guessing Windows 2003 or 2008

Database platform - MS SQL

Version of mojoPortal - 2.3.1.5, though I had the same issue with 2.3.0.1

The issue I'm running into is right off the bat.  I'm trying to run the setup and getting a runtime error telling me to set my customErrors mode to off.  Problem is it's already set to off unless the setup is using a different version of the web.config than the one in the root.

I searched and found the comment that the data directory needs to have write permissions, so I verified that it did indeed have the correct permissions.  However, there is no error log in that directory.

Any ideas on where to start debugging this setup problem?

8/28/2009 11:59:24 AM
Gravatar
Total Posts 18439

Re: I'm confused...

Make sure you have installed .NET 3.5 SP1.

Hope it helps,

Joe

8/28/2009 12:05:46 PM
Gravatar
Total Posts 10

Re: I'm confused...

I had done that before attempting to use mojoPortal.  I used a test page I found via an internet search and according to that, it's got 3.5 SP1.

<%@ Import Namespace="System.Reflection" %>

<%@ Page Language="C#" %>

<%

// Unique framework assembly

string fw30assembly = "PresentationCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";

string fw35assembly = "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";

string fw35sp1assembly = "System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";

Version frameworkVersion = Environment.Version;

string frameworkUpdate = "";

if (frameworkVersion.Major == 2)

{

try

{

// try load 3.0 assembly...

frameworkVersion = AssemblyName.GetAssemblyName(Assembly.Load(fw30assembly).Location).Version;

// ... 3.5

frameworkVersion = AssemblyName.GetAssemblyName(Assembly.Load(fw35assembly).Location).Version;

// ... 3.5 sp1

frameworkVersion = AssemblyName.GetAssemblyName(Assembly.Load(fw35sp1assembly).Location).Version;

frameworkUpdate = "SP1";

}

catch

{

// Assembly load filed

}

}

string ver = string.Format(".NET Framework version is {0}.{1} {2}",

frameworkVersion.Major,

frameworkVersion.Minor,

frameworkUpdate);

Response.Write(ver);

%>

 

Using that page I get back:

.NET Framework version is 3.5 SP1

8/28/2009 12:14:56 PM
Gravatar
Total Posts 18439

Re: I'm confused...

I'm not sure I trust the accuracy of the 3.5 SP 1 vs just 3.5 in that page logic.

If it really is 3.5 SP1, another possibility is you are running in medium trust and need to configure accordingly.

Also, its possible your host has multiple versions of .NET installed and there may be some setting in your web control panel where you need to choose the correct runtime version, either 1.1 or 2.0 my be listed somewhere.

Hope it helps,

Joe

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