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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77562 --- shadow/77562 2006-02-15 08:33:45.000000000 -0500 +++ shadow/77562.tmp.21063 2006-02-15 08:33:45.000000000 -0500 @@ -0,0 +1,100 @@ +Bug#: 77562 +Product: Mono: Tools +Version: 1.1 +OS: All +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Major +Component: XSP +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Missing interface implementation + +Cannot connect to database form ASP.NET page. + +There is a small test code (I tried with FirebirdClient Beta 2, +FirebirdNETProvider1.7, MySQL Connector/.NET 1.0.7): + +<%@ Page Language="C#" EnableSessionState="False"%> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<script runat="server"> + protected void Page_Load() + { + FirebirdSql.Data.FirebirdClient.FbConnection conn = + new +FirebirdSql.Data.FirebirdClient.FbConnection(@"...ConnectionString..."); + conn.Open(); + conn.Close(); + Label1.Text = "OK"; + } +</script> + +<html xmlns="http://www.w3.org/1999/xhtml" > +<head runat="server"> + <title>Untitled Page</title> +</head> +<body> + <form id="form1" runat="server"> + <div> + <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> + </div> + </form> +</body> +</html> + + +If I tried to load the page into a webbrowser, the answer was always Error 500: + +Server error in '/' application +Description: Error processing request. + +Error Message: HTTP 500. + +Stack Trace: + +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 <0x000a5> 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 <0x00011> System.Net.Dns:GetHostEntry (System.String hostNameOrAddress) +in <0x00017> FirebirdSql.Data.Client.Gds.GdsConnection:Connect +(System.String dataSource, Int32 port, Int32 packetSize, +FirebirdSql.Data.Common.Charset charset) +in <0x00049> FirebirdSql.Data.Client.Gds.GdsDatabase:Attach +(FirebirdSql.Data.Common.DatabaseParameterBuffer dpb, System.String +dataSource, Int32 port, System.String database) +in <0x0012c> FirebirdSql.Data.FirebirdClient.FbConnectionInternal:Connect () +in (wrapper remoting-invoke-with-check) +FirebirdSql.Data.FirebirdClient.FbConnectionInternal:Connect () +in <0x00198> FirebirdSql.Data.FirebirdClient.FbConnection:Open () _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
