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.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Nicholas
  • 1,740
  • 5
  • 22
  • 31

2 Answers2

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.

Kieron
  • 26,748
  • 16
  • 78
  • 122
  • 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. – Nicholas Jan 18 '10 at 10:17
  • I have also placed sql in single user mode which resulted in the same error. – Nicholas Jan 18 '10 at 10:18
1

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

Nicholas
  • 1,740
  • 5
  • 22
  • 31