System.IO.FileNotFoundException: File or assembly name Altiris.DellOMCA, or one of its dependencies, was not found

Article:TECH17194  |  Created: 2006-08-25  |  Updated: 2007-04-12  |  Article URL http://www.symantec.com/docs/TECH17194
Article Type
Technical Solution


Issue



After uninstalling Dell OMCA from the Notification Server, Altiris Agents are no longer able to receive client policy files. Logs from the Notification Server show the following:

Unable to get the client policies for specified resource (Resource: {784c876e-8c2b-48e5-94f8-eb2b5aff8d4b}, Exception: Altiris.NS.Exceptions.AeXException: An unexpected exception has occured during CreateInstance. (Assembely:Altiris.DellOMCA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=86dd5c298e8c8134 Type:Altiris.DellOMCA.OmcaLoadAgentPolicy) ---> System.IO.FileNotFoundException: File or assembly name Altiris.DellOMCA, or one of its dependencies, was not found.
File name: "Altiris.DellOMCA"
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark)
   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)

=== Pre-bind state information ===
LOG: DisplayName = Altiris.DellOMCA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=86dd5c298e8c8134
(Fully-specified)
LOG: Appbase = d:\altiris\notification server\binLOG: Initial PrivatePath = NULL
Calling assembly : Altiris.NS, Version=6.0.6074.4, 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.DellOMCA, Version=1.0.0.0, Culture=neutral, PublicKeyToken=86dd5c298e8c8134
LOG: Attempting download of new URL file:///d:/altiris/notification server/bin/Altiris.DellOMCA.DLL.
LOG: Attempting download of new URL file:///d:/altiris/notification server/bin/Altiris.DellOMCA/Altiris.DellOMCA.DLL.
LOG: Attempting download of new URL file:///d:/altiris/notification server/bin/Altiris.DellOMCA.EXE.
LOG: Attempting download of new URL file:///d:/altiris/notification server/bin/Altiris.DellOMCA/Altiris.DellOMCA.EXE.

   --- End of inner exception stack trace ---
   at Altiris.NS.ClassActivator.CreateInstance(String assembly, String type)
   at Altiris.NS.ItemManagement.Item.CreateInstance(String strClassAssembly, String strClassType, Guid itemGuid)
   at Altiris.NS.ItemManagement.Item.CreateInstance(String strClassAssembly, String strClassType)
   at Altiris.NS.ItemManagement.Item.GetItem(Guid itemGuid)
   at Altiris.NS.ItemManagement.Item.GetItems(GuidCollection itemGuids)
   at Altiris.NS.ClientConfigManagement.ClientConfigManager.GetClientConfigXml(GuidCollection itemGuids, Hashtable itemConfigXml, Guid resourceGuid, String requestXml, String extraKey)
   at Altiris.NS.ClientConfigManagement.ClientConfigManager.GetClientConfigImpl(String requestXml))


Environment



Notification Server 6.0.6074 (SP3)
Dell OMCA 6.0.1191

Cause



The uninstall of Dell OMCA did not completely remove all related items from the database.

Solution



Reinstall Dell OMCA.


Legacy ID



26180


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


Terms of use for this information are found in Legal Notices