Error 'File or assembly name Altiris.DeploymentSolution, or one of its dependencies, was not found'

book

Article ID: 179456

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

 

Resolution

Problem

Deployment Solution was installed via remote desktop session. When problems with the Notification Server occurred after that, the Notification Server and Hotfixes 19 and 20 were repaired using via remote desktop session.

Server Error in '/Altiris/Resource' Application.
File or assembly name Altiris.DeploymentSolution, or one of its dependencies, was not found.

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: File or assembly name Altiris.DeploymentSolution, or one of its dependencies, was not found.

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.DeploymentSolution' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Altiris.DeploymentSolution, Version=6.0.0.0, Culture=neutral, PublicKeyToken=d516cb311cfb6e4f
 (Fully-specified)
LOG: Appbase =
file:///D:/Altiris/Resource
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Altiris.DeploymentSolution, Version=6.0.0.0, Culture=neutral, PublicKeyToken=d516cb311cfb6e4f
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/altiris_resource/8a44cdde/648ff6d3/Altiris.DeploymentSolution.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/altiris_resource/8a44cdde/648ff6d3/Altiris.DeploymentSolution/Altiris.DeploymentSolution.DLL.
LOG: Attempting download of new URL
file:///D:/Altiris/Resource/bin/Altiris.DeploymentSolution.DLL.
LOG: Attempting download of new URL
file:///D:/Altiris/Resource/bin/Altiris.DeploymentSolution/Altiris.DeploymentSolution.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/altiris_resource/8a44cdde/648ff6d3/Altiris.DeploymentSolution.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/altiris_resource/8a44cdde/648ff6d3/Altiris.DeploymentSolution/Altiris.DeploymentSolution.EXE.
LOG: Attempting download of new URL
file:///D:/Altiris/Resource/bin/Altiris.DeploymentSolution.EXE.
LOG: Attempting download of new URL
file:///D:/Altiris/Resource/bin/Altiris.DeploymentSolution/Altiris.DeploymentSolution.EXE.
 
Stack Trace

[FileNotFoundException: File or assembly name Altiris.DeploymentSolution, or one of its dependencies, was not found.]
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark) +68
   System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark) +35
   System.Activator.CreateInstance(String assemblyName, String typeName) +35
   Altiris.NS.ClassActivator.CreateInstance(String assembly, String type)

[AeXException: An unexpected exception has occured during CreateInstance. (Assembely:Altiris.DeploymentSolution, Version=6.0.0.0, Culture=neutral, PublicKeyToken=d516cb311cfb6e4f Type:Altiris.DeploymentSolution.AeXDSImportHandler)]
   Altiris.NS.ClassActivator.CreateInstance(String assembly, String type)
   Altiris.NS.ItemManagement.Item.CreateInstance(String strClassAssembly, String strClassType, Guid itemGuid)
   Altiris.NS.ItemManagement.Item.CreateInstance(String strClassAssembly, String strClassType)
   Altiris.NS.ItemManagement.Item.GetItem(Guid itemGuid)
   Altiris.NS.ItemManagement.Item.GetItems(GuidCollection itemGuids)

Altiris.Resource.Web.Manager.EditCreateResource.createControlsForDataClasses()
   Altiris.Resource.Web.Manager.EditCreateResource.CreateChildControls()
   System.Web.UI.Control.EnsureChildControls() +100
   System.Web.UI.Control.PreRenderRecursiveInternal() +38
   System.Web.UI.Page.ProcessRequestMain() +1499

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

Environment

Notification Server 6.0. Hotfixes 19 and 20
Deployment Solution 6.1 SP2a

Cause

It is possible that the Remote Desktop installation of Deployment Solution caused the problem.

Resolution

Follow the steps from article KB4240 "What are the steps to manually uninstall the Deployment Solution (NS View)?".