Error occured while building Search Panel. Could not load file or assembly Altiris.VMM

Article:TECH164720  |  Created: 2011-07-15  |  Updated: 2011-08-09  |  Article URL http://www.symantec.com/docs/TECH164720
Article Type
Technical Solution


Environment

Issue



Error occured while building Search Panel. Could not load file or assembly Altiris.VMM.


Error



"Error occured while building Search Panel.

( Exception Details: Altiris.NS.Exceptions.AeXException: An unexpected exception has occured during CreateInstance. (Assembely:Altiris.VMM, Version=7.0.0.0, Culture=neutral,

PublicKeyToken=1f26f357b0f0d857 Type:Altiris.VMM.Tasks.Inventory.InventoryTask) ---> System.IO.FileNotFoundException: Could not load file or assembly 'Altiris.VMM, Version=7.0.0.0,

Culture=neutral, PublicKeyToken=1f26f357b0f0d857' or one of its dependencies. The system cannot find the file specified.
File name: 'Altiris.VMM, Version=7.0.0.0, Culture=neutral, PublicKeyToken=1f26f357b0f0d857'
   at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean

throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[]

activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(String assemblyName, String typeName)
   at Altiris.NS.ClassActivator.CreateInstance(String assembly, String type, Object[] parameters)

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].

   --- End of inner exception stack trace ---
   at Altiris.NS.ClassActivator.CreateInstance(String assembly, String type, Object[] parameters)
   at Altiris.NS.ItemManagement.Item.CreateInstance(String strClassAssembly, String strClassType, Object[] parameters, Guid itemGuid)
   at Altiris.NS.ItemManagement.Item.GetItemInternal(Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags)
   at Altiris.NS.ItemManagement.Item.GetItem[T](Guid itemGuid, IEnumerable`1 accessPermissions, ItemLoadFlags itemLoadFlags)
   at Altiris.NS.ItemManagement.Item.GetItem[T](Guid itemGuid)
   at Altiris.NS.ItemManagement.Item.GetItem(Guid itemGuid)
   at Altiris.Console.WebControls.SearchPanelHelper.DisplaySections(StringBuilder sbTable, String section, List`1 listResult)
   at Altiris.Console.WebControls.SearchPanelHelper.GetDisplayResults(String searchTerm)
   at Altiris.Console.WebControls.SearchPanelHelper.GetSearchResultHtml(String search, String locale) )
( Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.Console.WebControls.SearchPanelHelper.GetSearchResultHtml(String search, String locale)
   at Altiris.CustomConsole.Web.ItemServices.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   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.ProcessRequest(HttpContext context)
   at ASP.itemservices_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.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
   at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
   at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
   at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
 )
( Extra Details:  Type=Altiris.NS.Exceptions.AeXException Src=Altiris.NS

  Inner Extra Details:  Type=System.IO.FileNotFoundException Src=mscorlib )","Altiris.Console.WebControls.SearchPanelHelper.GetSearchResultHtml","w3wp","4"


Environment



SMP 7.1.6851.0

Virtual Machine Management 7.1 Sp1


Cause



KNOWN  ISSUE


Solution



Symantec Engineering is investigating the issue further.

The following work around can be used to resolve the issue:

1. Make a full backup of the Symantec_CMDB database.

2. Run the following SQL Query against the Symantec_CMDB database via SQL Management Studio:

USE Symantec_CMDB;

GO

DECLARE @GUID uniqueidentifier

DECLARE vmm_cursor CURSOR FOR

SELECT vi.Guid FROM vItem vi

    WHERE vi.ClassGuid IN (

        select ClassGuid from ClassBaseClass where BaseClassGuid = 'cf351c1a-1a2c-4f12-9a9b-26711248a763'

    );

 

OPEN vmm_cursor;

 

-- Perform the first fetch.

FETCH NEXT FROM vmm_cursor

INTO @GUID;

-- Check @@FETCH_STATUS to see if there are any more rows to fetch.

WHILE @@FETCH_STATUS = 0

BEGIN

delete from _HitGuidsUsage where guid like @GUID

delete from Item where Guid like @GUID

delete from Item where SecurityGuid like @GUID

delete from ItemClass where Guid like @GUID

delete from ItemFolder where ItemGuid like @GUID

delete from ItemImportMethod where Guid like @GUID

delete from ItemNSSource where ItemGuid like @GUID

delete from ItemPresentation where BaseGuid like @GUID

delete from ItemPresentation where Guid like @GUID

delete from ItemReference where ChildItemGuid like @GUID

delete from ItemReference where ParentItemGuid like @GUID

delete from ItemVersions where ItemGuid like @GUID

delete from NSInternal_ItemInstalled where Guid like @GUID

delete from SecurityACEData where EntityGuid like @GUID

delete from SecurityEntity where Guid like @GUID

delete from String where BaseGuid like @GUID

delete from Inv_Task_Summary_By_Task where TaskItemGuid like @GUID

   -- This is executed as long as the previous fetch succeeds.

   FETCH NEXT FROM vmm_cursor

   INTO @GUID;

END

 

CLOSE vmm_cursor;

DEALLOCATE vmm_cursor;

GO

 

3. Test the Quick Search in the Management Console.


Supplemental Materials

SourceETrack
Value2437229


Article URL http://www.symantec.com/docs/TECH164720


Terms of use for this information are found in Legal Notices