Web Console Error NS7
Hi All,
Not aware of any environment changes, but I went to jump into my Altiris console this morning and was able to get into the Help section, and a few other places (Seems anywhere that doesn't have to query the DB) and I get the Console error message pop up after awhile.
Checked the Altiris Log Viewer and this is what I can see...
Below is what is the desription for each..
Log File Name: D:\Program Files\Altiris\Altiris Agent\Logs\Agent.log
Priority: 2
Date: 11/11/2009 3:54:29 PM
Tick Count: -1416853296
Host Name: AUSYDMGT07
Process: aexnsagent.exe (1116)
Thread ID: 1140
Module: AeXNetComms.dll
Source: CoNetworkTransport(257)
Description: HTTP error: (-2147209951)
Log File Name: D:\Program Files\Altiris\Altiris Agent\Logs\Agent.log
Priority: 2
Date: 11/11/2009 3:54:29 PM
Tick Count: -1416853311
Host Name: AUSYDMGT07
Process: aexnsagent.exe (1116)
Thread ID: 1140
Module: AeXNetComms.dll
Source: AeXNetworkTransport
Description: Post to 'http://ausydmgt07/Altiris/NS/Agent/GetClientPolicies.aspx' failed: HTTP error: (-2147209951)
Log File Name: D:\Program Files\Altiris\Altiris Agent\Logs\Agent.log
Priority: 1
Date: 11/11/2009 3:54:29 PM
Tick Count: -1416853327
Host Name: AUSYDMGT07
Process: aexnsagent.exe (1116)
Thread ID: 1140
Module: AeXNetComms.dll
Source: HttpReceiver
Description: Malformed HTTP response
Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
Priority: 1
Date: 11/11/2009 3:52:13 PM
Tick Count: -1416989186
Host Name: AUSYDMGT07
Process: w3wp (104668)
Thread ID: 107
Module: w3wp.exe
Source: global.asax
Description: Unhandled exception. Type=System.Web.HttpException Msg=Request timed out.
StackTrace=
Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
Priority: 1
Date: 11/11/2009 3:52:13 PM
Tick Count: -1416989186
Host Name: AUSYDMGT07
Process: w3wp (104668)
Thread ID: 107
Module: w3wp.exe
Source: Altiris.NS.ContextManagement.AdminDatabaseContext.LogError
Description: Automatic rollback during expose threw unexpected exception. Exception: System.InvalidOperationException: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.
at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)
at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)
at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Altiris.Database.DatabaseContext`1.Rollback()
at Altiris.Database.DatabaseContext`1.Dispose(Boolean disposing)
Log File Name: D:\Program Files\Altiris\Notification Server\Logs\a.log
Priority: 2
Date: 11/11/2009 3:52:13 PM
Tick Count: -1416989186
Host Name: AUSYDMGT07
Process: w3wp (104668)
Thread ID: 107
Module: w3wp.exe
Source: Altiris.NS.ContextManagement.AdminDatabaseContext.LogWarning
Description: Transaction being rolled back automatically during dispose. To disable this warning rollback your transaction explicitly! Dispose location: at Altiris.Database.DatabaseContext`1.Dispose(Boolean disposing)
at Altiris.Database.DatabaseContext`1.Dispose()
at Altiris.NS.ContextManagement.DatabaseContext.Dispose(Boolean disposing)
at Altiris.NS.ContextManagement.DatabaseContext.Dispose()
at Altiris.NS.Tree.QueryItemTreeBuilder.RetrieveTreeFragmentRecursive(TreeFragment tree, IList`1 nodes, Int32 depth, IDictionary`2 overridesUsed)
at Altiris.NS.Tree.TreeBuilder.RetrieveFragment(IList`1 nodes, Int32 depth)
at Altiris.NS.Tree.TreeBuilder.RetrieveFragment(Int32 depth)
at Altiris.Console.WebControls.UITreeUtils.GetTreeAsXml(Guid treeGuid, String startGuid, Hashtable urlArgs)
at Altiris.Console.WebControls.UITreeUtils.AddTreeNodes(Guid treeGuid, String startGuid, Boolean demandLoad, Boolean expandRootNodes, Hashtable urlArgs)
at Altiris.Console.WebControls.UITreeUtils.AddTreeNodes(Guid treeGuid, String startGuid, Boolean demandLoad, Boolean expandRootNodes)
at Altiris.Console.WebControls.UITreeUtils.AddTreeNodes(Guid treeGuid, String startGuid, Boolean demandLoad)
at Altiris.Console.WebControls.UITreeUtils.AddTreeNodes(Guid treeGuid, String startGuid)
at Altiris.CustomConsole.Web.Tree.PopulateTrees()
at Altiris.CustomConsole.Web.Tree.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.tree_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.ResumeStepsFromThreadPoolThread(Exception error)
at System.Web.HttpApplication.AsyncEventExecutionStep.ResumeStepsWithAssert(Exception error)
at System.Web.HttpApplication.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar)
at System.Web.HttpAsyncResult.Complete(Boolean synchronous, Object result, Exception error, RequestNotificationStatus status)
at System.Web.SessionState.SessionStateModule.PollLockedSessionCallback(Object state)
at System.Threading._TimerCallback.TimerCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._TimerCallback.PerformTimerCallback(Object state)
Comments
A few unrelated errors in the list, but thanks for posting
the logs! The malformed http messages are from the clients, and appear to be proxy related - See Altiris KB45715. I will say that I have performed this fix on various site servers and the Notification Server, and I still see it from time to time.
As for the console problem, I would focus on this - ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.
I suspect your window may have been open too long, and the SQL timeout (600 seconds) was reached, or some other communication break between the application and the database occurred. Sorry to not be more specific, not sure what you were doing at the time (running a report, etc).
Jim Harings
HP Enterprise Services
1st Rule of Connect Club: Mark the post that helped you the most as a 'solution'. 2nd Rule of Connect Club:You must talk about Connect club.
I'm not sure what the issue
I'm not sure what the issue was in the end, rebooted the server a couple of times and it started working again..unfortunately.
Would you like to reply?
Login or Register to post your comment.