locked
Error : ExecuteNonQuery requires an open and available Connection. The connection's current state is closed. RRS feed

  • Question

  • User1335944399 posted

     We are currently migrating our test databases to a new server and I am switching one of our sites over to use them.  When running the application from my development box it hits the database just fine.  However when I compile and push the code out to our test server and try to use the same datbase I get the ExecuteNonQuery requires an open and available Connection. The connection's current state is closed error.  I cannot seem to figure out why.  Also when I point the site at our old test server it works just fine.

    Thursday, April 15, 2010 6:23 AM

Answers

  • User614805505 posted

    Dear zander8778,

    Most probably is the connection string  problem. Where u store ur connection string? U may hv to double check it.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 15, 2010 10:19 AM