From: Dan B. <Br...@YA...> - 2004-01-15 16:13:56
|
I am new to ASP.NET and the Firebird Data Provider. I have Win2k, MS = .NET 1.1 runtime and sdk, Firebird 1.5 and Firebird .NET Data Provider = 1.5 installed and I am trying to access my Firebird database from an = ASP.NET page but I am not able to make a connection. =20 Is there are more setup/configuration documentation/examples available = other than what came with the 1.5 provider? I get the following error even when accessing the sample pages = (VBNetExample.aspx, CSharpExample.aspx) that came with the 1.5 data = provider: An operation on a socket could not be performed because the system = lacked sufficient buffer space or because a queue was full=20 Description: An unhandled exception occurred during the execution of the = current web request. Please review the stack trace for more information = about the error and where it originated in the code.=20 Exception Details: System.Net.Sockets.SocketException: An operation on a = socket could not be performed because the system lacked sufficient = buffer space or because a queue was full Source Error:=20 Line 24: =20 Line 25: myConnection =3D new FbConnection(myConnectionString) Line 26: myConnection.Open() Line 27: =20 Line 28: myTxn =3D myConnection.BeginTransaction()=20 Source File: c:\inetpub\wwwroot\BG\VBNetExample.aspx Line: 26=20 Stack Trace:=20 [SocketException (0x2747): An operation on a socket could not be = performed because the system lacked sufficient buffer space or because a = queue was full] System.Net.Sockets.Socket.InitializeSockets() +735 System.Net.Sockets.Socket..cctor() +19 [TypeInitializationException: The type initializer for = "System.Net.Sockets.Socket" threw an exception.] System.Net.Sockets.Socket.InitializeSockets() +0 System.Net.Dns..cctor() +53 [TypeInitializationException: The type initializer for "System.Net.Dns" = threw an exception.] System.Net.Dns.Resolve(String hostName) +0 FirebirdSql.Data.Firebird.Gds.GdsAttachment.Connect() +35 FirebirdSql.Data.Firebird.Gds.GdsDbAttachment.Attach() +45 FirebirdSql.Data.Firebird.FbDbConnection.Connect() +63 FirebirdSql.Data.Firebird.FbConnection.Open() +191 ASP.VBNETExample_aspx.Connect() in = c:\inetpub\wwwroot\BG\VBNetExample.aspx:26 ASP.VBNETExample_aspx.Page_Load(Object Sender, EventArgs E) in = c:\inetpub\wwwroot\BG\VBNetExample.aspx:36 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +731 =20 Thanks, Dan Brown YADA Systems, Inc. |