DPM 2012 UR3 Agent Update Error: HRESULT E_FAIL...DCOM Error

My DPM Server is Windows 2008 R2 SP1 with a locally installed SQL and DPM Server and fully patched. My Workstations are all Windows 7 Ultimate x64, fully patched. I have manually installed the DPM RTM Agent and pushed the UR2 update from the DPM Server
without any challenges or issues. I have SCEP running with process exclusions for the DPM services on the WS and DPM Server. I’ve been running DPM 2012 RTM and then UR2 without any issues or challenges to-date.
I have recently updated my DPM 2012 Server from UR2 to UR3 and pushed out all the Agent Updates, which appeared to go successfully from the DPM Console perspective. I spot checked a few systems, 1 workstation (WS) and 1 server, everything looked good. A
couple of days after this I noticed 2 of my workstations failed backing up to Tape. I noticed the recovery options available for these WS’s have stopped updating hours after pushing the UR3 Agent update. The 2 WS’s I'm troubleshooting have a little different
scenario. I have 2 other WS’s that were updated in the same manner and are working perfectly.
Both WS cannot connect to the DPM Server and displays this DCOM Error:
"ERROR:ERROR HRESULT E_FAIL has been returned from a call to a COM component."
The 1st WS DPM Client has a Yelow Sign over-lay and "Administrator has not configured backups." when you hover over it.
The 2nd WS does not the Yellow Sign over-lay.
All the properties of the Local DPM Client Console 'Summary and Protected item'  tabs are not updated on the 1st WS but are on the 2nd WS.
1st WS process:
The Recovery Tab shows the available recover dates to choice from.
I can expand one of the backup dates, folders and copy a file to this system.
I can view my previous recovery Points from the console dating back to when I updated the Agents.
I’ve validated the DCOM settings on both WS's compared to a WS that is working, they are the same.
I uninstalled the agent manually, then copied and reinstalled the new UR3 Agent Version with the same outcome.
I uninstalled the new version and reinstalled the previous version, same error.
I then proceeded with upgrading UR2 agent version installing the UR3 version over the top, same error.
I logged on to this WS as the Domain Admin, removed and reinstalled the UR3 version, same error.
I removed, applied and then re-added the DPM server to the local WS DPM and DCOM Groups.
I removed, applied and then re-added the WS from the Groups on the DPM Server.
I’m able to see, ping and view other backup folders presented on the DPM server on this WS.
In the DPM Console I am able to connect to this Workstation successfully from the Administrative, Agent Space.
The DPMClientProtectionCurr.errlog file shows this repeatedly:
0FC0   
065C    10/13   05:02:32.499 
03        service.cpp(298)         
[000000000021FD90]            
ACTIVITY         
CService::AnnounceServiceStatus
0FC0   
0D18    10/13   05:02:33.059 
33        dlsclientprotection.cpp(778)           
[00000000002BC850]            
NORMAL          
Connecting to DPM Server: (<Server.FQDN>)
0FC0   
0D18    10/13   05:02:33.171 
33        dlsclientprotection.cpp(861)           
[00000000002BC850]            
WARNING         Failed: Hr: = [0x80004005] : Failed to set client OS details - ClientName:<WS.FQDN>, ClientOSVersion:6.1.7601, OSType:2, AgentVersion: 4.0.1920.0
0FC0   
0D18    10/13   05:02:33.171 
33        dlsclientprotection.cpp(1490)           
[00000000002BC850]            
WARNING         Failed: Hr: = [0x80004005] : Failed to get connection to DPM server: lVal : ConnectToDPMServer(bstrClientMachineName, &pIUnknown, &fConnectionSuccessful, &dCurrentStatus,
exceptionResult)
The
DPMRACurr.eerlog show this for both WS's:
0EF0 1110 10/13 04:05:02.157 22 genericthreadpool.cpp(824) [000000000093C360]  NORMAL Hr: = [0x80070002] CGenericThreadPool::m_dwMaximumNumberOfThreads[20]
0EF0 1110 10/13 04:05:02.157 03 miscellaneousutils.cpp(918)   NORMAL Error:ERROR_UNKNOWN_PRODUCT, While detecting DPM version. Assuming DPM isnt installed.
And this one repeatedly:
0BE8 08EC 10/13 13:59:40.404 29 radefaultsubtask.cpp(382) [00000000002F1640] 4F801526-72F2-4460-8760-F9D6E127FECB WARNING Failed: Hr: = [0x809909b0] : CRADefaultSubTask: WorkitemID does not exist, {DB3F138D-DE37-414D-BADC-5A161C6E7E1C}
0BE8 08EC 10/13 13:59:40.404 05 defaultsubtask.cpp(546) [00000000002F1640] 4F801526-72F2-4460-8760-F9D6E127FECB WARNING Failed: Hr: = [0x809909b0] : Encountered Failure: : lVal : CommandReceivedSpecific(pCommand,
pOvl)
0BE8 08EC 10/13 13:59:40.404 05 defaultsubtask.cpp(751) [00000000002F1640] 4F801526-72F2-4460-8760-F9D6E127FECB WARNING Failed: Hr: = [0x809909b0] : Encountered Failure: : lVal : CommandReceived(pAgentOvl)
The 2nd WS Process:
I did not remove or touch the local agent installation because the information is populated on this client’s agent properties fields.
I can see the folder selections I’ve chosen to be backed up by the protection group configuration.
When i open the Agent UI I receive the sam DCOM error.
I also receive a different error message on this WS when I try and do a Sync Now from the General Tab: Failed to trigger synchronization.
I was able to perform a consistency check on this WS that completed successfully from the DPM server.
I’ve validated the networking configuration settings are correct.
I flushed local DNS cache.
Thanks,
Paul

Hi,
I have a Windows 7 x64 machine that exhibits this problem. It seems that it is not caused on the client side but on the server side.
In our case the server logs the following every time the client tries to connect:
WARNING    Verify disconnected client failed with exception: System.ArgumentException: Das Element wurde bereits hinzugefügt. Schlüssel im Wörterbuch: "<machinename>". Hinzuzufügender Schlüssel: "<machinename>".
(Translation: Element has already been added. Key in Table: "<machinename>". Key to be added: "<machinename>".
I have uninstalled the agent on the client several times. One time I have seen the following error message on the server side:
Deployment.cs(2815)            NORMAL    Removing all agent records for server[<machinename>] from table InstalledAgent.
ntlmutils.cpp(185)            WARNING    Failed: Hr: = [0x80070002] : Error trying to open key [HKLM\Software\Microsoft\Microsoft Data Protection Manager\Agent\2.0\NtlmAuthData\<machinename>]
SchedulerImpl.cs(166)            NORMAL    Entering DeRegister, JobDefID: bafe2b8b-53b2-4694-aa28-9e2c6c152d51
Catalog.cs(1006)            WARNING    No retry on exception The specified @name ('') does not exist. while executing sp_delete_alert
Catalog.cs(1013)            WARNING    SqlException encountered, SqlRetryCommand diag details - SqlCommandText  => Name=msdb.dbo.sp_delete_alert, CommandType=StoredProcedure
Catalog.cs(1013)            WARNING    CommandDiagInfo => CanRetry=False, CommandTimeout=3600
Catalog.cs(1013)            WARNING    CommandParams   => Count=2, InTx=True
Catalog.cs(1013)            WARNING         Param[0]   => ParameterName=@name | Value= | Size=0 | DbType=NVarChar | Direction=Input | IsNullable=False
Catalog.cs(1013)            WARNING         Param[1]   => ParameterName=@RETURN_VALUE | Value=1 | Size=0 | DbType=Int | Direction=ReturnValue | IsNullable=False
EventManager.cs(98)            NORMAL    Publishing event from SchedulerImpl.cs(838): JobScheduleChange, [JobDefID=bafe2b8b-53b2-4694-aa28-9e2c6c152d51]
Errors on the client side appear the moment the agent is re-added to the DPM server (I use "connect agent" instead of "install agent"). After that moment I get the message "Error connection to the DPM server. Error: a COM-component returned E_FAIL" every time
I open the DPM client. This is mirrored by the Verify error mentioned above on the server side.
To me it seems that parts of the machine config are still in the MSDB after removal (maybe caused by the registry error). If this client is connected again, the orphaned database entries cause the Verify error
If that's true, how could we get rid of those entries? Would it help to rename the client?
Uwe

Similar Messages

  • DPM 2012 R2 agent update on Windows 2003 server x64 - Exchange

    According to the release notes on http://blogs.technet.com/b/dpm/archive/2014/04/23/now-available-update-rollup-2-for-system-center-2012-r2-data-protection-manager.aspx the following workloads are supported on Win2K3 with DPM2012 R2 UR2:
    SQL 2005
    SQL 2008
    SQL 2008 R2
    SharePoint 2007
    Does that mean protecting Exchange 2007 on Win2K3 is no longer an option after upgrading to DPM 2012 R2 (UR2)? It works on DPM 2012 SP1 but I need to know if it will continue to work after upgrading.
    (This question follows on from this thread http://social.technet.microsoft.com/Forums/en-US/c425421b-b726-4125-82fc-beae8947722c/dpm-2012-r2-agent-update-on-windows-2003-server-x64?forum=dpmsetup which was marked as 'answered')

    Hi,
    Yes, Exchange 2007 backup will continue to work. I think that due to the timeframe of the UR2 release not all workloads were able to be re-certified, thus the limit in supported workloads.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • DPM 2012 R2 agent update on Windows 2003 server x64

    Hi,
    I have an old windows 2003 server x64 protected by DPM 2012 Sp1. After DPM upgrade to 2012 R2 I cannot update DPM Agent on server. If I try to update agent manually error message is : agentsetup.exe is not a valid win32 application.
    Mihai

    command back,
    edit: it seems like a reboot is definitely needed to get it working 
    got it working like described here: http://support.microsoft.com/kb/2958100/en-us
    Install the Microsoft Visual C++ 2008 Redistributable on Windows Server 2003 servers if it is not already installed.
    Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
    Microsoft Visual C++ 2008 Redistributable Package (x64)
    Note The following error occurs if the C++ redistributable is not installed:
    Data Protection Manager Setup
    Could not load the setup launch screen. Please contact Microsoft Product Support.
    Copy the Windows Server 2003 Agent installer that is located on in the DPM server to the Windows Server 2003 server, and then install the agent.
    64-bit: <var>DPM Installation Location</var>\DPM\agents\RA\4.2.1226.0\amd64\1033\DPMAgentInstaller_Win2K3_AMD64.exe
    32-bit: <var>DPM Installation Location</var>\DPM\agents\RA\4.2.1226.0\i386\1033\
    DPMAgentInstaller_Win2K3_i386.exe
    Run the following command at an administrative command prompt:
    cd DPM Agent Installation Location\DPM\bin\setdpmserver.exe –dpmservername DPM Server Name
    Run the following Windows Powershell cmdlet to establish a connection with the DPM server:
    Attach-ProductionServer.ps1 DPMServerNameProductionServerNameUserNamePasswordDomain
    regards
    Stefan

  • Error HRESULT E_FAIL has been returned

    In my RDS 2012 i was running a "Recreated All Virtual Desktops" on a Pooled collection when in the middle this happened
    Get-RDVirtualDesktopCollectionJobStatus desktoppool
    CollectionName       : desktoppool
    Status               : UPDATE_VIRTUAL_DESKTOP_INPROGRESS
    TotalVirtualDesktop  : 44
    PercentCompleted     : 68%
    FailedVirtualDesktop : 1
    VirtualDesktopStatus :
        VirtualDesktopName   HostName                                 Status          Error
    ABC-VM8              ABCVH17.abc.forest.org               Completed.
    ABC-VM9              ABCVH17.abc.forest.org               Completed.
    ABC-VM2              ABCVH17.abc.forest.org               Failed          Error HRESULT E_FAIL has been
    returned...
    ABC-VM18             ABCVH17.abc.forest.org               Pending
    ABCVM20             ABCVH17.abc.forest.org               Pending
    ABC-VM22             ABCVH17.abc.forest.org               Pending
    It appears hung. What do i do continue and how do i figure out what caused this?

    Wasnt sure where to look in the event viewer. Any tips on where the errors would be?
    It took a while but what i ended up doing was deleting the "bad" boxes. I am not sure how the got to their broken state.
    I also could not delete them via the gui. I had to do it via powershell. It was odd i couldnt delete it with just the powershell command i had to pipe the resource like this
    Get-ClusterResource | Where-Object {$_.name -eq "Virtual Machine ABC-VM22"} | Remove-ClusterResource

  • An error has occurred: Error HRESULT E_FAIL has been returned from a call to a COM component

    This error message comes up with a user in InfoView attempts to modify/update a parameter when scheduling a report.  This is not isolated to one particular report and occurs on a sporadic basis.  Sometimes the user is able to successfully update the parameter with no error.  Other times this error message occurs.
    Has anyone seen this before and have any thoughts?
    Thank you.
    An error has occurred: Error HRESULT E_FAIL has been returned from a call to a COM component

    Hi
    Could you check this SAP Note 1653410
                                                     1772120
                                                   1568524
    BR
    SS

  • Surely It cannot be this hard! DPM 2012 R2 with Update rollup 2

    I am close to giving up!
    New to DPM but very experienced with networking/servers.
    I installed DPM 2012 R2 and then installed rollup 2
    I launch the DPM console, add some storage and then go to install the agent on a server - it fails
    I get the standard message. When I check on the server I tried to install to I can see that the dpm 2012 r2 agent coordinator service was installed and running and listening on port 5719 but there is no DPMRA service.
    So I perform a manual installation using the correct version from Rollup 2 on the server to be protected. This goes OK and I return to the DPM server to add the protected server. Made sure services were running on both servers, checkerd RPC, WMI, DCOM settings
    and all seems OK but when I try to add the protected server from the DPM console using the attach agent option it fails with error 370.
    Followed the top 20 suggestions, configured firewall for all ports on both servers. Tried turning the firewall off and still will not install.
    I have also tried using a Hyper-V server, a physical server and none will work which tends to point to an issue with the DPM server.
    The thing that puzzles me is that after I perform a manual agent installation on the protected server this seems to knock out the dpm 2012 r2 agent coordinator service which is no longer listed under services wheras DPMRA is running. I expected both services
    to be installed and running.
    When I perform a NETSTAT -a after installing the remote agent I can see port 5718 is listening but not port 5719
    If I go back a step and try a dpm 2012 r2 agent coordinator install via DPM console (as part of adding the protected server) it does install dpm 2012 r2 agent coordinator and it listens on port 5719 but the DPMRA agent software is not installed.
    I have tried deinstalling both the DPM agent software on the protected server and have even reinstalled DPM 2012 R2 with Rollup 2 with no change
    I have verified communications between the servers. Checked the DPM server is in the relevant groups. Am at a complete loss on what to do next - it should not be this hard.
    Can someone confirm to me that they expect both the dpm 2012 r2 agent coordinator service running on 5719 and the DPMRA service to be running on 5718 on the protected server which is what I assume but this
    is not happening!
    DPM server is a physical box running Server 2012. Protected server is a Physical box running Server 2012 R2. I have also tried with a physical server 2008R2 with the same results. I am not running Server 2003
    prd

    After 3 long days trying everything I could think of and following all of the excellent guidance out there ( thanks guys) I have a workaround.
    The answer was to make the dpm server computer account a member of the domain admins group.
    After I restarted the DPM server I saw that although the protected server account was still in error - the error message changed from 270 to 316.
    So I then add the protected server computer account to the domain admins group
    After I restarted the computers I could see the magic OK in the status of the DPM console.
    As an experiment I removed the protected servers computer account from domain admins and restarted the server. After the restart DPM could no longer communicate with error 316 again.
    So I tried adding the DPM server computer account to the protected servers local administrators group but this did not work.
    Deeply unhappy with making a computer account a member of domain admin group but it works.
    The question is why? There is obviously a security permissions issue that does not affect domain admins.
    I am running this on freshly built servers on a simple, single domain.
    Microsoft you need to look into this.
    prd

  • RDLC Reports with Custom Font - Error HRESULT E_FAIL has been returned from a call to a COM component.

    Hi,
    I got an ASP.NET MVC (Razor View Engine and C#) application running on a Windows Azure Web Role.
    I use RDLC local reports to create pdf files with printable price tags with respective barcodes.
    I got it working on Azure after installing the barcode font (TrueType) using a start-up task. Recently, it stopped working without me changing anything related to this functionality.
    I'm getting the following error and so far I didn't find any solution. I know the problem is the barcode font because the pdf is generated well with a standard font like Arial. Also, it works perfectly with barcodes when running the app
    locally on my computer. 
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    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.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
    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.
    Stack Trace:
    [COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.]
    System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) +0
    Microsoft.ReportingServices.Rendering.RichText.TextRun.ShapeAndPlace(Win32DCSafeHandle hdc, FontCache fontCache) +1450
    Microsoft.ReportingServices.Rendering.RichText.TextRun.GetWidth(Win32DCSafeHandle hdc, FontCache fontCache, Boolean isAtLineEnd) +30
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.GetLine(Paragraph paragraph, TextLine line, Win32DCSafeHandle hdc, FontCache fontCache, FlowContext flowContext, Single left, Single right, Single height, Stack`1 lineRunsIndex, Stack`1 lineRunsCharIndex, Int32 lineIndents) +266
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.FlowParagraph(Paragraph paragraph, Directions direction, Win32DCSafeHandle hdc, Single dpiX, FontCache fontCache, FlowContext flowContext, Boolean keepLines, SizeF flowContextSize, Int32& contentOffset) +768
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, Win32DCSafeHandle hdc, Single dpiX, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height) +617
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height) +182
    Microsoft.ReportingServices.Rendering.RichText.TextBox.MeasureFullHeight(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Single& contentHeight) +759
    Microsoft.ReportingServices.Rendering.HPBProcessing.TextBox.CalculateVerticalSize(PageContext pageContext) +467
    Microsoft.ReportingServices.Rendering.HPBProcessing.TextBox.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +35
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +977
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.AddRowMember(TablixMember rowMember, Int32 colIndex, Int32 rowSpan, Int32 colSpan, LevelInfo childInfo, PageContext pageContext, Double updateWidth) +1104
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateRowMemberChildren(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, Int32 sourceIndex, Boolean resetContext, Boolean parentHasFooters, LevelInfo parentLevelInfo, PageContext pageContext) +4255
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateRowMemberChildren(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, Int32 sourceIndex, Boolean resetContext, Boolean parentHasFooters, LevelInfo parentLevelInfo, PageContext pageContext) +3657
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateTablixRows(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, List`1& pageStructMemberCell, Boolean ignoreTotals, Boolean& finishLevel, Boolean parentHasFooters, CreateItemsContext createItems, Double startInTablix, Double endInTablix, PageContext pageContext) +4341
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateTablixItems(Tablix tablix, PageContext pageContext, CreateItemsContext createItems, Double startInTablix, Double endInTablix) +239
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateVertically(PageContext pageContext, CreateItemsContext createItems, Double startInTablix, Double endInTablix, Double topInParentSystem) +374
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +662
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +977
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.DetermineContentVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Boolean resolveState, Boolean resolveItem) +496
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +281
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +977
    Microsoft.ReportingServices.Rendering.HPBProcessing.ReportSection.NextPage(RPLWriter rplWriter, Int32 pageNumber, Int32 totalPages, Double top, Double availableHeight, ReportSection nextSection, Boolean isFirstSectionOnPage) +1382
    Microsoft.ReportingServices.Rendering.HPBProcessing.Report.NextPage(RPLWriter rplWriter, Int32 totalPages) +384
    Microsoft.ReportingServices.Rendering.HPBProcessing.HPBProcessing.GetNextPage(RPLReport& rplReport) +437
    Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream) +1021
    Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream) +93
    My source code:
    LocalReport report = new LocalReport();
    // Rdlc file path
    report.ReportPath = Server.MapPath("~/Reports/PriceTags.rdlc");
    // Data source
    report.DataSources.Add(new ReportDataSource("productsDataSet", dataset1));
    // Some parameters
    ReportParameterCollection reportParameters = new ReportParameterCollection();
    reportParameters.Add(new ReportParameter("currency", "EUR"));
    reportParameters.Add(new ReportParameter("precision", 2));
    report.SetParameters(reportParameters);
    // FileContentResult GenPdf(LocalReport report, string filename)
    return GenPdf(report, "Price Tags");
    Any help on this issue would be welcome and sorry for any grammar mistakes.
    Thanks in advance.
    Vitor Pinto

    Hi Vitor,
    Thanks for your posting!
    It seems that the error may have more than one possibilities. I recommend you could try to use the Azure remote debugger to debug your cloud service project on Azure instance. Please see this tutorials:
    http://blogs.msdn.com/b/cie/archive/2014/01/24/windows-azure-remote-debugging.aspx
    You could debug your code using the cloud service URL.
    And you could enable the Diagnostics feature for collecting Logging Data by Using Azure Diagnostics (http://msdn.microsoft.com/library/gg433048.aspx).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BIDS 2008: Error HRESULT E_FAIL has been returned from a call to a COM component.

    Hi,
    I am using SQL Server 2008. Whenever I opened SQL Server 2000 DTS packages designer from BIDS2008 I am getting the below error.
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    Could anyone please help me to solve the issue.
    Environment details:
    SQL Server 2008,
    VS2008(BIDS2008),
    Installed backward compatability(SQLServer2005_BC_x64.msi),
    Installed SQLServer2005_DTS.msi
    Copied dll and rll files as Microsoft recommended(https://msdn.microsoft.com/en-us/library/ms143755.aspx).
    Moved environmental variables(C:\Program Files(x86)\Microsoft SQL Server\80\Tools\Binn\;) to starting point. 
    Thanks, Raja

    Hi Raja,
    According to your description, this issue is more related to SQL Server. The SQL Server Integration Services forum is a better place for this issue, I will move it there for you.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DPM 2012 Protection Agent Connection Failure

    I was successfully protecting a Windows Server 2008 R2 Ent. Server with my M.S. System Center 2012 R2 DPM R2 Server until today.  The only changes I know about are the fact that this 2008 server was promoted to a domain controller today using the same
    name and I.P. Address.  It appears that the DCPromo process has broken DPM protection somehow.  Is it true that a "dcpromo" of a protected server can cause DPM Agent failures?  If so what is the preferred method to fix this problem. 
    I'm hoping that I don't really have to stop and clean up the current protection for this server and then start over again.  Does anyone have a solution for this problem?  Here are the errors I'm getting:
    Affected area: ServerName.DomainName
    Occurred since: 1/13/2015 8:30:02 AM
    Description: The DPM protection agent on ServerName.DomainName could not be contacted. Subsequent protection activities for this computer may fail if the connection is not established. The attempted contact failed for the following reason: (ID 3122)
    The protection agent operation failed because it could not access the protection agent on ServerName.DomainName. ServerName.DomainName may be running DPM, or the DPM protection agent may have been installed by another DPM server. (ID 302 Details: )
    More information
    Recommended action: Uninstall DPM or the DPM protection agent from ServerName.DomainName and install the DPM protection agent again from the computer that you want to use to protect the computer.
    On the Agents tab in the Management task area, check the status of the agent.
    Resolution: To dismiss the alert, click below
    Inactivate
    Protection agent version: 4.2.1254.0
    Error: Data Protection Manager Error ID: 270
    The agent operation failed on ServerName.DomainName because DPM could not communicate with the DPM protection agent. The computer may be protected by another DPM server, or the protection agent may have been uninstalled on the protected computer.
    If ServerName.DomainName is a workgroup server, the password for the DPM user account could have been changed or may have expired.
    Recommended action: Check the following to troubleshoot this issue:
    1) If the agent is not installed on ServerName.DomainName, run DpmAgentInstaller.exe with this DPM computer as a parameter. For details, see the DPM Deployment Guide.
    2) To attach the computer correctly to this DPM server, run the SetDpmServer tool with the -Add option on the protected computer.
    3) If the computer is protected by another DPM server, or if the protection agent has been uninstalled, remove the protected data sources on this computer from active protection. Then, remove the entry of this computer from the Agents tab in the Management
    task area.
    4) If ServerName.DomainName is a workgroup server, run SetDpmServer with the -UpdatePassword flag on the protected computer and Update-NonDomainServerInfo.ps1 on the DPM server to update the password.
    5) If the DPM server and the protected computer are not in the same domain, ensure that there is a two-way trust setup between the two domains.
    Note:  I tried running the setdpmserver tool but got the following message:
    SetDpmServer failed with errorcode =0x80070534, error says: No mapping between account names and security IDs was done.
    I also tried the attach agents option but DPM tells me that there is already an agent installed.
    I also tried to manually start the DPMRA service on the client but it fails with error code 1168.
    Any helpfull information would be greatly appreciated. 
    Thank you,
    MPeterson 

    Hi,
    Try the following:
    Uninstall the agent from the protected computer.
    Restart the computer.
    Install the DPM-agent manually.
    Re run the SetDPMServer command.
    Try start the service.
    If the problem still exist, please look into the following steps:
    Verify the COM+ permissions for the DPM agent on the protected server. There could be a mismatch in the permissions:
    Click START / Administrative Tools / Component Services
    Expand Component Services / Computers / My Computer / DCOM Config
    Right click on the "DPM RA Services" and choose properties. Verify that under the Security tab / Launch and Activation Permissions you got Customize marked, click the "Edit..." button in the ACL you should see the computer account for
    your DPM server.
    If it's not present add it and mark all allow boxes and try to start the service again.
    You should also verify that your DPM-server computer account is a member of these two local security groups on the protected server:
    DPMRADCOMTrustedMachines
    DPMRADmTrustedMachines

  • DPM 2012 Failed to update permissions used in end-user recovery

    Hello everyone,
    I'm going to try the clearest way possible to describe the problem.
    Our test server is Windows Server 2012 with DPM 2012 SP1 CU2 (BKP-SRV01) with a Remote SQL server 2012 (PBASC)
    I protected a share folder on a DC on Windows Server 2008 R2 (PAD)
    When I activate End-User Recovery I get a warning in the monitor tab that say this
    Failed to update permissions used for end-user recovery on pad. Permissions update failed for the following reason: (ID 3123)
    DPM is unable to enumerate contents in pad_PartageTest on the protected computer BKP-SRV01. Recycle Bin, System Volume Information folder, non-NTFS volumes, DFS links, CDs, Quorum Disk (for cluster) and other removable media cannot be protected. (ID 38 Details:
    the end user recovery is working, but i do not know if it affect other things. I also get that message when i try to browse on the DPM server when creating a protection group
    When I go see the DPM Server / File and Storage Services / Shares on Server Manager i get  "Failed to retrieve folder permission" in the properties of the Protected server share.
    I tried to search for almost 2 days without finding anything about that particular issue.
    Is there a way (clean way) to fix the issue?
    Thanks in advance for the help!

    Closing for housekeeping.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.
    That's not very helpful. I've got the same issue :(
    Comes up for servers where a protection group related to it errors out (recovery point failure usually).

  • Ssis error: hresult e_fail has been returned from a call to a com component

    I am using VS 2013 (BIDS) to develop SSIS packages. It is running on a windows 2012 server.
    I have a dev server on which when i try to load an SSIS project using the solution file i get a bunch of errors, and then visual studio just closes. The error is:
    hresult e_fail has been returned from a call to a com component
    If i copy the project to another machine it works fine.
    If i open VS first, and then open the project using the proj file, it seems to work.
    Any ideas what might be causing this error? I can work for now, but am worried my project may be corrupted in some way so dont want to do too much work on it.

    It might be a corruption so a re-install is desired. But
    Use SSDT (VS2010 shell) that came with the SQL Server installation media to edit SSIS 2012 packages.
    Arthur
    MyBlog
    Twitter

  • DPM 2012 Manual Agent Install Fails

    Hello Everyone,
    Using DPM 2012 SP1, I've been stuck on an issue for some time now in trying to get a DPM agent install accomplished on a certain server. The DPM server resides on a parent domain and the server that I am having an issue with is on a child domain. Other servers
    on the child domain have installed the agent without issue when doing it manually.
    Here is the command I use (as an administrator):
    net use X: \\DPMSERVERNAME.parentdomain.com\c$ 
    cd /d X:\Program Files\Microsoft System Center 2012\DPM\DPM\agents\RA\4.1.3465.0\amd64\1033
    DPMAgentInstaller_KB2991995_AMD64.exe dpmservername.parentdomain.com
    The installation proceeds through the Microsoft License Terms, begins to install and then backs out. The error message that is generated states: "DPMAgentinstaller failed with error code = 0X80070643 error says: fatal error during installation"
    In researching the 1708 error within the log file it lead me to the fact that maybe the firewall on the target server was the issue. I
    ran this suggested fix on the target server:
    netsh advfirewall firewall set rule group=\"@FirewallAPI.dll,-29502\" new enable=yes
    netsh advfirewall firewall set rule group=\"@FirewallAPI.dll,-34251\" new enable=yes
    netsh advfirewall firewall add rule name=dpmra dir=in program=\"%PROGRAMFILES%\\Microsoft Data Protection Manager\\DPM\\bin\\DPMRA.exe\" profile=Any action=allow
    netsh advfirewall firewall add rule name=DPMRA_DCOM_135 dir=in action=allow  protocol=TCP localport=135 profile=Any
    The issue still persists.
    The MSDPMAgentinstall log file says the following at the end:
    Property©: Date = 1/7/2015
    Property©: MsiNetAssemblySupport = 4.0.30319.18408
    Property©: MsiWin32AssemblySupport = 6.1.7601.17514
    Property©: MsiRunningElevated = 1
    Property©: Privileged = 1
    Property©: USERNAME = Windows User
    Property©: DATABASE = c:\b1e38ee30069ed00e510\DPMRA.msi
    Property©: OriginalDatabase = c:\b1e38ee30069ed00e510\DPMRA.msi
    Property©: SOURCEDIR = c:\b1e38ee30069ed00e510\
    Property©: VersionHandler = 5.00
    Property©: ROOTDRIVE = c:\
    Property©: EXECUTEACTION = INSTALL
    Property©: ACTION = INSTALL
    Property©: UILevel = 5
    Property©: CostingComplete = 0
    Property©: OutOfDiskSpace = 0
    Property©: OutOfNoRbDiskSpace = 0
    Property©: PrimaryVolumeSpaceAvailable = 0
    Property©: PrimaryVolumeSpaceRequired = 0
    Property©: PrimaryVolumeSpaceRemaining = 0
    MSI © (68:E8) [09:38:14:119]: Note: 1: 1708 
    MSI © (68:E8) [09:38:14:119]: Note: 1: 2205 2:  3: Error 
    MSI © (68:E8) [09:38:14:119]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708 
    MSI © (68:E8) [09:38:14:119]: Note: 1: 2205 2:  3: Error 
    MSI © (68:E8) [09:38:14:119]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
    MSI © (68:E8) [09:38:14:119]: 吰瞒
    MSI © (68:E8) [09:38:14:119]: 吰瞒
    MSI © (68:E8) [09:38:14:119]: Grabbed execution mutex.
    MSI © (68:E8) [09:38:14:119]: Cleaning up uninstalled install packages, if any exist
    MSI © (68:E8) [09:38:14:119]: MainEngineThread is returning 1603
    === Verbose logging stopped: 1/7/2015  9:38:14 ===
    Any ideas where to turn next?

    I do not have a Program Files\Microsoft System Center 2012\DPM\DPM\ProductionAgents\RA\4.1.3313.0\amd64
    file path on the DPm system.
    Rather Program Files\Microsoft System Center 2012\DPM\DPM\ProtectionAgents\RA\4.1.3313.0\amd64
    Still, I ran the DPMAgentInstaller_x64.exe
    from that file path and the agent did not install.
    Also, on the DPM server I have added the target machine name to the DPMRADmTrustedMachines
    group. I also made sure that the domain service account is in the same group. Still no luck.

  • DPM 2012 R2 Agent not rechable : Not enough storage is available to complete this operation (0x8007000E)

    Hi,
    We have DPM 2012 R2 installed on Windows 2012 R2 and Protecting SQL 2012 with DPM  and  recovery point created twice per day.
    And getting frequently warning and error mails “DPM Agent not Reachable” and  "Not enough storage is available to complete this operation (0x8007000E)" in DPM Console.
    I know its SQL server and it occupies most of the RAM and CPU, but can I set its frequencly or time interval of DPM Agent perodic check to avoid this mails.

    Hi,
    Did you try limiting the sql memory to 60% of physical memory ?
    Also adjust the paging file to be physical ram * 1.5 + if necessary.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • SCSM 2012 UR3 - "The Full adapter threw an exception" error when viewing "Deleted Items" view

    Has anyone expereinced the "The Full adapter threw an exception" eror in the SCSM 2012 console? 
    We get the error in both our dev and production environments when trying to view the "Deleted Items" view in the console (even after using powershell to remove all deleted iterms).  As just noted, interestingly enough we can view, delete, and restore
    deleted items using the corresponding Powershell commands.  It should be noted that neither of our two SCSM 2012 environments has a registered data warehouse server.  Below is a screen shot of the error as well as the associated error text and event
    log errors.
    Any help would be greatly apprecaited!
    Regards,
    JJ
    Console Dialog Error Test
    ============================
    Date: 10/17/2012 8:46:50 PM
    Application: Service Manager Console
    Application Version: 7.5.1561.0
    Severity: Error
    Message: An error occurred while loading the items.
    Microsoft.EnterpriseManagement.UI.ViewFramework.AdvancedListSupportException: The Full adapter threw an exception. See the FullUpdate property to see the exception.
       at Microsoft.EnterpriseManagement.UI.ViewFramework.AdvancedListSupportAdapter.DoAction(DataQueryBase query, IList`1 dataSources, IDictionary`2 parameters, IList`1 inputs, String outputCollectionName)
       at Microsoft.EnterpriseManagement.UI.DataModel.QueryQueue.StartExecuteQuery(Object sender, ConsoleJobEventArgs e)
       at Microsoft.EnterpriseManagement.ServiceManager.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
    Associated Event Log Errors
    ============================
    Log Name:      Application
    Source:        MSSQLSERVER
    Date:          10/17/2012 8:46:49 PM
    Event ID:      8623
    Task Category: Server
    Level:         Error
    Keywords:      Classic
    User:          SYSTEM
    Computer:      jhqsrv08.jhq.net
    Description:
    The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you
    believe you have received this message in error, contact Customer Support Services for more information.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="MSSQLSERVER" />
        <EventID Qualifiers="49152">8623</EventID>
        <Level>2</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2012-10-18T00:46:49.000000000Z" />
        <EventRecordID>339617</EventRecordID>
        <Channel>Application</Channel>
        <Computer>jhqsrv08.jhq.net</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <EventData>
        <Binary>AF21000010000000090000004A00480051005300520056003000380000000F00000053006500720076006900630065004D0061006E0061006700650072000000</Binary>
      </EventData>
    </Event>
    Log Name:      Operations Manager
    Source:        DataAccessLayer
    Date:          10/17/2012 8:46:49 PM
    Event ID:      33333
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      jhqsrv08.jhq.net
    Description:
    Data Access Layer rejected retry on SqlError:
     Request: MTV_Select_62f0be9f-ecea-e73c-f00d-3dd78a7422fc_Top -- (NonGenericDistinctFilterForAbstract=4cf77750-6688-8672-9470-036e0f4b48d6,26b2dff7-2ce9-59cf-4eb8-a6fb2d095d45,89992420-1297-0b8b-f3ca-1e53aa36f9e0,ed5ec2bf-6745-086...), (ObjectStatus_4AE3E5FE_BC03_1336_0A45_80BF58DEE57B0=47101e64-237f-12c8-e3f5-ec5a665412fb)
     Class: 16
     Number: 8623
     Message: The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify
    the query. If you believe you have received this message in error, contact Customer Support Services for more information.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="DataAccessLayer" />
        <EventID Qualifiers="32768">33333</EventID>
        <Level>3</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2012-10-18T00:46:49.000000000Z" />
        <EventRecordID>935685</EventRecordID>
        <Channel>Operations Manager</Channel>
        <Computer>jhqsrv08.jhq.net</Computer>
        <Security />
      </System>
      <EventData>
        <Data>MTV_Select_62f0be9f-ecea-e73c-f00d-3dd78a7422fc_Top -- (NonGenericDistinctFilterForAbstract=4cf77750-6688-8672-9470-036e0f4b48d6,26b2dff7-2ce9-59cf-4eb8-a6fb2d095d45,89992420-1297-0b8b-f3ca-1e53aa36f9e0,ed5ec2bf-6745-086...),
    (ObjectStatus_4AE3E5FE_BC03_1336_0A45_80BF58DEE57B0=47101e64-237f-12c8-e3f5-ec5a665412fb)</Data>
        <Data>16</Data>
        <Data>8623</Data>
        <Data>The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions.
    Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.</Data>
      </EventData>
    </Event>
    Log Name:      Operations Manager
    Source:        OpsMgr SDK Service
    Date:          10/17/2012 8:29:26 PM
    Event ID:      26319
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      jhqsrv08.jhq.net
    Description:
    An exception was thrown while processing GetManagedEntitiesByManagedEntityTypesAndCriteriaWithInstanceQueryOptions for session ID uuid:66ba50da-cdce-4d15-823c-92c41b46fe44;id=2425.
     Exception message: The creator of this fault did not specify a Reason.
     Full Exception: System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.UnknownDatabaseException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to The query processor ran out of internal resources and could
    not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact
    Customer Support Services for more information.).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="OpsMgr SDK Service" />
        <EventID Qualifiers="49152">26319</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2012-10-18T00:29:26.000000000Z" />
        <EventRecordID>935679</EventRecordID>
        <Channel>Operations Manager</Channel>
        <Computer>jhqsrv08.jhq.net</Computer>
        <Security />
      </System>
      <EventData>
        <Data>GetManagedEntitiesByManagedEntityTypesAndCriteriaWithInstanceQueryOptions</Data>
        <Data>uuid:66ba50da-cdce-4d15-823c-92c41b46fe44;id=2425</Data>
        <Data>The creator of this fault did not specify a Reason.</Data>
        <Data>System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.UnknownDatabaseException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to The query processor ran out of internal resources
    and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error,
    contact Customer Support Services for more information.).</Data>
      </EventData>
    </Event>

    I have the same problem and get following error:
    An exception was thrown while processing GetManagedEntitiesByManagedEntityTypesAndCriteriaWithInstanceQueryOptions
    I have contacted MS Support, but hey could not help
    either.
    I really
    need to fix it. Any help?

  • DPM 2012 R2 backup of Workgroup computer error

    Hi, we have a Workgroup server that we had successfully backed up to a DPM 2012 Server.
    Since then we have built 2 brand new DPM 2012 R2 servers.
    I have uninstalled the DPM 2012 agent from the Workgroup computer and have installed the new DPM 2012 R2 agent successfully.
    However, when i try to Attach the agent I am getting 'Unable to contact the protection agent on server' errors.
    I have run the Set-DPMServer -IsNonDomainServer command correctly so the Firewall rules are there ( I have also turned the FW off to test but same error results). I am using the same account details created via Set-DPMserver to attach the agent on the DPM
    server.
    The Event Logs on the DPM 2012 R2 server show DCOM errors (Event 10028, DCOM was unable to communicate with the computer using any of the configured protocols; requested by PID      5e4 (C:\Program Files\Microsoft System Center 2012
    R2\DPM\DPM\bin\msdpm.exe).)
    I have even uninstalled the 2012 R2 agent and re-installed the 2012 agent and that attaches fine, no problem.
    Can anyone help/advise?
    David

    Hi,
    That is correct, ISCSI / Vfc attached or Pass-through disks are not included in host level backups. You have install a DPM agent inside the guest and protecting the volumes seperatly.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

Maybe you are looking for