Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We are currently registering a stand-alone SQL Server database in our composer using
composition.RegisterUnique(typeof(IDatabase), new Database("registerDSN"));
However, we are getting connection errors:
ExecuteReader requires an open and available Connection. The connection's current state is connecting.
What is the correct way to register the connection for use with DI so that handles opening and closing connections correctly?
Hello,
Before Executing any Sql Query make sure that your connection of Application with DataBase is Open Refer this link :- https://stackoverflow.com/questions/9705637/executereader-requires-an-open-and-available-connection-the-connections-curren
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to register and connect to a stand-alone database via NPoco
We are currently registering a stand-alone SQL Server database in our composer using
However, we are getting connection errors:
What is the correct way to register the connection for use with DI so that handles opening and closing connections correctly?
Hello,
Before Executing any Sql Query make sure that your connection of Application with DataBase is Open Refer this link :- https://stackoverflow.com/questions/9705637/executereader-requires-an-open-and-available-connection-the-connections-curren
is working on a reply...