Could not create a database session<div id="CSR_0"><span class=ms-descriptiontext>Hello,<br><br>When I do a search in a sharepoint site, I get the following error :<br>Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information.<br><br>When I check the app. log, the following is mentioned :<br></span></div><br>Event Type:    Error<br>Event Source:    Office Server Search<br>Event Category:    Gatherer <br>Event ID:    10032<br>Date:        18/03/2007<br>Time:        17:36:16<br>User:        N/A<br>Computer:    SVRPOE<br>Description:<br>Could not create a database session.<br><br>Context: Application 'bdc68541-4efc-461e-838a-9aa19aafd291'<br><br>Details:<br>    The database connection string is not available.   (0xc0041228)<br><br>For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.<br><br><br>Can somebody please shine a light on this problem ?<br><br>Thanks,<br>Woef.<br>© 2009 Microsoft Corporation. All rights reserved.Tue, 22 Jul 2008 20:07:15 Ze277cc4f-03d9-4424-af1a-a167fd3c6186http://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/e277cc4f-03d9-4424-af1a-a167fd3c6186#e277cc4f-03d9-4424-af1a-a167fd3c6186http://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/e277cc4f-03d9-4424-af1a-a167fd3c6186#e277cc4f-03d9-4424-af1a-a167fd3c6186woefhttp://social.technet.microsoft.com/Profile/en-US/?user=woefCould not create a database session<div id="CSR_0"><span class=ms-descriptiontext>Hello,<br><br>When I do a search in a sharepoint site, I get the following error :<br>Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information.<br><br>When I check the app. log, the following is mentioned :<br></span></div><br>Event Type:    Error<br>Event Source:    Office Server Search<br>Event Category:    Gatherer <br>Event ID:    10032<br>Date:        18/03/2007<br>Time:        17:36:16<br>User:        N/A<br>Computer:    SVRPOE<br>Description:<br>Could not create a database session.<br><br>Context: Application 'bdc68541-4efc-461e-838a-9aa19aafd291'<br><br>Details:<br>    The database connection string is not available.   (0xc0041228)<br><br>For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.<br><br><br>Can somebody please shine a light on this problem ?<br><br>Thanks,<br>Woef.<br>Sun, 18 Mar 2007 16:44:26 Z2007-09-01T10:31:36Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/e277cc4f-03d9-4424-af1a-a167fd3c6186#b9ef966c-8eac-4294-894c-6b91a1f06787http://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/e277cc4f-03d9-4424-af1a-a167fd3c6186#b9ef966c-8eac-4294-894c-6b91a1f06787Andrew Woodwardhttp://social.technet.microsoft.com/Profile/en-US/?user=Andrew%20WoodwardCould not create a database session<p>Search is now part of the Shared Service Provider and also uses a Search SQL database for metadata and additional information.  You need to check your search configuration in the ShareServices - via Central Administration.  </p> <p>Andrew</p>Thu, 22 Mar 2007 21:24:09 Z2007-09-01T10:31:36Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/e277cc4f-03d9-4424-af1a-a167fd3c6186#9559ad59-a2cf-469d-ac83-b44f3b9bf21ahttp://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/e277cc4f-03d9-4424-af1a-a167fd3c6186#9559ad59-a2cf-469d-ac83-b44f3b9bf21aVladBathhttp://social.technet.microsoft.com/Profile/en-US/?user=VladBathCould not create a database session<p align=left><font face=Arial size=2>I had the same problem.  The specific steps taken to resolve it were:</font></p> <p align=left> </p> <p align=left>(1) Open Central Administration-&gt;SharedServices1 (my SSP).</p> <p align=left>(2) Click on Search Settings.  An error will appear saying something about the search not being configured.  It will offer a link to request appropriate account information.  Click it.</p> <p align=left>(3) Configure the page presented and click OK.</p> <p align=left>(4) Wait a couple of minutes while the index migration occurs.</p> <p align=left> </p> <p align=left>Everything should be back to normal!</p> <p align=left> </p> <p align=left>Vlad</p>Sat, 03 Nov 2007 19:33:19 Z2007-11-03T19:33:19Zhttp://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/e277cc4f-03d9-4424-af1a-a167fd3c6186#352e8ca0-5292-4799-b21a-3b590c0f56efhttp://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/e277cc4f-03d9-4424-af1a-a167fd3c6186#352e8ca0-5292-4799-b21a-3b590c0f56efGischhttp://social.technet.microsoft.com/Profile/en-US/?user=GischCould not create a database sessionI was having the same problem in my farm.  I have two App servers, and two front ends...with a SQL clustered back end.  Turns out that my index server dissappeared on me.  Just had to add that back and the errors went away, and I was able to search again...<br><br>1. Open Central Admin<br>2. In the Application Tab go to Create or Manage this farm's shared services<br>3. Click the drop down of the SSP you want to edit, and click edit<br>4. Add the Indexing server<br><br>I had to recrawl all the content, but that doesn't take very long<br>Mon, 09 Jun 2008 19:50:46 Z2008-06-09T19:50:46Z