Linux Install 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.
8/19/2009 7:58:41 AM
Gravatar
Total Posts 2

Linux Install Error

What operating system? Debian Lenny
What database platform? MySQL
What version of mojoPortal? mojoportal-2-3-1-3-pgsql-deploymentfiles-for-mono.zip

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

I installed mono, then edited the Web.config to use all the .NET 2.0 sections instead of 3.5 on loading it give me the following error does anyone have any ideas?

Thanks

System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <roleService> () (/var/www/mojo/Web.config line 1149)
at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlTextReader reader)
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlTextReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root)
at System.Configuration.SectionGroupInfo.ReadData (System.Configuration.Configuration config, System.Xml.XmlTextReader reader, Boolean overrideAllowed)
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlTextReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root)
at System.Configuration.SectionGroupInfo.ReadData (System.Configuration.Configuration config, System.Xml.XmlTextReader reader, Boolean overrideAllowed)
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlTextReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root)
at System.Configuration.SectionGroupInfo.ReadData (System.Configuration.Configuration config, System.Xml.XmlTextReader reader, Boolean overrideAllowed)
at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlTextReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root)
at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlTextReader reader, System.Configuration.Configuration config, Boolean overrideAllowed)
at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlTextReader reader, System.String fileName)
at System.Configuration.Configuration.Load ()
at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent)
at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath)
at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath)
at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams)
at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration (System.String path, System.String site, System.String locationSubPath, System.String server, System.String userName, System.String password) [0x00000]

 

8/19/2009 8:12:11 AM
Gravatar
Total Posts 18439

Re: Linux Install Error

Thats not the Mono version that is shown there. What version of Mono did you install?

You should not edit the web.config, that does not make it use 2.0 .NET 

You could comment out that <roleService section but it should not be needed to do that.

Hope it helps,

Joe

8/19/2009 8:36:48 AM
Gravatar
Total Posts 2

Re: Linux Install Error

 

Commenting it out gets slightly further it now gets to

Parser Error

Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.

Parser Error Message: Assembly System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 not found

The monoversion was generated from monop2 --runtimverision

Both mono and mono2 are installed but the mod_mono points at mono2

Thanks

Alasdair

8/19/2009 8:42:40 AM
Gravatar
Total Posts 18439

Re: Linux Install Error

The error message says its the Mono version but its not, its really the ASP.NET version that Mono is implementing.

I think you must have an older version of Mono than what is needed. 

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