[Mono-list] Installing mono 3.0 on Ubuntu

Daniel Lo Nigro lists at dan.cx
Fri Oct 26 01:45:29 UTC 2012


You may have to use the latest XSP code - I don't think the 2.10 release
will work correctly with Mono 3.0. You can get a tar.gz of the code from
https://github.com/mono/xsp/tarball/master

What's in your Web.config file?


  [image: PageUp People]
 *Daniel Lo Nigro* - Web Developer
Level 10, 91 William Street, Melbourne 3000
Tel: +61 3 8677 3769


On Fri, Oct 26, 2012 at 12:39 PM, sudeka <subha.Desikan at gmail.com> wrote:

> Hi,
>
> I used mono-3.0.0.tar.bz2, xsp-2.10.2.tar.bz2, mod_mono-2.10.tar.bz2 and
> additionally: libgdiplus-2.10.9.tar.bz2 and gtk-sharp-2.12.11.tar.bz2 to
> install mono 3.0.
>
> When I run an asp.net application, I get the following error. Thank you in
> advance for your help.
>
>
> Exception during TraceManager initialization:
> System.Reflection.TargetInvocationException: Exception has been thrown by
> the target of an invocation. ---> System.TypeInitializationException: An
> exception was thrown by the type initializer for
> System.Web.Configuration.TraceSection ---> System.MissingMethodException:
> Method not found: 'System.Configuration.ConfigurationProperty..ctor'.
>   --- End of inner exception stack trace ---
>   at (wrapper managed-to-native)
> System.Reflection.MonoCMethod:InternalInvoke
> (System.Reflection.MonoCMethod,object,object[],System.Exception&)
>   at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
> invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
> System.Globalization.CultureInfo culture) [0x0011e] in
>
> /mono-3.0/build/mono-3.0.0/mcs/class/corlib/System.Reflection/MonoMethod.cs:535
>   --- End of inner exception stack trace ---
>   at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
> invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
> System.Globalization.CultureInfo culture) [0x00131] in
>
> /mono-3.0/build/mono-3.0.0/mcs/class/corlib/System.Reflection/MonoMethod.cs:541
>   at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
> System.Reflection.Binder binder, System.Object[] parameters,
> System.Globalization.CultureInfo culture) [0x00000] in
>
> /mono-3.0/build/mono-3.0.0/mcs/class/corlib/System.Reflection/MonoMethod.cs:553
>   at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
> [0x0000e] in
>
> /mono-3.0/build/mono-3.0.0/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:62
>   at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
> [0x000c7] in
> /mono-3.0/build/mono-3.0.0/mcs/class/corlib/System/Activator.cs:333
>   at System.Configuration.ConfigInfo.CreateInstance () [0x00029] in
>
> /mono-3.0/build/mono-3.0.0/mcs/class/System.Configuration/System.Configuration/ConfigInfo.cs:51
>   at System.Configuration.SectionInfo.CreateInstance () [0x00000] in
>
> /mono-3.0/build/mono-3.0.0/mcs/class/System.Configuration/System.Configuration/SectionInfo.cs:63
>   at System.Configuration.Configuration.GetSectionInstance
> (System.Configuration.SectionInfo config, Boolean createDefaultInstance)
> [0x00022] in
>
> /mono-3.0/build/mono-3.0.0/mcs/class/System.Configuration/System.Configuration/Configuration.cs:281
>   at System.Configuration.ConfigurationSectionCollection.get_Item
> (System.String name) [0x00032] in
>
> /mono-3.0/build/mono-3.0.0/mcs/class/System.Configuration/System.Configuration/ConfigurationSectionCollection.cs:68
>   at System.Configuration.Configuration.GetSection (System.String path)
> [0x00077] in
>
> /mono-3.0/build/mono-3.0.0/mcs/class/System.Configuration/System.Configuration/Configuration.cs:261
>   at System.Web.Configuration.WebConfigurationManager.GetSection
> (System.String sectionName, System.String path, System.Web.HttpContext
> context) [0x00000] in <filename unknown>:0
>   at System.Web.Configuration.WebConfigurationManager.GetSection
> (System.String sectionName, System.String path) [0x00000] in <filename
> unknown>:0
>   at
> System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection
> (System.String sectionName) [0x00000] in <filename unknown>:0
>   at System.Web.TraceManager..ctor () [0x00000] in <filename unknown>:0
> [Fri Oct 26 01:39:05 2012] [notice] Apache/2.2.22 (Ubuntu)
> PHP/5.3.10-1ubuntu3.4 with Suhosin-Patch mod_mono/2.10 configured --
> resuming normal operations
>
> Listening on: /tmp/mod_mono_server_global
> Root directory: /
> Listening on: /tmp/mod_mono_server_global
> Root directory:
> /
> Error: There's already a server listening on /tmp/mod_mono_server_global
> mod-mono-server4
> Exception caught during reading the configuration file:
> System.MissingMethodException: Method not found:
> 'System.Configuration.IConfigurationSectionHandler.Create'.
>   at
>
> System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection
> (System.String configKey) [0x00000] in <filename unknown>:0
>   at System.Configuration.ConfigurationManager.GetSection (System.String
> sectionName) [0x00000] in <filename unknown>:0
>   at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000]
> in <filename unknown>:0
>   at Mono.WebServer.Apache.Server.get_AppSettings () [0x00001] in
> /mono-3.0/build/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:208
>   at Mono.WebServer.Apache.Server+ApplicationSettings..ctor () [0x0002a] in
> /mono-3.0/build/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:63
> mod-mono-server4
>
> Listening on: /tmp/mod_mono_server_ui.svr.com
>
> Root directory: /home/svr/svr-app/code/web-client/svr
>
>
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Installing-mono-3-0-on-Ubuntu-tp4657125.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121026/a1c0f07a/attachment-0001.html>


More information about the Mono-list mailing list