IBM Support

"The 'sqlncli11.1' provider is not registered on the local machine" caused by IIS application pool needing recycle

Troubleshooting


Problem

User launches Controller client. An error appears.
All users affected.

Symptom

image-20191105123532-1
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentException: The 'sqlncli11.1' provider is not registered on the local machine.
   at Microsoft.VisualBasic.ErrObject.Raise(Int32 Number, Object Source, Object Description, Object HelpFile, Object HelpContext)
   at ControllerServerCommon.RaiseErrSrv.RaiseError(String sUser, Int32 lErrNo, String sErrSource, String sErrDesc, String sErrHelpFile, Int32 lErrHelpContext)
   at FrServerB.ServerInfo.GetDBRelease(String sGuid, String sUser)
   at Cognos.Controller.Proxy.CCRWS.ServerInfo_GetDBRelease(String sGuid, String sUser)
   --- End of inner exception stack trace ---
   at Microsoft.VisualBasic.ErrObject.Raise(Int32 Number, Object Source, Object Description, Object HelpFile, Object HelpContext)
   at Cognos.Controller.Common.RaiseErrCli.RaiseError(Int32 lErrNo, String sErrSource, String sErrDesc, String sErrHelpFile, Int32 lErrHelpContext)
   at Cognos.Controller.Direct.ServerInfoD.GetDBRelease()
   at CCR.AppContext.CheckDbVersion()
   at CCR.AppContext.Login()

Cause

The IIS application pool (the one that hosts the Controller application server) has a problem, and needs recycling.

Resolving The Problem

Fix:
Restart the relevant IIS application pool.
   
Workarounds:
   
Method #1
Restart IIS entirely, by logging onto the Controller application server, then launching a command prompt and typing:    IISRESET
  
Method #2
Reboot the Controller application server.

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.4.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
05 November 2019

UID

ibm11103229