Re: [Mono-list] Installing mono 3.0 on Ubuntu
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 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) [0x0] 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) > [0xe] 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 () [0x0] 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) [0x0] in :0 > at System.Web.Configuration.WebConfigurationManager.GetSection > (System.String sectionName, System.String path) [0x0] in unknown>:0 > at > System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection > (System.String sectionName) [0x0] in :0 > at System.Web.TraceManager..ctor () [0x0] in :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) [0x0] in :0 > at System.Configuration.ConfigurationManager.GetSection (System.String > sectionName) [0x0] in :0 > at System.Configuration.ConfigurationManager.get_AppSettings () [0x0] > in :0 > at Mono.WebServer.Apache.Server.get_AppSe
[Mono-list] Installing mono 3.0 on Ubuntu
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) [0x0] 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) [0xe] 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 () [0x0] 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) [0x0] in :0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path) [0x0] in :0 at System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection (System.String sectionName) [0x0] in :0 at System.Web.TraceManager..ctor () [0x0] in :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) [0x0] in :0 at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x0] in :0 at System.Configuration.ConfigurationManager.get_AppSettings () [0x0] in :0 at Mono.WebServer.Apache.Server.get_AppSettings () [0x1] 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.
Re: [Mono-list] Registry help
This is the only file in my ~/.mono/registry directory. ~/.mono/registry/CurrentUser/software/classes/code/shell/open/command/values.xmlHave you tried creating a trivial program to write to HKEY_CURRENT_USER? Does this trivial program work on other platforms? C_W October 25, 2012 2:22 AMHi all,I am porting a Windows program to run on the Raspberry Pi, but unfortunatelyit uses the registry a lot.I know Mono emulates the registry using a file structure in/etc/mono/registry, as well as .mono/registry in the user's home directoryfor user keys, and am trying to find what to replace "HKEY_CURRENT_USER" etcwith, as all I get is a crash report saying it doesn't start with a validregistry root.I have tried "CurrentUser", "~/.mono/registry/CurrentUser", and variousother combos, as well as converting to lower case. I still get the invalidregistry root error message.What do I need to replace HKEY_CURRENT_USER and HKEY_CLASSES_ROOT etc withto get it to pick up data from the registry folders?ThanksChris--View this message in context: http://mono.1490590.n4.nabble.com/Registry-help-tp4657109.htmlSent from the Mono - General mailing list archive at Nabble.com.___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] where to put package-config files
I just installed log4net.dll via gacutil. The DLL is now in /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/log4net/1.2.11.0__669e0ddf0bb1aa2a/log4net.dll. Where should I put its corresponding log4net.pc file? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Mono 3.0 pmono debian packages (amd64/i386)
Hello All, I've recently updated the pmono repository to contain the latest mono 3.0 source tarball and rebuilt all the packages using mono 3.0 I've especially noticed that monodevelop is quite a bit more responsive now and debugging is much more stable. http://inorton.wordpress.com/pmono-parallel-mono-debian-pacakges/ I'd quite like to get pmono built for arm (raspberry Pi), any help would be appreciated. Best Regards Ian ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Report tool for mono
hello all.. I wonder what currently exists as a tool for reporting and pdf for mono. thanks ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Looking for help.. (sorry!)
Hi, I think you should go read these pages :) http://www.mono-project.com/FAQ:_Security http://www.mono-project.com/UsingTrustedRootsRespectfully And apply these things on the server throwing the exception *HINT* googling for: "Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed." reveals a lot of answers... BR --- Nicklas Overgaard Founder & Lead Developer iSharp Solutions ApS On Wed, Oct 24, 2012 at 6:30 PM, Conrad Bate wrote: > My question is: > > how do I debug this? > > This is on a live server running ifolder > > It appears on the web client when you go into a folder > > Exception Message: The authentication or decryption has failed. > Exception Type: Mono.Security.Protocol.Tls.TlsException > Exception Site: Void ProcessAlert(AlertLevel, AlertDescription) > Exception Source: Mono.Security > > Exception Stack: > > Mono.Security.Protocol.Tls.TlsException: The authentication or decryption > has failed. > at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert (AlertLevel > alertLevel, AlertDescription alertDesc) [0x0] in :0 > at > Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback > (IAsyncResult asyncResult) [0x0] in :0 > > Username: masonh > User Full Name: Mason Harriet > > System iFolder Name: iFolder > System iFolder Version: 1.0.0.0 > > Server iFolder Version: 1.8.5.0 > Server CLR Version: 2.0.50727.1433 > Server Host: ifolder113 > Server Machine: ifolder113 > Server Operating System: Unix 2.6.34.10 > Server Username: wwwrun > > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Registry help
Hi all, I am porting a Windows program to run on the Raspberry Pi, but unfortunately it uses the registry a lot. I know Mono emulates the registry using a file structure in /etc/mono/registry, as well as .mono/registry in the user's home directory for user keys, and am trying to find what to replace "HKEY_CURRENT_USER" etc with, as all I get is a crash report saying it doesn't start with a valid registry root. I have tried "CurrentUser", "~/.mono/registry/CurrentUser", and various other combos, as well as converting to lower case. I still get the invalid registry root error message. What do I need to replace HKEY_CURRENT_USER and HKEY_CLASSES_ROOT etc with to get it to pick up data from the registry folders? Thanks Chris -- View this message in context: http://mono.1490590.n4.nabble.com/Registry-help-tp4657109.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list