Neeeeed Help!!!!!!!!!!!!!!!

Discussion in 'Notification Server' started by netIT, May 30, 2007.

  1. netIT New Member

    When I try to use the web console I get the Error below. I have been thrown into managing the NS server with little training and my determination to make it happpen is there but I have hit the wall with this.:banghead:
    Take it easy on me if this is something simple.

    Server Error in '/Altiris/Console' Application.

    OledbConnection.Open: Failed to initialize data source!

    [FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]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: System.Runtime.InteropServices.COMException: OledbConnection.Open: Failed to initialize data source!

    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:

    [COMException (0x80041000): OledbConnection.Open: Failed to initialize data source!] AeXOledb.ConnectionClass.OpenSSPI(String server, String database, Int32 timeout) +0 Altiris.NS.Utilities.DbUtils.CreateOledbConnection() Altiris.NS.ResourceManagement.Database.DataLoaderOledbConnection.Open() Altiris.NS.Security.SecurityCache.LoadItemsNotInCacheIntoDB(GuidCollection newItemsNotInCache, ArrayList arrCachedTrustees, GuidCollection permissions, Hashtable accessAllowedItems) Altiris.NS.Security.SecurityCache.GetAccessAllowedItems(GuidCollection itemGuids, String[] userMemberships, GuidCollection permissions) Altiris.NS.Security.SecurityCache.GetAccessDeniedItems(GuidCollection itemGuids, String[] userMemberships, GuidCollection permissions) Altiris.NS.UI.TreeItem.GetAccessDeniedList(GuidCollection guids, String[] userMemberShips, GuidCollection permissions) Altiris.NS.UI.TreeItem.Render(Int32& nodeCount) Altiris.NS.UI.TreeItem.Render() Altiris.NS.UI.FolderQueryTreeBuilder.BuildTree(XmlDocument treeDefn, String url, Hashtable args, XmlWriter writer, Boolean branchesOnly, GuidCollection ancestorTrees) Altiris.CustomConsole.Web.UITreeUtils.GetTreeAsXml(Guid treeGuid, String startGuid) +753 Altiris.CustomConsole.Web.UITreeUtils.AddTreeNodes(Guid treeGuid, String startGuid, Boolean demandLoad) +432 Altiris.CustomConsole.Web.UITreeUtils.AddTreeNodes(Guid treeGuid, String startGuid) +22 Altiris.CustomConsole.Web.Tree.PopulateTrees() +1036 Altiris.CustomConsole.Web.Tree.Render(HtmlTextWriter writer) +13 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243 System.Web.UI.Page.ProcessRequestMain() +1926[/FONT]
  2. jperry784 New Member

    Sounds like it is having problems connecting to the database.

    Have you rebooted yet? If not, try that first.

    Few things to check... make sure your altiris service, sql services, and IIS service are all starting successfully on the server. Try restarting them to make sure they are not hung or see if they fail to restart. See if the console will open. If not, open up the http://localhost/Altiris/NS/Install/NSSetup.aspx on the server and see if reconfiguring the NS will get it running. You might want to check the NS documentation on the nssetup options. Check the log viewer to see what it says. Open up enterprise manager and drill down to the sql logs. Any errors?
  3. netIT New Member

    First , Thanks for yor reply!!!

    I restarted the server. Stopped and restarted the services and tried to
    open up the
    http://localhost/Altiris/NS/Install/NSSetup.aspx

    and got a new error.

    Server Error in '/Altiris/NS' Application.
    Runtime Error

    [FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.

    Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".

    <!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="RemoteOnly"/> </system.web></configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="On" defaultRedirect="mycustompage.htm"/> </system.web></configuration>[/FONT]
  4. jperry784 New Member

    On the NS, go Start>Programs>Altiris>Diagnostics>Log Viewer. Open that up and see what kind of Red errors are showing up. Specifically, what shows up at the time when you try to open the console. The errors in the logs are usually more descriptive than what shows up in IIS.

    Also, go to start>programs>microsoft sql server>enterprise manager. Open that up and drill down to the altiris database. Does it exist? Can you open it and drill down into the tables without errors? If you go to Management>Sql Server Agent>Logs. What is in the logs?

    Also check the Event Viewer for anything that might stand out.

    As a last resort, you can always do a repair on the Add-Remove Program for the Altiris Notificiation Server 6.0 entry along with any of the service packs that are installed.
  5. malebogia New Member

    Check your IIS Services, Check if ASP is right installed and if you see in Add/remove Program that ASP is not installed, it means you install the Wrong .NET 3.0 . You have to take 1.1 or 2.0 max version.

    Keep me in touch:coffee:
  6. netIT New Member

    These are some of the many errors I am getting this a.m. We have been in 2 domains migrating to 1. Our old domain was MCC and the new one is PASA. Yesterday the admin here started disabling the MCC accounts so I think these Server Error in '/Altiris/Console' Application.

    Configuration Error

    [FONT=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'Logon failure: account currently disabled. '

    Source Error:

    Line 39: The following line makes this site run under the NS service account credentials.Line 40: -->Line 41: <identity impersonate="true" userName="registry:HKLM\Software\Altiris\eXpress\Notification Server\AppIdentity,user"Line 42: password="registry:HKLM\Software\Altiris\eXpress\Notification Server\AppIdentity,pwd" />Line 43: <!-- AUTHORIZATION
    Source File: D:\Program Files\Altiris\CustomConsole\Web\web.config Line: 41



    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 [/FONT]errors are coming from that. I need instruction as to what adn where to look.

    Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
    Priority: 1
    Date: 5/31/2007 10:45:39 AM
    Tick Count: 71675296
    Host Name: PTCPASAALTNS01
    Process: aexsvc.exe (4668)
    Thread ID: 4760
    Module: AltirisNativeHelper.dll
    Source: Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch
    Description: ItemMessageDispatcherService::Dispatch ( Unhandled exception. Type=Altiris.NS.Exceptions.DatabaseNotReadyException Msg=Failed to construct DatabaseContext object. Connection to database failed. Src=Altiris.NS
    StackTrace=
    at Altiris.NS.ContextManagement.DatabaseContext..ctor(ContextIdentity identity, Boolean beginTransaction, IsolationLevel isolationLevel)
    at Altiris.NS.ContextManagement.DatabaseContext.GetContext(Boolean createNewTransaction, IsolationLevel isolationLevel, ContextIdentity identity, Boolean independentContext)
    at Altiris.NS.ContextManagement.DatabaseContext.GetContext()
    at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch(String message, Boolean useFilename)
    Inner exception. Type=Altiris.NS.Exceptions.AeXException Msg=Failed to open database connection. Current user is NT AUTHORITY\SYSTEM. Error: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. Src=Altiris.NS StackTrace= at Altiris.NS.Utilities.DbUtils.OpenConnection(SqlConnection dbConn)
    at Altiris.NS.Utilities.DbUtils.CreateConnection(String configKey)
    at Altiris.NS.Utilities.DbUtils.CreateConnection()
    at Altiris.NS.ContextManagement.DatabaseContext..ctor(ContextIdentity identity, Boolean beginTransaction, IsolationLevel isolationLevel)

    Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
    Priority: 1
    Date: 5/31/2007 6:10:01 AM
    Tick Count: 55014718
    Host Name: PTCPASAALTNS01
    Process: aexsvc.exe (320)
    Thread ID: 5624
    Module: AltirisNativeHelper.dll
    Source: Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.MapHttpVirtualDirectory
    Description: Unable to map the HTTP virtual directory "attend~1.msi ". Reason: Could not logon as user "MCC\altiriscmsadmin". Current user is "PASA\altiriscmsadmin". Token=0, LastError=1331 (Logon failure: account currently disabled).

    Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
    Priority: 1
    Date: 5/31/2007 6:10:01 AM
    Tick Count: 55014140
    Host Name: PTCPASAALTNS01
    Process: aexsvc.exe (320)
    Thread ID: 5624
    Module: AltirisNativeHelper.dll
    Source: Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.MapHttpVirtualDirectory
    Description: Unable to map the HTTP virtual directory "project 2002 V10 remove". Reason: Could not logon as user "MCC\altiriscmsadmin". Current user is "PASA\altiriscmsadmin". Token=0, LastError=1331 (Logon failure: account currently disabled).
    :banghead: :banghead: :banghead: :banghead: :banghead:
  7. manofsteel New Member

    It appears to be a problem with the "application identity account"

    If you have changed the password on this account or switched domains, it will need to be changed accordingly. Let us know which one it is and we can help you from there.

    Neil
  8. netIT New Member

    Domain change

    The Log Viewer Red Errors are not flooding now but I am still getting ones like these.
    Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
    Priority: 1
    Date: 5/31/2007 11:42:33 AM
    Tick Count: 75088890
    Host Name: PTCPASAALTNS01
    Process: AeXNSAgent.exe (172)
    Thread ID: 4780
    Module: AeXNSAgent.exe
    Source: ConfigServer
    Description: RequestPolicies failed: HTTP Request Failed: The operation completed successfully. (-2147352567)

    Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
    Priority: 1
    Date: 5/31/2007 11:50:06 AM
    Tick Count: 75541765
    Host Name: PTCPASAALTNS01
    Process: aexsvc.exe (5080)
    Thread ID: 3664
    Module: AltirisNativeHelper.dll
    Source: Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.MapHttpVirtualDirectory
    Description: Unable to map the HTTP virtual directory "visio PRO 2003 remove". Reason: Could not logon as user "MCC\altiriscmsadmin". Current user is "PASA\altiriscmsadmin". Token=0, LastError=1331 (Logon failure: account currently disabled).

    Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
    Priority: 1
    Date: 5/31/2007 11:50:05 AM
    Tick Count: 75541203
    Host Name: PTCPASAALTNS01
    Process: aexsvc.exe (5080)
    Thread ID: 3664
    Module: AltirisNativeHelper.dll
    Source: Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.MapHttpVirtualDirectory
    Description: Unable to map the HTTP virtual directory "visio PRO 2000 ADMIN remove". Reason: Could not logon as user "MCC\altiriscmsadmin". Current user is "PASA\altiriscmsadmin". Token=0, LastError=1331 (Logon failure: account currently disabled).

    Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
    Priority: 1
    Date: 5/31/2007 11:50:04 AM
    Tick Count: 75540406
    Host Name: PTCPASAALTNS01
    Process: aexsvc.exe (5080)
    Thread ID: 3664
    Module: AltirisNativeHelper.dll
    Source: Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.MapHttpVirtualDirectory
    Description: Unable to map the HTTP virtual directory "project 2000 V9 remove". Reason: Could not logon as user "MCC\altiriscmsadmin". Current user is "PASA\altiriscmsadmin". Token=0, LastError=1331 (Logon failure: account currently
  9. manofsteel New Member

    Did your domain change recently?

    Check the services that are running altiris, which account are they logging in as?

    Neil
  10. jperry784 New Member

    from the log, it looks like your service account is disabled... so I am suprised you can restart your altiris services successfully. Is the account in the logs the one that is running the services? check the ad status of that account to see if it is enabled or not.
  11. Kheintz New Member

    Hello,
    I am getting the same issues.

    It is right after a password change.

    I have changed the password in all the services runas info.

    NS was working yesterday after the change, but for some reason it is not working today after the change..

    any assistance would be awesome!

    Thanks
    ken
  12. Kheintz New Member

    Problem Solved.

    Re-installed NS and put in new password info.
    Re-installed SP3

    Working great now.

    Probably was a quicker way to do this, but this one is working =)
    :fencing:
  13. artizhino New Member

    Malebogia is right. I had the same issue a while back and that fixed it for me.

Share This Page