[Mono-dev] 2.0 error

Joe Audette joe_audette at yahoo.com
Tue Jan 17 20:48:31 EST 2006


Hi All,

I'm getting this error lately in my experiments with 2.0 runtime when trying to access a database. It was working until recently.
I'm at r55703 on Suse 10 with ipv6 disabled

System.InvalidCastException: Cannot cast from source type to destination type.
in <0x000bd> System.Net.Sockets.Socket:CheckProtocolSupport ()
in <0x00007> System.Net.Sockets.Socket:get_SupportsIPv6 ()
in <0x00090> System.Net.Dns:hostent_to_IPHostEntry (System.String h_name, System.String[] h_aliases, System.String[] h_addrlist)
in <0x0005b> System.Net.Dns:GetHostByName (System.String hostName)
in <0x00058> System.Net.Dns:Resolve (System.String hostName)
in <0x00025> Npgsql.NpgsqlClosedState:ResolveIPHost (System.String HostName)
in <0x00065> Npgsql.NpgsqlClosedState:Open (Npgsql.NpgsqlConnector context)
in <0x000c4> Npgsql.NpgsqlConnector:Open ()
in <0x0008a> Npgsql.NpgsqlConnectorPool:GetNonPooledConnector (Npgsql.NpgsqlConnection Connection)
in <0x0003b> Npgsql.NpgsqlConnectorPool:RequestConnector (Npgsql.NpgsqlConnection Connection)
in <0x0008b> Npgsql.NpgsqlConnection:Open ()
in (wrapper remoting-invoke-with-check) Npgsql.NpgsqlConnection:Open ()
in <0x00057> mojoPortal.Data.NpgsqlHelper:ExecuteReader (System.String connectionString, CommandType commandType, System.String commandText, Npgsql.NpgsqlParameter[] commandParameters)

Thanks,

Joe
 
 
joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com






More information about the Mono-devel-list mailing list