openSuse 12.1 Mono2.10.2 Apache2 MySQL Mojo2.3.6.6 problem

mojoPortal is no longer supported on mono. This forum is here for archival purposes.

This thread is closed to new posts. You must sign in to post in the forums.
1/6/2012 5:21:35 AM
Gravatar
Total Posts 4

openSuse 12.1 Mono2.10.2 Apache2 MySQL Mojo2.3.6.6 problem

With  mojo 2.3.6.6.  Installation goes well but when I try to add a new page I get the error .

Also when I log out from the site and try a new login or anything else get an error until you restart apache2

I also get this error (after signout I can not access the site until restart apache2 ) in mojoPortal 2.3.6.5, 2.3.6.4 and 2.3.5.1.

In Mojo2.3.5.1 and 2.3.4.4 i got an error when try to view page with inserted "shared files" component.

OpenSuse12.1, Apache2  2.2.21-3.2.2,  XSP 2.10.2-21.2,  Mono Core 2.10.2-36.1 ( I try 2.10.5 but I have the same errors).

All attempts I have worked with the version compiled for mono.

Some advice? Maybe the problem is in setting apache2  mono and xsp? I have no more ideas...

1/6/2012 5:27:06 AM
Gravatar
Total Posts 4

Re: openSuse 12.1 Mono2.10.2 Apache2 MySQL Mojo2.3.6.6 problem

Here is the error that appears whenever you try to access the site after signout (click on the home or signin):

Server Error in '/' Application
Object reference not set to an instance of an object

Description: HTTP 500. Error processing request.

Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an object
  at System.Web.SessionState.SessionInProcHandler.GetItemInternal (System.Web.HttpContext context, System.String id, System.Boolean& locked, System.TimeSpan& lockAge, System.Object& lockId, System.Web.SessionState.SessionStateActions& actions, Boolean exclusive) [0x00000] in <filename unknown>:0

Version information: Mono Runtime Version: 2.10.2 (tarball Mon Apr 18 15:12:52 UTC 2011); ASP.NET Version: 2.0.50727.1433

 

1/6/2012 10:52:41 AM
Gravatar
Total Posts 18439

Re: openSuse 12.1 Mono2.10.2 Apache2 MySQL Mojo2.3.6.6 problem

Hi,

See my comments on this thread. Unfortunately Mono has not become a stable platform for running mojoPortal. It has worked to some degree in the past for some versions of mojoPortal and some versions of Mono but it has never reached a point of being reliable and I'm skeptical whether it ever will after hoping it would since 2004.

When Mono was supported by Novell they used to make a VMWare image available of opensuse and Mono that I would use for some testing but they no longer do that and testing often revealed Mono bugs anyway. I ahve not shipped a release package for Mono in quite a while now.

Recently I did try updating our .sln for Mono on my Mac, and while I was able to get it to compile and I was able to run the setup page, I could not get it to work on other pages after that, it gave strange errors on internal mono classes. It also gives errors when trying to use the latest AjaxControlToolkit.

I'm still a fan of Mono but I am very close to giving up completely on the idea that it will ever be a stable platform for running mojoPortal. I think their focus these days is on mobile devices and maybe simple web services to support mobile apps can work ok but large complex ASP.NET projects have always been challenging on Mono and I think it is worse today for such apps than in the past.

Sorry I don't have better news on the Mono front.

Best,

Joe

1/6/2012 12:24:28 PM
Gravatar
Total Posts 4

Re: openSuse 12.1 Mono2.10.2 Apache2 MySQL Mojo2.3.6.6 problem

Thanks for quick response!

In the meantime I tried the combination mojo2.3.6.2 mono2.6.7 opensuse12.1. 

In this combination it is possible to add new pages, log in and out, create new users...Image Gallery work normal when access to the site with Windows 7 (64bit), and when You try access them  from Windows XP 32-bit  image will be opened in browser(like a file).

The main problem that remains is: pages with "shared files" component is not working...

Does anyone know the working combination of mojo portal xxxx, mono 2.x.x, apače2 xxxxx, and xsp and some free linux operating system .

 

 

1/7/2012 4:07:42 PM
Gravatar
Total Posts 4

Re: openSuse 12.1 Mono2.10.2 Apache2 MySQL Mojo2.3.6.6 problem

After 2 days trying:

Mojo Portal 2.3.4.4  page with SHARED FILES can not load
Mojo Portal 2.3.6.6  page with SHARED FILES is ok, but apache stop on adding new page. (It is impossible to access the site until restart apache) 
Mojo Portal 2.3.6.5  most of the components works well but after logout it is impossible to log in until restart apache
Mojo Portal 2.3.6.4  most of the components works well but after logout it is impossible to log in until restart apache
Mojo Portal 2.3.4.5   setup can not execute.
Mojo Portal 2.3.4.8   setup can not execute.
Mojo Portal 2.3.5.1   page with SHARED FILES can not load,  most of the components works well but after logout it is impossible to access the site until restart apache

I tested with several versions of Mono (2.6.1, 2.6.3, 2.6.7, 2.8.0 and the latest 2.10.6) .

Best combination is Mojo2.3.6.4, MySQL, Mono 2.10.6, Most components work well, but this error continues to occur:

1. after logout it is impossible to log in the site until restart apache

Server Error in '/' Application
Object reference not set to an instance of an object

Description: HTTP 500. Error processing request.

Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an object
  at System.Web.SessionState.SessionInProcHandler.GetItemInternal (System.Web.HttpContext context, System.String id, System.Boolean& locked, System.TimeSpan& lockAge, System.Object& lockId, System.Web.SessionState.SessionStateActions& actions, Boolean exclusive) [0x00000] in <filename unknown>:0

Version information: Mono Runtime Version: 2.10.6 (tarball Sat Oct 29 18:16:09 UTC 2011); ASP.NET Version: 2.0.50727.1433
****************************
2. In member list click on "View Profile "  show me the following message:
Server Error in '/' Application
The requested feature is not implemented.

Description: HTTP 500. Error processing request.

Stack Trace:

System.NotImplementedException: The requested feature is not implemented.
  at System.TimeZoneInfo.FromSerializedString (System.String source) [0x00000] in <filename unknown>:0
  at mojoPortal.Web.Framework.DateTimeHelper.GetTimeZoneList () [0x00000] in <filename unknown>:0
  at mojoPortal.Business.WebHelpers.CacheHelper.GetTimeZones () [0x00000] in <filename unknown>:0
  at mojoPortal.Web.SiteUtils.GetTimeZoneList () [0x00000] in <filename unknown>:0
  at mojoPortal.Web.SiteUtils.GetTimeZone (System.String id) [0x00000] in <filename unknown>:0
  at mojoPortal.Web.UI.Pages.ProfileView.PopulateControls () [0x00000] in <filename unknown>:0
  at mojoPortal.Web.UI.Pages.ProfileView.Page_Load (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0
  at mojoPortal.Web.mojoBasePage.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename unknown>:0
  at System.Web.UI.Page.ProcessLoad () [0x00000] in <filename unknown>:0
  at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0

Version information: Mono Runtime Version: 2.10.6 (tarball Sat Oct 29 18:16:09 UTC 2011); ASP.NET Version: 2.0.50727.1433
*********************************

3. Click on search button show me the following message:
Server Error in '/' Application
Object reference not set to an instance of an object

Description: HTTP 500. Error processing request.

Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an object
  at mojoPortal.Web.UI.BingSearchControl.OnInit (System.EventArgs e) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Control.InitRecursive (System.Web.UI.Control namingContainer) [0x00000] in <filename unknown>:0
  at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0

Version information: Mono Runtime Version: 2.10.6 (tarball Sat Oct 29 18:16:09 UTC 2011); ASP.NET Version: 2.0.50727.1433
*****************

The same errors occur with other versions of MONO .

Best regards!

 

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