Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Server Error in '/Altiris/Connector' Application.

Updated: 21 May 2010 | 6 comments
pmakaveev's picture
0 0 Votes
Login to vote

Hello,



I am trying to create a new resources import export rule under Configuration-> Solution Settings-> Connectors-> Import/Export Rules. However, immediately after I click "New-> Resources import export rule" I received the error listed below and in the attachment.

It seems that it is somehow related to the Task Management solution. We do not use the Task management solution at all, so I have uninstalled all its components. However, it seems that the .NET Framework 1.1 still refers to it for some reason.

My question is: what of the following should be my next course of action:

- shall I reboot the server

- or uninstall / reinstall the Connector Solution

- or there is a nice way to reset the NET Framework 1.1 in such a way so it will not refer to the missing nad unused Task management any more?



Thank you very much!



Here is the error:

=============================================================

Server Error in '/Altiris/Connector' Application.

--------------------------------------------------------------------------------



?

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.IO.FileNotFoundException: ?



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.



Assembly Load Trace: The following information can be helpful to determine why the assembly 'Altiris.TaskManagement' could not be loaded.





=== Pre-bind state information ===

LOG: DisplayName = Altiris.TaskManagement, Version=6.0.1354.0, Culture=neutral, PublicKeyToken=99b1e4cc0d03f223

(Fully-specified)

LOG: Appbase = file:///E:/Altiris/Connector/Web

LOG: Initial PrivatePath = bin

Calling assembly : Altiris.NS.Connector, Version=6.5.1156.0, Culture=neutral, PublicKeyToken=d516cb311cfb6e4f.

===



LOG: Publisher policy file is not found.

LOG: Host configuration file not found.

LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.

LOG: Post-policy reference: Altiris.TaskManagement, Version=6.0.1354.0, Culture=neutral, PublicKeyToken=99b1e4cc0d03f223

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.43... ASP.NET Files/altiris_connector/0abecab4/dadc1afe/Altiris.TaskManagement.DLL.

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.43... ASP.NET Files/altiris_connector/0abecab4/dadc1afe/Altiris.TaskManagement/Altiris.TaskManagement.DLL.

LOG: Attempting download of new URL file:///E:/Altiris/Connector/Web/bin/Altiris.TaskM....

LOG: Attempting download of new URL file:///E:/Altiris/Connector/Web/bin/Altiris.TaskM....

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.43... ASP.NET Files/altiris_connector/0abecab4/dadc1afe/Altiris.TaskManagement.EXE.

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.43... ASP.NET Files/altiris_connector/0abecab4/dadc1afe/Altiris.TaskManagement/Altiris.TaskManagement.EXE.

LOG: Attempting download of new URL file:///E:/Altiris/Connector/Web/bin/Altiris.TaskM....

LOG: Attempting download of new URL file:///E:/Altiris/Connector/Web/bin/Altiris.TaskM....







Stack Trace:





[FileNotFoundException: ?]

Altiris.NS.Connector.Controls.ItemTaskStatusCtrl.RefreshStatusMessage() +0

Altiris.NS.Connector.Controls.ItemTaskStatusCtrl.ApplyNewSettings() +5

Altiris.NS.Connector.Web.ImportExportRule.Page_Load(Object sender, EventArgs e) +602

System.Web.UI.Control.OnLoad(EventArgs e) +55

System.Web.UI.Control.LoadRecursive() +27

System.Web.UI.Page.ProcessRequestMain() +750









--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

===================================================================

Comments

jharings's picture
03
Mar
2009
0 Votes 0
Login to vote

Hello Peter,

Task Server is more a less a core component at this stage, even if you don't use it. So removing it is certainly what caused the problem. I would be easiest to just reinstall Task Server. Rebooting would not help, as the application sees a missing .net assembly. Typically, repairing a corrupt solution fixes this, but in more extreme cases, the assemblies have to be imported.



Hope that helps,



Jim

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.

pmakaveev's picture
04
Mar
2009
0 Votes 0
Login to vote

Hi Jim,



Good to know.





Do I need to install both:

- the Task server

- and the Task Management pack

or just the Task server?



Is there a right order of installing these two?



Thanks,

Peter

jharings's picture
04
Mar
2009
0 Votes 0
Login to vote

The Task Managment pack is only useful if you ARE using Task Server, as it contains some built in tasks for Patch, Inventory, Software Delivery, etc. Just run the Task Server install from solutionsam, that should solve your problem.

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.

pmakaveev's picture
05
Mar
2009
0 Votes 0
Login to vote

I installed the Task Server solution and it helped. Thanks!

pmakaveev's picture
12
Mar
2009
0 Votes 0
Login to vote

Now my connector rules work OK, but I started getting again the following error messages in the NS log 10 times every two minutes, which reminded me why I uninstalled the Task Management solution in the first place.

Is there an elegant way to resolve this and keep my connector solution working at the same time?

===========

Process: AtrsHost.exe (13948)

Thread ID: 11948

Module: AltirisNativeHelper.dll

Source: Altiris.TaskManagement.ServerTasks.ServerTaskManager.GetNextServerTaskToWake

Description: Unexpected exception while getting next task to run: System.Data.SqlClient.SqlException: Could not find stored procedure 'tmGetNextTaskToRun'.

at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)

at System.Data.SqlClient.SqlCommand.ExecuteReader()

at Altiris.TaskManagement.ServerTasks.ServerTaskManager.GetNextServerTaskToWake(ExecutionStatus& status)

=========



I also receive every two minutes the following 4 warning messages:

==========

Process: AtrsHost.exe (13948)

Thread ID: 15784

Module: AltirisNativeHelper.dll

Source: Altiris.ClientTask.*

Description: Credential check for "PROFAC\saaltiris1" failed: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

at System.Net.HttpWebRequest.CheckFinalStatus()

at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

at System.Net.HttpWebRequest.GetResponse()

at Altiris.ClientTask.Server.AltirisAgentSettings.CheckCredentials(NetworkCredential credentials, String authenticateWebBaseUrl)

...

Module: AltirisNativeHelper.dll

Source: Altiris.ClientTask.*

Description: Credential check for "saaltiris1" failed: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

at System.Net.HttpWebRequest.CheckFinalStatus()

at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

at System.Net.HttpWebRequest.GetResponse()

at Altiris.ClientTask.Server.AltirisAgentSettings.CheckCredentials(NetworkCredential credentials, String authenticateWebBaseUrl)

.......

Process: AtrsHost.exe (13948)

Thread ID: 15784

Module: AltirisNativeHelper.dll

Source: Altiris.ClientTask.*

Description: Unable to find valid credentials - credentials in Agent registry were invalid

...

Process: AtrsHost.exe (13948)

Thread ID: 15784

Module: AltirisNativeHelper.dll

Source: Altiris.ClientTask.*

Description: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

at System.Net.HttpWebRequest.CheckFinalStatus()

at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

at System.Net.HttpWebRequest.GetResponse()

at Altiris.ClientTask.Server.ClientTaskServer.RegisterTaskServerThroughWeb(Guid serverGuid, Guid serverSecret)

at Altiris.ClientTask.Server.ClientTaskServer.InitialRegisterTaskServer(Guid serverGuid, Guid serverSecret)

================



I am not sure where I should put htese credentials that are failing?

pmakaveev's picture
12
Mar
2009
0 Votes 0
Login to vote

After I posted the error, I was able to find AKB # 38168 and implemented it.

First, I checked that all stored procedures related to the Task Management were in the database. So, repair was not required.



1.I ran the TaskManagement config file manually. It resolved the errors in the NS logs. However, the warnings were still there.

(D:\Program Files\Altiris\Notification Server\bin>aexconfig /configure "D:\Program Files\Altiris\TaskManagement\Config\TaskManagement.config)



2. I ran the ClientTask config file. It removed the warning messages.

(D:\Program Files\Altiris\Notification Server\bin>aexconfig /configure "D:\Program Files\Altiris\Client Task Management\Config\ClientTask.config")

3. Re-run step 1.