[Mono-bugs] [Bug 75414][Nor] New - Mono 1.1.8 Windows Installer
fails to run on Cygwin looking for machine.config
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jun 28 20:58:36 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by danielmorgan at verizon.net.
http://bugzilla.ximian.com/show_bug.cgi?id=75414
--- shadow/75414 2005-06-28 20:58:36.000000000 -0400
+++ shadow/75414.tmp.12295 2005-06-28 20:58:36.000000000 -0400
@@ -0,0 +1,83 @@
+Bug#: 75414
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details: Windows XP SP2
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: packaging
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: danielmorgan at verizon.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Mono 1.1.8 Windows Installer fails to run on Cygwin looking for machine.config
+
+Description of Problem:
+ConfigurationException: Cannot find
+E:\Mono-1.1.8\etc:\mono\1.0\machine.config
+
+I have Mono 1.1.8 installed in E:\Mono-1.1.8
+
+Notice the extra colon between E:\Mono-1.1.8\etc and \mono\1.0\machine.config
+
+Steps to reproduce the problem:
+1. Compile and Run Test case on Cygwin
+2. Compile and Run Test case on Mono Command Prompt (MS-DOS Command Prompt)
+
+Running in Cygwin:
+
+Administrator at danpc ~/monosvn/sqlsharpgtk/sqlsharpgtk
+$ mcs WinTest.cs
+
+Administrator at danpc ~/monosvn/sqlsharpgtk/sqlsharpgtk
+$ mono WinTest.exe
+
+Unhandled Exception: System.Configuration.ConfigurationException: Cannot
+find E:
+\Mono-1.1.8\etc:\mono\1.0\machine.config ()
+in <0x000a6> System.Configuration.DefaultConfig:Init ()
+in <0x0000d> System.Configuration.DefaultConfig:GetConfig (System.String
+section
+Name)
+in <0x0001a> System.Configuration.ConfigurationSettings:GetConfig
+(System.String
+ sectionName)
+in <0x00010> System.Configuration.ConfigurationSettings:get_AppSettings ()
+in <0x00015> WinTest:Main (System.String[] args)
+
+
+Running in Mono 1.1.8 Command Prompt (MS-DOS COmmand Prompt):
+
+E:\cygwin\home\Administrator\monosvn\sqlsharpgtk\sqlsharpgtk>mono WinTest.exe
+App Setting for PubsConnStr is
+factory=System.Data.SqlClient;server=speedy;datab
+ase=pubs;uid=sa;pwd=mypassword
+
+How often does this happen?
+
+Always. Happens in Mono 1.1.7 and Mono 1.1.8 Windows Installers.
+
+Additional Information:
+
+Here is the test case:
+
+using System;
+using System.Collections;
+using System.Configuration;
+
+class WinTest {
+ public static void Main(string[] args)
+ {
+ string appSettingName = "PubsConnStr";
+ string appSettingValue;
+
+ appSettingValue = ConfigurationSettings.AppSettings[appSettingName];
+
+ Console.WriteLine("App Setting for {0} is {1}", appSettingName,
+appSettingValue);
+ }
+}
More information about the mono-bugs
mailing list