Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
SharePoint - Error_1_Error occurred in deployment step 'Add Solution': 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

Please check the detailed question

https://social.technet.microsoft.com/Forums/en-US/2b5d94f0-10f5-43be-940a-3c26ef7d6681/sharepoint-error1error-occurred-in-deployment-step-add-solution-timeout-expired-the-timeout?forum=sharepointdevelopment[^]
Posted

1 solution

First of all, if you are posting a question on one forum, stick to it. It's kind of rude to the community that you just provide a link to the question you posted somewhere (MSDN forum) else.

Anyway, what you need to understand is the installation of a WSP does not do much. It just makes sure that you relevant solution files are deployed to the SharePoint farm.

Next comes the point when you activate the features. It is when the code which you have written to "Activate" certain features for your custom solution.

Regarding the error you are getting, it typically means that you have more connections (default is I guess 100) open for a SQL database then you are allowed to.

If you have a custom database and you are opening a connection, make sure you close it as well.

Look at the similar discussion here:

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[^]

I would suggest further to look at the ULS logs[^] to get better insight.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900