[Mono-list] ASP.NET problem with Npgsql

Abe Gillespie abe.gillespie at gmail.com
Mon Mar 13 17:30:03 EST 2006


I'm getting the following when trying to load a page.  I'm running
Mono 1.1.13.4 and xsp2:

Npgsql.NpgsqlException: System.TypeInitializationException: An
exception was thrown by the type initializer for System.Net.Dns --->
System.Configuration.ConfigurationException: system.net/settings does
not implement System.Configuration.IConfigurationSectionHandler ()
in <0x000e1> System.Web.Configuration.ConfigurationData:CreateNewHandler
(System.String sectionName, System.Web.Configuration.SectionData
section)
in <0x001d1> System.Web.Configuration.ConfigurationData:GetHandler
(System.String sectionName)
in <0x00055> System.Web.Configuration.ConfigurationData:GetHandler
(System.String sectionName)
in <0x00026> System.Web.Configuration.ConfigurationData:GetConfigInternal
(System.String sectionName, System.Web.HttpContext context, Boolean
useLoc)
in <0x00072> System.Web.Configuration.ConfigurationData:GetConfigOptLocation
(System.String sectionName, System.Web.HttpContext context, Boolean
useLoc)
in <0x00276> System.Web.Configuration.ConfigurationData:GetConfig
(System.String sectionName, System.Web.HttpContext context)
in <0x0005a> System.Web.Configuration.WebDefaultConfig:GetConfig
(System.String sectionName, System.Web.HttpContext context)
in <0x00022> System.Web.Configuration.WebDefaultConfig:GetConfig
(System.String sectionName)
in <0x0001a> System.Configuration.ConfigurationSettings:GetConfig
(System.String sectionName)
in <0x00091> System.Net.Sockets.Socket:CheckProtocolSupport ()
in <0x00007> System.Net.Dns:.cctor ()--- End of inner exception stack trace ---

in <0x00000> <unknown method>
in <0x0002b> Npgsql.NpgsqlClosedState:ResolveIPHost (System.String HostName)
in <0x00065> Npgsql.NpgsqlClosedState:Open (Npgsql.NpgsqlConnector
context) ---> System.TypeInitializationException: An exception was
thrown by the type initializer for System.Net.Dns --->
System.Configuration.ConfigurationException: system.net/settings does
not implement System.Configuration.IConfigurationSectionHandler ()
in <0x000e1> System.Web.Configuration.ConfigurationData:CreateNewHandler
(System.String sectionName, System.Web.Configuration.SectionData
section)
in <0x001d1> System.Web.Configuration.ConfigurationData:GetHandler
(System.String sectionName)
in <0x00055> System.Web.Configuration.ConfigurationData:GetHandler
(System.String sectionName)
in <0x00026> System.Web.Configuration.ConfigurationData:GetConfigInternal
(System.String sectionName, System.Web.HttpContext context, Boolean
useLoc)
in <0x00072> System.Web.Configuration.ConfigurationData:GetConfigOptLocation
(System.String sectionName, System.Web.HttpContext context, Boolean
useLoc)
in <0x00276> System.Web.Configuration.ConfigurationData:GetConfig
(System.String sectionName, System.Web.HttpContext context)
in <0x0005a> System.Web.Configuration.WebDefaultConfig:GetConfig
(System.String sectionName, System.Web.HttpContext context)
in <0x00022> System.Web.Configuration.WebDefaultConfig:GetConfig
(System.String sectionName)
in <0x0001a> System.Configuration.ConfigurationSettings:GetConfig
(System.String sectionName)
in <0x00091> System.Net.Sockets.Socket:CheckProtocolSupport ()
in <0x00007> System.Net.Dns:.cctor ()--- End of inner exception stack trace ---

in <0x00000> <unknown method>
in <0x0002b> Npgsql.NpgsqlClosedState:ResolveIPHost (System.String HostName)
in <0x00065> Npgsql.NpgsqlClosedState:Open (Npgsql.NpgsqlConnector
context)--- End of inner exception stack trace ---

in <0x0057c> Npgsql.NpgsqlClosedState:Open (Npgsql.NpgsqlConnector context)
in <0x000c4> Npgsql.NpgsqlConnector:Open ()
in <0x0022e> Npgsql.NpgsqlConnectorPool:GetPooledConnector
(Npgsql.NpgsqlConnection Connection)

Thanks for any help.
-Abe


More information about the Mono-list mailing list