Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

The following error occurred on the page 'dlgPicker2.aspx': Unable to create an instance of the specified type.

Updated: 21 May 2010 | 2 comments
alpe's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

I have just reinstalled NS6 on new hardware and connected to my old NS-datebase. Whenever I need to pick computers in eg. carbon copy and modyfying collections I get an Altiris Notification Server error:

The following error occurred on the page 'dlgPicker2.aspx': Unable to create an instance of the specified type.

From Altiris NS Log viewer:

Date   Text Source Module Process TID Memory
Jan 14 12:28:05 E Unhandled exception. Type=Altiris.NS.Exceptions.AeXException Msg=Unable to create an instance of the specified type StackTrace= at Altiris.NS.StandardItems.Query.CustomLoader.CreateInstanceFromXml(XmlNode node) at Altiris.NS.StandardItems.Query.Parameter.XmlFactory(XmlNode xmlNode) at Altiris.NS.StandardItems.Query.ReportQueryArray.FromXml(XmlNode node) at Altiris.NS.StandardItems.Query.Report.OnFromXml(XmlNode node) at Altiris.NS.ItemManagement.Item.Load(Guid itemGuid) at Altiris.NS.ItemManagement.Item.GetItem(Guid itemGuid) at Altiris.Web.NS.Admin.Collections.dlgPicker2.SetReportSelectorDataSource() at Altiris.Web.NS.Admin.Collections.dlgPicker2.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() Inner exception. Type=System.IO.FileNotFoundException Msg=? global.asax AltirisNativeHelper.dll w3wp.exe (3908) 3216  
Jan 14 12:28:05 E An unexpected exception has occured (Type: Altiris.AssetContractCommon.Controls.ResourcePickerParameter, Exception: System.IO.FileNotFoundException: ? Filnavn: "Altiris.AssetContractCommon" 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.Reflection.Assembly.Load(String assemblyString) at Altiris.NS.StandardItems.Query.CustomLoader.CreateInstanceFromXml(XmlNode node) === Pre-bind state information === LOG: DisplayName = Altiris.AssetContractCommon, Version=6.5.1126.0, Culture=neutral, PublicKeyToken=d516cb311cfb6e4f (Fully-specified) LOG: Appbase = file:///E:/AeXNS/Notification Server LOG: Initial PrivatePath = bin Calling assembly : Altiris.NS.StandardItems, Version=6.0.6074.120, 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.AssetContractCommon, Version=6.5.1126.0, Culture=neutral, PublicKeyToken=d516cb311cfb6e4f LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.43... ASP.NET Files/altiris_ns/40f5330c/1417e93e/Altiris.AssetContractCommon.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.43... ASP.NET Files/altiris_ns/40f5330c/1417e93e/Altiris.AssetContractCommon/Altiris.AssetContractCommon.DLL. LOG: Attempting download of new URL file:///E:/AeXNS/Notification Server/bin/Altiris.AssetContractCommon.DLL. LOG: Attempting download of new URL file:///E:/AeXNS/Notification Server/bin/Altiris.AssetContractCommon/Altiris.AssetContractCommon.DLL. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.43... ASP.NET Files/altiris_ns/40f5330c/1417e93e/Altiris.AssetContractCommon.EXE. LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.43... ASP.NET Files/altiris_ns/40f5330c/1417e93e/Altiris.AssetContractCommon/Altiris.AssetContractCommon.EXE. LOG: Attempting download of new URL file:///E:/AeXNS/Notification Server/bin/Altiris.AssetContractCommon.EXE. LOG: Attempting download of new URL file:///E:/AeXNS/Notification Server/bin/Altiris.AssetContractCommon/Altiris.AssetContractCommon.EXE. ) CustomLoader::CreateInstanceFromXml AltirisNativeHelper.dll w3wp.exe (3908) 3216  

Can anybody help me?

Comments

jharings's picture
14
Jan
2010
0 Votes 0
Login to vote

It appears you haven't reinstalled all the previous

solutions - the errors all revolve around the .net Assembly  "Altiris.AssetContractCommon" missing or being corrupted. Did you reinstall Asset when you rebuilt your system?

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.

alpe's picture
15
Jan
2010
0 Votes 0
Login to vote

Hi Jim I just did and it

Hi Jim

I just did and it worked. Thank you!

Allan