Customer is not able to open the Altiris Console. She gets the following message:
Server Error in '/Altiris/Console' Application.
--------------------------------------------------------------------------------SQL Server or Catalog are not set in CoreSettings.Config
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: Altiris.NS.Exceptions.DatabaseNotReadyException: SQL Server or Catalog are not set in CoreSettings.Config
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[DatabaseNotReadyException: SQL Server or Catalog are not set in CoreSettings.Config]
Altiris.NS.Utilities.DbUtils.CreateConnection(String configKey)
Altiris.NS.ContextManagement.DatabaseContext..ctor(ContextIdentity identity, Boolean beginTransaction, IsolationLevel isolationLevel)[DatabaseNotReadyException: Failed to construct DatabaseContext object. Connection to database failed.]
Altiris.NS.ContextManagement.DatabaseContext..ctor(ContextIdentity identity, Boolean beginTransaction, IsolationLevel isolationLevel)
Altiris.NS.ContextManagement.DatabaseContext.GetContext(Boolean createNewTransaction, IsolationLevel isolationLevel, ContextIdentity identity, Boolean independentContext)
Altiris.NS.ContextManagement.DatabaseContext.GetContext()
Altiris.NS.UI.AltirisPage.OnInit(EventArgs e)
Altiris.CustomConsole.Web.Header.OnInit(EventArgs e) +23
System.Web.UI.Control.InitRecursive(Control namingContainer) +241
System.Web.UI.Page.ProcessRequestMain() +197--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
As the error message specifies, for some reason the coreSettings.config is missing either the SQL Server or Catalog value name.
If the steps above don't work, run NSSetup (http://localhost/altiris/ns/install/nssetup.aspx) so the connection with the SQL Server can be reestablished.
Applies To
Notification Server 6.0.6074 SP3