Access to the registry key ‘HKEY_LOCAL_MACHINE\Software\VB and VBA Program Settings\FrangoController\Settings’ is denied

Product:
IBM cognos controller 11.1
Microsoft Windows 2022 server

Issue:

When you start the cognos controller client you get a error, like this:

System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.ArgumentException: Access to the registry key ‘HKEY_LOCAL_MACHINE\Software\VB and VBA Program Settings\FrangoController\Settings’ is denied.
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.LocalConnectionBusiness.SetSelectDb(String sGuid, String sUser, Boolean bSelectDb)
at FrServerB.ConnectionBusiness.SetSelectDb(String sGuid, String sUser, Boolean bSelectDb)
— 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.ConnectionDirect.SetSelectDb(Boolean bSelectDb)
at CCR.AppContext.SelectDb()
at CCR.AppContext.Login()

Solution:

Change the DefaultAppPool on the IIS server to use localsystem as the user for the service.

Go to IIS manager

Expand the application pool

Select the pool used by controllerservice

Click on advance settings

Change identity to localsystems

Click ok

Restart the iis from inside IIS manager.

 

More Information:

https://www.ibm.com/support/pages/node/262325

https://www.ibm.com/docs/en/controller/11.1.0?topic=icclo-installing-configuring-controller-one-computer