Subject RE: [firebird-support] Embedded Unable to complete network request to host
Author Alan McDonald
> All,
> I have an ASP.NET application that was working in development but is
> not in production.

in development with only one user? and now not in production with more than
one user? perhaps?
this app is threaded no? and eaach thread is trying to make it's own
connection at the time of user request?
The embedded server will block subsequent user connections which are not
within the single load of the server dll.
I'm not familiary with the .NET way but I suggest you look at how the dll is loaded, maintains itself and how persistent it's use of the
embedded server is. If it loads once for the first user and provides
connection pooling within this single image then it should be OK. If it
loads each time for each user or is soehow threaded such that subsequent
loadings do not share the single embedded loading, then it won't work.

> The error I get is :
> Unable to complete network request to host ".". Failed to establish a
> connection.
> Trace:
> [FbException: Unable to complete network request to host ".".
> Failed to establish a connection.]
> FirebirdSql.Data.Firebird.FbConnectionInternal.Connect() +321
> FirebirdSql.Data.Firebird.FbConnectionPool.Create() +49
> FirebirdSql.Data.Firebird.FbConnectionPool.CheckOut() +200
> FirebirdSql.Data.Firebird.FbConnection.Open() +426
> Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConnection()
> Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(
> DBCommandWrapper
> command)
> As the subject states I am using the embedded functionality.
> Has anyone else experienced this, and if so can they shed some light
> on the issue for me please?
> Regards,
> Marcus