[Mono-bugs] [Bug 74976][Maj] Changed - System.Net.Dns fails for unprivileged user

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jun 1 13:30:47 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 kornelpal at hotmail.com.


--- shadow/74976	2005-06-01 11:53:46.000000000 -0400
+++ shadow/74976.tmp.29365	2005-06-01 13:30:47.000000000 -0400
@@ -89,6 +89,39 @@
 subdirectories of "c:\mono"?
 ------- Additional Comments From ken at vandine.org  2005-06-01 11:53 -------
 they were both run the exact same way.  I tried commenting out the
 line the code that connects to the database and it ran fine for the
 unprivileged user.
+------- Additional Comments From kornelpal at hotmail.com  2005-06-01 13:30 -------
+I was unable to reproduce the bug. I think there is some thing wrong 
+in your environment variables.
+I was wondering if you could try the same code using Mono built from 
+the latest source code from SVN.
+Regardless of the Mono version please try the following code:
+using System;
+using System.Collections;
+using System.Net;
+class SystemDnsTest
+	static void Main(string[] args)
+	{
+		foreach (DictionaryEntry entry in 
+		{
+			Console.WriteLine(entry.Key + "=" + 
+		}
+		Console.WriteLine(Dns.GetHostName());
+	}
+This code should throw the same ConfigurationException in the same 
+Please send the results and use "mono --debug SystemDnsTest.exe" to 
+run Mono in debug mode.

More information about the mono-bugs mailing list