Internal error 500 running Setup/Default.aspx

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.
2/8/2009 3:22:53 PM
Gravatar
Total Posts 3

Internal error 500 running Setup/Default.aspx

I have installed mojoPortal on a OpenSuse 11.1 server, Apache2, MySQL 5.0, Mono 2.2

If I point the browser to Setup/Default.aspx to start the configuration process I get a internal error 500 with the following:

Server Error in '/mojoportal' Application
Could not load type 'mojoPortal.Web.MonoCompilationSection, mojoPortal.Web'.

Description: HTTP 500. Error processing request.

Stack Trace:

System.TypeLoadException: Could not load type 'mojoPortal.Web.MonoCompilationSection, mojoPortal.Web'.
at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool)
at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x00000]
at Mono.Web.Util.SettingsMapping.get_MapperType () [0x00000]
at Mono.Web.Util.SettingsMapping.MapSection (System.Object input, System.Type type) [0x00000]
at Mono.Web.Util.SettingsMappingManager.MapSection (System.Object input, System.Type type) [0x00000]
at Mono.Web.Util.SettingsMappingManager.MapSection (System.Object input) [0x00000]
at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path) [0x00000]
at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName) [0x00000]
at System.Web.Compilation.AppResourcesAssemblyBuilder..ctor (System.String canonicAssemblyName, System.String baseAssemblyPath, System.Web.Compilation.AppResourcesCompiler appres) [0x00000]
at System.Web.Compilation.AppResourcesCompiler.CompileGlobal () [0x00000]
at System.Web.Compilation.AppResourcesCompiler.Compile () [0x00000]
at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x00000]

Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433

However, if I point the browser to the XSP Test site everything seems to run fine.

Can you help?

2/8/2009 4:19:42 PM
Gravatar
Total Posts 18439

Re: Internal error 500 running Setup/Default.aspx

Make sure you get the mojoportal-x-x-x-x-pgsqlrelasefiles-for-mono.zip and then repalce the data dlls with the ones form the MySql data layer.

Mono requires a special build of mojoportal so you must use the for mono release, the regular release is compiled for windows and has some things that don't work in mono.

Hope it helps,

Joe

2/8/2009 9:57:11 PM
Gravatar
Total Posts 3

Re: Internal error 500 running Setup/Default.aspx

Thanks for the quick response, I used the following two zip files from the Novell Developer Site:

1. mojoportal-2-2-8-3-pgsqlreleasesfiles-for-mono.zip

2. mojoportal-2-2-8-3-mysqldatalayer-GPL.zip

Should I be using something else?

Thanks
Yves

2/9/2009 4:44:05 AM
Gravatar
Total Posts 18439

Re: Internal error 500 running Setup/Default.aspx

Sounds like you did everything right but there must be some bug in Mono or mod_mono, or else something about your mod_mono/apache configuration, maybe its configured for the 1.1 .NET framework version of mono not the 2.0 version. ie modmonoserver2

I have mainly been testing with xsp2 myself.

Best,

Joe

2/9/2009 9:25:18 AM
Gravatar
Total Posts 3

Re: Internal error 500 running Setup/Default.aspx

Again thanks for the quick response.

I have specified the MonoServerPath to modmonoserver2 in my mod_mono.conf and the mod_mono.so is the file as generated by the mono 2.2, however, I will do tests tonight with xsp2 to validate that the issue is with the Apache server setup (to take that out of the loop).

Thanks
Yves

 

 

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