[Mono-devel-list] Running Programs on Mono 1.1.7 on Windows and Cygwin

Daniel Morgan danielmorgan at verizon.net
Mon May 30 17:59:52 EDT 2005


With the Mono 1.1.7 Windows Installer, I can run programs okay from the 
command-line, but I can not get it to work under Cygwin.  Does anyone 
know why?   Even if I try to set it via mono --config, it still does not 
work.

Administrator at danpc ~/monosvn/sqlsharpgtk/sqlsharpgtk
$ mono --config E:\Mono-1.1.7\etc\mono\1.1\machine.config sqlsharpgtk.exe

(<unknown>:1088): GLib-CRITICAL **: g_convert: assertion `str != NULL' 
failed

Unhandled Exception: System.TypeInitializationException: An exception 
was thrown
 by the type initializer for Mono.Data.ProviderFactory ---> 
System.Configuration
.ConfigurationException: Cannot find 
E:\Mono-1.1.7\etc:\mono\1.0\machine.config
()
in <0x000a6> System.Configuration.DefaultConfig:Init ()
in <0x0000d> System.Configuration.DefaultConfig:GetConfig (System.String 
section
Name)
in <0x00069> System.Configuration.ConfigurationSettings:GetConfig 
(System.String
 sectionName)
in <0x0000d> Mono.Data.ProviderFactory:.cctor ()--- End of inner 
exception stack
 trace ---

in <0x00000> <unknown method>
in <0x0001f> Mono.Data.SqlSharp.GtkSharp.LoginDialog:PopulateProviders ()
in <0x0005b> Mono.Data.SqlSharp.GtkSharp.LoginDialog:.ctor 
(Mono.Data.SqlSharp.G
tkSharp.SqlSharpGtk sqlSharpGtk)
in <0x0001c> Mono.Data.SqlSharp.GtkSharp.SqlSharpGtk:Login ()
in <0x0003b> Mono.Data.SqlSharp.GtkSharp.SqlSharpGtk:Main 
(System.String[] args)



More information about the Mono-devel-list mailing list