Video Screencast Help

Problem creating custom view for asset CI entry: Server Error in '/Altiris/AssetContractCommon' Application

Created: 28 Aug 2012 | 1 comment

Every time I try to create a new view in the create Ci window I get the following errror:

 

Server Error in '/Altiris/AssetContractCommon' Application.

Could not load file or assembly 'Altiris.Deployment.Common, Version=7.1.0.0, Culture=neutral, PublicKeyToken=d3604070d7fd3e08' or one of its dependencies. The system cannot find the file specified.

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: Could not load file or assembly 'Altiris.Deployment.Common, Version=7.1.0.0, Culture=neutral, PublicKeyToken=d3604070d7fd3e08' or one of its dependencies. The system cannot find the file specified.

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.Deployment.Common, Version=7.1.0.0, Culture=neutral, PublicKeyToken=d3604070d7fd3e08' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace:

[FileNotFoundException: Could not load file or assembly 'Altiris.Deployment.Common, Version=7.1.0.0, Culture=neutral, PublicKeyToken=d3604070d7fd3e08' or one of its dependencies. The system cannot find the file specified.]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
   System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark) +50
   System.Activator.CreateInstance(String assemblyName, String typeName) +89
   Altiris.NS.ClassActivator.CreateInstance(String assembly, String type, Object[] parameters) +108

[AeXException: An unexpected exception has occured during CreateInstance. (Assembely:Altiris.Deployment.Common, Version=7.1.0.0, Culture=neutral, PublicKeyToken=d3604070d7fd3e08 Type:Altiris.Deployment.Common.DataClass.ILODataClass)]
   Altiris.NS.ClassActivator.CreateInstance(String assembly, String type, Object[] parameters) +604
   Altiris.NS.ItemManagement.Item.CreateInstance(String strClassAssembly, String strClassType, Object[] parameters, Guid itemGuid) +607
   Altiris.NS.ItemManagement.Item.GetItemInternal(Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags) +791
   Altiris.NS.ItemManagement.Item.GetItem(Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags) +61
   Altiris.NS.ItemManagement.Item.GetItems(IEnumerable`1 itemGuids, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags) +333
   Altiris.NS.ItemManagement.Item.GetItems(IEnumerable`1 itemGuids, ItemLoadFlags itemLoadFlags) +67
   Altiris.AssetContractCommon.DataProviders.ResourceTypeDataClassesGridProvider.GetGridData(String selectedItemString) +363
   Altiris.AssetContractCommon.Web.Manager.ModifyEditFilters.LoadGridsData() +102
   Altiris.AssetContractCommon.Web.Manager.ModifyEditFilters.newFilterName_ValueChanged(Object sender, EventArgs e) +952
   System.Web.UI.WebControls.HiddenField.OnValueChanged(EventArgs e) +115
   System.Web.UI.Page.RaiseChangedEvents() +89
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2777

Version Information: Microsoft .NET Framework Version:2.0.50727.5446; ASP.NET Version:2.0.50727.5456

Comments 1 CommentJump to latest comment

luke.s's picture

Hi JAunmc,

Could you please try reconfigure Asset config files (%Program Files%\Altiris\AssetControl\Config)?

Run the cmd.exe with Administrative Rights and execute the aexconfig.exe \configure AssetControl.config and ContractManagement.config.

Aexconfig path: \Program Files\Altiris\Notification Server\Bin

Regards,

If the suggestion has helped to solve your problem, please mark the post as a solution.

Fábio Sanches
IT Technical Manager | WTR Services | www.wtrservices.com.br