1

I'm getting the following error when using the Database Publishing wizard to script a SQL Server Express database for deployment. I have googled for hours unsuccessfully. Anyone had this isssue or know how to solve it?

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.

2 Answers 2

2

Is the database held remotely? - Have you checked firewall settings...?

The error is what it says it is...it's timed out trying to connect.

Make sure you can connect via other means (SQL Management Studio, the app itself). Check the connection string, even try copying the database locally and scripting it that way.

Sign up to request clarification or add additional context in comments.

2 Comments

THe firewall settings are correct, I can connect using SQL Management Studio. In fact the script times out when using it locally and remotely. It does however generate some parts of the script before it times out.
I have also placed sql in single user mode which resulted in the same error.
1

So I downloaded the latest Database Publishing Wizard and it seems to work :-)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.