Customer reported that Data Connector Import rule errors out when clicking the "Refresh Data Source" button when source column for the data class has a
different name than its own column name.
Steps:
1. Create a “New CSV File Data Source” under Settings>All Settings>Notification Server>Connector>Data Sources
2. Create a dummy CSV file with the following info for example:
Employee Account
nefi.garrido
doug.butler
fred.123
3. Use this CSV file for the Data Source
4. Create a “New Resource Import Export Rule” ” under Settings>All Settings>Notification Server>Connector>Import/Export Rules
5. Select the previously created Data Source. In this case we are using “User” as the Resource Type against the “Resource lookup key: Employee ID” and “Data
Class mappings for Employee ID”
6. Click on “Refresh Data Source” and the following message will be displayed: Symantec Management Server Error on the page.
Error 1: Failed to process web request. Exception of type 'System.Web.HttpUnhandledException' was thrown. [System.Web.HttpUnhandledException @ System.Web] at System.Web.UI.Page.HandleError(Exception e) 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 Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(HttpContext context) at Altiris.NS.UI.AltirisPage.ProcessRequest(HttpContext context) Object reference not set to an instance of an object. [System.NullReferenceException @ Altiris.Connector.Web] at Altiris.Connector.Web.ImportExportRule.SaveDCMappings(Dictionary`2 controls, Dictionary`2& savedMappings) at Altiris.Connector.Web.ImportExportRule.drpReplicationType_ChangeImpl(Boolean bRefreshDataSource) at System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Exception logged from: at Altiris.NS.UI.AltirisPage.ProcessRequest(System.Web.HttpContext) at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication .IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication+IExecutionSt ep, Boolean&) at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception) at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpCont ext, AsyncCallback) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.II S7WorkerRequest, System.Web.HttpContext) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32) ------------------------------------------------------------------------------ ----------------------- Date: 5/13/2016 8:43:54 PM, Tick Count: 146859062 (1.16:47:39.0620000), Size: 2.25 KB Process: w3wp (8760), Thread ID: 278, Module: Altiris.NS.UI.dll Priority: 1, Source: Altiris.NS.UI.AltirisPage.ProcessRequest Error 2: HTTP Request failed: /Altiris/Connector/ImportExportRule.aspx?Url=http%3a%2f%2fsmp-w2k12- 01.epm.local%2fAltiris%2fConsole%2ftree.aspx%3fViewGuid%3da57fb0e9-0676-4e00- 929a-6bb37dc1f888%26%26ConsoleGuid%3d1b22db4e-a898-443f-9b99- 855b1653d3f5&TreeGuid=a57fb0e9-0676-4e00-929a- 6bb37dc1f888&ParentGuid=00000000-0000-0000-0000- 000000000000&ItemGuid=33f4d770-c723-4710-af96-51823ddb0340&ViewGuid=a57fb0e9- 0676-4e00-929a-6bb37dc1f888&ConsoleGuid=1b22db4e-a898-443f-9b99-855b1653d3f5 Object reference not set to an instance of an object. [System.NullReferenceException @ Altiris.Connector.Web] at Altiris.Connector.Web.ImportExportRule.SaveDCMappings(Dictionary`2 controls, Dictionary`2& savedMappings) at Altiris.Connector.Web.ImportExportRule.drpReplicationType_ChangeImpl(Boolean bRefreshDataSource) at System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Exception logged from: at Altiris.NS.UI.AltirisWebApplication.ReportApplicationError(System.Web.HttpCont ext) at System.Web.HttpApplication.RaiseOnError() at System.Web.HttpApplication.RecordError(Exception) at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception) at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpCont ext, AsyncCallback) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.II S7WorkerRequest, System.Web.HttpContext) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32) ------------------------------------------------------------------------------ ----------------------- Date: 5/13/2016 8:43:54 PM, Tick Count: 146859062 (1.16:47:39.0620000), Size: 1.91 KB Process: w3wp (8760), Thread ID: 278, Module: w3wp.exe Priority: 1, Source: WebApplication
Known issue.
This issue has been reported to the Symantec Development team. A fix to this issue has been scheduled for ITMS 8.0 HF2.