SharePoint Foundation 2010 on MSSQL2012 - Search Service errors because of SQLNCLI10

Lynkx Vavri 1 Reputation point
2021-10-17T21:12:44.617+00:00

Hi,
I'm trying to migrate from SQL 2008 to SQL 2012 (and also from windows server 2008 R2 to windows server 2012) in our SharePoint Foundation 2010 farm. We can run everything except Search Service, apparently because it is trying to use SQL Native Client 10 (SQLNCLI10) - but SQL 2012 runs on SQLNCLI11. See error logs from ULS by Search Service below text.

Within the sp2 service pack information for SharePoint Foundation 2010, it is stated that MSSQL 2012 is supported. So, my question is, if it is possible to change connection string for Search Service to use SQLNCLI11? Or if there is another solution to this.

Relevant part of ULS log:

10/17/2021 22:30:02.10 mssearch.exe (0x0B00) 0x0DC4 SharePoint Foundation Search Common 0000 High CResourceManager::CreateSessionEx2 Error creating non fastload session 'Provider=SQLNCLI10;Extended Properties='Server=dmssql;Database=WSS_Search_PROD;Trusted_Connection=yes;App=Microsoft SharePoint Foundation;Timeout=15';'. [resourcemanagerimpl.cpp:1124] d:\office\source\search\native\mssrch\resourcemanagerimpl.cpp
10/17/2021 22:30:02.10 mssearch.exe (0x0B00) 0x0DC4 SharePoint Foundation Search UtilCommon cd08 High SQL call failed (0x80004005: Unspecified error ) [atldbext.cxx:1290] d:\office\source\search\libs\utild\atldbext.cxx
10/17/2021 22:30:02.10 mssearch.exe (0x0B00) 0x0DC4 SharePoint Foundation Search UtilCommon cd09 High error 0: Client unable to establish connection (source Microsoft SQL Server Native Client 10.0, 0x80004005, code 10054: Unspecified error ) [atldbext.cxx:1386] d:\office\source\search\libs\utild\atldbext.cxx
10/17/2021 22:30:02.10 mssearch.exe (0x0B00) 0x0DC4 SharePoint Foundation Search UtilCommon cd09 High error 1: TCP Provider: An existing connection was forcibly closed by the remote host. (source Microsoft SQL Server Native Client 10.0, 0x80004005, code 10054: Unspecified error ) [atldbext.cxx:1386] d:\office\source\search\libs\utild\atldbext.cxx
10/17/2021 22:30:02.10 mssearch.exe (0x0B00) 0x0DC4 SharePoint Foundation Search UtilCommon cd08 High SQL call failed (0x80004005: Unspecified error ) [atldbext.cxx:1290] d:\office\source\search\libs\utild\atldbext.cxx
10/17/2021 22:30:02.10 mssearch.exe (0x0B00) 0x0DC4 SharePoint Foundation Search UtilCommon cd08 High SQL call failed (0x80004005: Unspecified error ) [atldbext.cxx:1290] d:\office\source\search\libs\utild\atldbext.cxx
10/17/2021 22:30:02.10 mssearch.exe (0x0B00) 0x0DC4 SharePoint Foundation Search GatherPI e5he High CGatherPluginMgr::SQLGetCurrentRegistryVersion Failed in GetSession, Error is 0x80004005 [gatherpimgr.cxx:826] d:\office\source\search\native\gather\server\gatherpimgr.cxx

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,686 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 41,946 Reputation points Microsoft Vendor
    2021-10-18T09:50:05.667+00:00

    @Lynkx Vavri

    Per my research, there is Microsoft documentation indicates that how to change connection string for search service application to use SQLNCLI11

    I suggest you create a new search service application to test whether search works well.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.