[Mono-bugs] [Bug 74976][Wis] New - System.Net.Dns fails for unprivileged user

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 17 11:41:07 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 ken at vandine.org.

http://bugzilla.ximian.com/show_bug.cgi?id=74976

--- shadow/74976	2005-05-17 11:41:07.000000000 -0400
+++ shadow/74976.tmp.17455	2005-05-17 11:41:07.000000000 -0400
@@ -0,0 +1,79 @@
+Bug#: 74976
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JIT
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: ken at vandine.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Net.Dns fails for unprivileged user
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+I have a mono app that connects to postgres using Npgsql, works fine on
+Linux with mono 1.1.7.  On WinXP/mono1.1.7 it fails as a normal user. 
+Works fine as an administrator
+
+Steps to reproduce the problem:
+1. Mono app using network
+2. Run on Windows as an unpriviledged user
+3. 
+
+Actual Results:
+Crash, see backtrace below
+
+Expected Results:
+Connect
+
+How often does this happen? 
+Everytime
+
+Additional Information:
+
+Unhandled Exception: System.TypeInitializationException: An exception was
+thrown
+
+ by the type initializer for System.Net.Dns --->
+System.Configuration.Configurat
+
+ionException: Cannot find c:\mono\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 <0x000a1> System.Net.Sockets.Socket:CheckProtocolSupport ()
+
+in <0x00007> System.Net.Dns:.cctor ()--- End of inner exception stack trace ---
+
+ 
+
+in <0x00000> <unknown method>
+
+in <0x00035> Npgsql.NpgsqlClosedState:ResolveIPHost (System.String HostName)
+
+in <0x00060> Npgsql.NpgsqlClosedState:Open (Npgsql.NpgsqlConnector context)
+
+in <0x000c8> Npgsql.NpgsqlConnector:Open ()
+
+in <0x0021e> Npgsql.NpgsqlConnectorPool:GetPooledConnector
+(Npgsql.NpgsqlConnect
+
+ion Connection)


More information about the mono-bugs mailing list