none
An unexpected error occurred during the installation. ID: 4387. DPM2012 R2 (upgrade)

    Question

  • Hello,

    During the upgrade from our DPM 2012 SP1 to DPM 2012 R2  (on a Windows server 2008 R2 standard),
    I got the following error (see last line)

    Anyone an idea ?

    Thx
    Bart D.

    Logfile :

    [23/10/2013 11:29:37] Information : Microsoft System Center 2012 R2 Data Protection Manager setup started.
    [23/10/2013 11:29:37] Data : Mode of setup = User interface
    [23/10/2013 11:29:37] Data : OSVersion = Microsoft Windows NT 6.1.7601 Service Pack 1
    [23/10/2013 11:29:37] Information : Check if the media is removable
    [23/10/2013 11:29:37] Data : Folder Path = C:\Program Files\Microsoft System Center 2012 R2\DPM
    [23/10/2013 11:29:37] Data : Drive Name = C:\
    [23/10/2013 11:29:37] Data : Drive Type = 3
    [23/10/2013 11:29:37] Information : Check attributes of the directory
    [23/10/2013 11:29:37] Data : Folder Path = C:\Program Files\Microsoft System Center 2012 R2\DPM
    [23/10/2013 11:29:37] Data : File Attributes = Directory
    [23/10/2013 11:29:37] Information : Check if the media is removable
    [23/10/2013 11:29:37] Data : Folder Path = C:\Program Files\Microsoft Data Protection Manager
    [23/10/2013 11:29:37] Data : Drive Name = C:\
    [23/10/2013 11:29:37] Data : Drive Type = 3
    [23/10/2013 11:29:37] Information : Check attributes of the directory
    [23/10/2013 11:29:37] Data : Folder Path = C:\Program Files\Microsoft Data Protection Manager
    [23/10/2013 11:29:37] * Exception : Ignoring the following exception intentionally => System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Microsoft Data Protection Manager'.
    File name: 'C:\Program Files\Microsoft Data Protection Manager'
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.GetAttributes(String path)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [23/10/2013 11:29:38] Information : Check if the media is removable
    [23/10/2013 11:29:38] Data : Folder Path = C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\DPMDB
    [23/10/2013 11:29:38] Data : Drive Name = C:\
    [23/10/2013 11:29:38] Data : Drive Type = 3
    [23/10/2013 11:29:38] Information : Check attributes of the directory
    [23/10/2013 11:29:38] Data : Folder Path = C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\DPMDB
    [23/10/2013 11:29:38] * Exception : Ignoring the following exception intentionally => System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\DPMDB'.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.GetAttributes(String path)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [23/10/2013 11:29:39] Information : The setup wizard is initialized.
    [23/10/2013 11:29:39] Information : Starting the setup wizard.
    [23/10/2013 11:29:39] Information : <<< Dialog >>> Welcome Page : Entering
    [23/10/2013 11:29:46] Information : <<< Dialog >>> Welcome Page : Leaving
    [23/10/2013 11:29:46] Information : <<< Dialog >>> Inspect Page : Entering
    [23/10/2013 11:30:03] Information : Query WMI provider for path of configuration file for SQL Server 2008 Reporting Services.
    [23/10/2013 11:30:03] Information : Querying WMI Namespace: \\ARGES\root\Microsoft\SqlServer\ReportServer\RS_MSDPM2012\v10\admin for query: SELECT * FROM MSReportServer_ConfigurationSetting WHERE InstanceName='MSDPM2012'
    [23/10/2013 11:30:34] Data : Path of configuration file for SQL Server 2008 Reporting Services = C:\Program Files\Microsoft DPM\SQL\MSRS10_50.MSDPM2012\Reporting Services\ReportServer\RSReportServer.config
    [23/10/2013 11:30:36] Data : Path of inspection output xml = C:\Program Files\Microsoft System Center 2012 R2\DPM\DPMLogs\InspectReport.xml
    [23/10/2013 11:30:36] Information : Instantiating inspect component.
    [23/10/2013 11:30:36] Data : Path of output xml = C:\Program Files\Microsoft System Center 2012 R2\DPM\DPMLogs\InspectReport.xml
    [23/10/2013 11:30:36] Information : Deserializing the check XML from path : C:\Users\admin\AppData\Local\Temp\DPMDC6B.tmp\DPM2012\Setup\checks.xml
    [23/10/2013 11:30:36] Information : Loading the check XML from path : C:\Users\admin\AppData\Local\Temp\DPMDC6B.tmp\DPM2012\Setup\checks.xml
    [23/10/2013 11:30:36] Information : Deserialising the scenario XML from path : C:\Users\admin\AppData\Local\Temp\DPMDC6B.tmp\DPM2012\Setup\scenarios.xml
    [23/10/2013 11:30:36] Information : Loading the check XML from path : C:\Users\admin\AppData\Local\Temp\DPMDC6B.tmp\DPM2012\Setup\scenarios.xml
    [23/10/2013 11:30:37] Information : Getting scenarios for the product: DPM
    [23/10/2013 11:30:37] Information : Getting scenarios for DPM
    [23/10/2013 11:30:37] Information : Getting scenario for Mode:Upgrade, DbLocation:Remote, SKU:Retail and CCMode:NotApplicable

    ETC...

    [23/10/2013 12:26:19] Data : Path of log file = C:\Program Files\Microsoft System Center 2012 R2\DPM\DPMLogs\DpmSetup.log
    [23/10/2013 12:26:19] Information : Getting the string form of report object
    [23/10/2013 12:26:19] Information : Writing the xml string into the file : C:\Program Files\Microsoft System Center 2012 R2\DPM\DPMLogs\\PostInstallInspect.xml
    [23/10/2013 12:26:19] Information : Querying WMI Namespace: \\ARGES\root\cimv2 for query: SELECT * FROM Win32_Service WHERE Name='MSSQL$MSDPM2012'
    [23/10/2013 12:26:19] Information : Querying WMI Namespace: \\ARGES\root\cimv2 for query: SELECT * FROM Win32_Service WHERE Name='SQLAgent$MSDPM2012'
    [23/10/2013 12:26:20] Information : Getting the reporting secure connection level for ARGES/MSDPM2012
    [23/10/2013 12:26:20] Information : Querying WMI Namespace: \\ARGES\root\Microsoft\SqlServer\ReportServer\RS_MSDPM2012\v10\admin for query: SELECT * FROM MSReportServer_ConfigurationSetting WHERE InstanceName='MSDPM2012'
    [23/10/2013 12:26:36] *** Error : ReportingConfiguration.RemoveReportingConfigurations COnfiguration file path: C:\Program Files\Microsoft DPM\SQL\MSRS10_50.MSDPM2012\Reporting Services\ReportServer\RSReportServer.config
    [23/10/2013 12:26:36] Information : Present Secure Connection Level:0
    [23/10/2013 12:26:36] Information : Query WMI provider for path of configuration file for SQL Server 2008 Reporting Services.
    [23/10/2013 12:26:36] Information : Querying WMI Namespace: \\ARGES\root\Microsoft\SqlServer\ReportServer\RS_MSDPM2012\v10\admin for query: SELECT * FROM MSReportServer_ConfigurationSetting WHERE InstanceName='MSDPM2012'
    [23/10/2013 12:26:51] Data : Path of configuration file for SQL Server 2008 Reporting Services = C:\Program Files\Microsoft DPM\SQL\MSRS10_50.MSDPM2012\Reporting Services\ReportServer\RSReportServer.config
    [23/10/2013 12:26:51] Information : **************************************************************************************
    [23/10/2013 12:26:51] Information : Deploy reports
    [23/10/2013 12:26:51] Data : Path of configuration file of SQL Server Reporting Services = \\ARGES\C$\Program Files\Microsoft DPM\SQL\MSRS10_50.MSDPM2012\Reporting Services\ReportServer\RSReportServer.config
    [23/10/2013 12:26:51] Information : Starting Service:ReportServer$MSDPM2012 on machine:ARGES flag restart:True
    [23/10/2013 12:26:54] Information : Starting Service:ReportServer$MSDPM2012 on machine:ARGES flag restart:True
    [23/10/2013 12:26:57] Data : Source folder for reports (.rdl files) = C:\Users\admin\AppData\Local\Temp\DPM6BEC.tmp\DPM2012\Setup\DpmReports
    [23/10/2013 12:26:57] *** Error : CurrentDomain_UnhandledException

    Wednesday, October 23, 2013 10:33 AM

Answers

  • To all,

    Believe it or not but the reason of my problem was a corrupted ISO file (select version)
    on the website of Microsoft (https://www.microsoft.com/Licensing/servicecenter/Download )

    So beware when you download "System Center 2012 R2 - DataProtection Mgr Server and Toolkit Multilanguage" ISO file from this place....
    (I logged a call to Microsoft and they are now investigating this)

    I downloaded the 'corrupted' ISO file even three times 'succesfully' 
    (last time was on 12/02/2014) but the setup.exe was NOT working.
    I get another ISO file (select version also) from Microsoft and now my setup of DPM 2012R2 is working flawlesly

    Have a nice day to all !!!

    • Proposed as answer by Eugene Leitan Wednesday, February 19, 2014 11:30 AM
    • Marked as answer by VermoesenB Wednesday, February 19, 2014 12:59 PM
    Wednesday, February 19, 2014 11:28 AM

All replies

  • Hello

    exactly the same error and fault.

    System OS: fresh 2012 r2

    DB: sql Server 2012 sp1

    And fresh install off dpm, after I got the same error to try the upgrade ...

    So there is something realy wrong with the setup ..

    I already tried to rebuild the wmi repository but also no succes ...

    anyone an idea?

    Regards

    Sven


    • Edited by Sven Bosmans Thursday, October 24, 2013 7:14 AM More info
    Thursday, October 24, 2013 7:12 AM
  • Same problem.


    Serg

    Thursday, October 24, 2013 7:44 AM
  • Same problem

    2 Upgrades and 1 fresh Install failed with the same failur


    Roendi

    Thursday, October 24, 2013 1:25 PM
  • Hi Guys

    By me it was a wronkg query

    Querying WMI Namespace: \\xxx\root\cimv2 for query: SELECT * FROM Win32_Service WHERE Name='SQLSERVERAGENT'
    [25.10.2013 12:55:26] Information : Sql Agent account name = xxx\xxx$
    [25.10.2013 12:55:26] Information : Create a registry containing the trigger job path information
    [25.10.2013 12:55:26] Data : TriggerJobPath = C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\bin\
    [25.10.2013 12:55:26] Information : Add user: xxx\xxx$ to local group: Distributed COM Users on server: BFU44
    [25.10.2013 12:55:26] * Exception :  => DPM Setup failed to add a user to the local group.Review the error details,

    My SQLAgent it was running with LocalSystem Account. So the Query is wrong. I was not able to chang the SQL Agent to run with a Domain Account. So I make a new Instance on my SQL Server with an SQL Agent that running with a Domain Account. And then I was able to make the Upgrade.

    But with the first failed Upgrade it kills most all my  Backup Volumes on my Backup Disc. I see, that the Upgrade Service installed new Driver for the Network card and the SAS Controller! 

    Please make first a Window Update Check for new Driver and look that's the SQLAgent is not running under LocalSystem Account. The Perquisite Check will not say something for this Problem!

     I hop I can help and sorry for my bad english


    Roendi

    Monday, October 28, 2013 8:18 AM
  • Hello

    Not a solution for me, sql server and sql server agent are already running with a domain account.

    Regards

    Sven

    Monday, October 28, 2013 2:39 PM
  • I have the same problem: new install SQL 2012 SP1 instance, new install DPM server 2012 R2.

    In my case, installation was sucessful, but DPM service start fails with id 999 and now I can'i uninstall, repair or something esle DPM with error 4387.

    By the way, I have parallel thread about DPM: can't install, repair with id 814. Maybe something wrong with DPM installer?

    I got DPM distrib from VLSC. Trying install on Windows Server 2012 on VM.

    Tuesday, October 29, 2013 7:31 AM
  • Same problem

    [01.11.2013 11:49:23] * Exception :  => DPM Setup failed to add a user to the local group.Review the error details, take the appropriate action, and then run DPM Setup again.Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException: Exception of type 'Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException' was thrown.
    ...
    [01.11.2013 11:49:23] *** Error : DPM Setup failed to add a user to the local group. Review the error details, take the appropriate action, and then run DPM Setup again.
    ID: 4323. Details: A member could not be added to or removed from the local group because the member does not exist
    [01.11.2013 11:49:23] Information : The DPM upgrade failed.
    For more details, click the Error tab.
     To troubleshoot this issue, see http://go.microsoft.com/fwlink/?LinkID=164487.


    I
    think that the cause of the problem in my case is that there is a difference between Name and NetBIOSName of domain. I think this is DPM 2012 R2 Installer BUG

    Friday, November 01, 2013 9:32 AM
  • Same problem here too.

    New Sql server, New DPM server.

    Tuesday, November 05, 2013 1:45 PM
    • Proposed as answer by Eugene Leitan Friday, February 14, 2014 7:13 AM
    Tuesday, November 05, 2013 6:44 PM
  • Hi

    I added the domain user that was running the sql server agent to the "Distributed COM Users" Group on the DPM server. After that the install was running succesfull. 

    Robert

    • Proposed as answer by Eugene Leitan Friday, February 14, 2014 7:13 AM
    Tuesday, November 05, 2013 9:58 PM
  • Has anyone found a solution to this problem... its doing my head in :(

    Thanks

    Monday, November 11, 2013 1:13 AM
  • HI

    What is the Errormessage in the Logfile?!


    Roendi


    • Edited by Roendi Monday, November 11, 2013 9:10 AM
    Monday, November 11, 2013 9:09 AM
  • ON witch Account you have this Error Message. 2 or 3 Lines above


    Roendi

    Monday, November 11, 2013 9:12 AM
  • SOLVED !!!

    Finally get it solved. Upgrade from DPM 2012 RU3 to DPM 2012 R2 failed and I stuck with non operational backup solution.

    I followed Максимов Алексей solution and the tip about NETBIOS names was the right answer.

    So what i did:

    1. try to upgrade but ended with failed upgrade
    2. I run setup again to uninstall DPM and choose to keep previous protection points
    3. Time to create backup of my DPMDB database. I know.. little bit late but anyway.
    4. I changed logon for 3 services as described in Максимов Алексей post: SQL Server, SQL Server reporting services and SQL Agent. I created one service account which belong to local administrators group. Now this is crucial. When you change logon name for 3 services you MUST USE NETBIOS DOMAIN NAME. This was the key thing in my case. (instead of company.local\dpmservice  I used netbios name COMPANY\dpmservice)
    4. Install DPM 2012 R2 and select correct SQL instance (MSDPM2012 in my case). Instalation sucessfull
    5. From elevated command prompt I run: DpmSync.exe -RestoreDb -DbLoc "D:\dpmdb.bak" -InstanceName "DPMSERVER\MSDPM2012" -DpmDbName "DPMDB_DPMSERVER"
    6. And one final DpmSync was needed with: DpmSync.exe -sync

    Of course.. this is the shortened version. I had several other attempts with SQL 2008 R2, and SQL server 2012 , Uninstall and install of DPM many many times, a lot of coffee, and a lot of bad words about DPM product team!

    Now it is time to update clients.. but this is another story :)

    Bostjan Berglez

    Edited:

    Just now I discovered that Windows 2003 Server is not supported anymore. Agant can't be installed :(

    Here is the link:
    http://technet.microsoft.com/en-us/library/jj860400.aspx

    Cleverly hidden under DPM 2012 (not R2) documentation.

    So.. Now I have to setup additional DPM 2012 non R2 server to backup my Windows 2003 production servers !

    Well.. Thank you MS DPM team !!!  :(

     


    • Edited by berglez Thursday, November 21, 2013 11:51 AM
    • Proposed as answer by Eugene Leitan Friday, February 14, 2014 7:13 AM
    Wednesday, November 20, 2013 5:58 PM
  • THIS IS NOT SOLVED ...

    Even when the sql services running with a domain users listed with netbios names

    The setup is still failing with the same error as in the first post.

    My user is domain admin, local admin and member of the distributed com users.

    all fresh installed software ...

    Regards

    Sven

    Thursday, November 21, 2013 2:57 PM
  • Perhaps this ist a solution for you Sven. These are the changes I had to make to install DPM 2012 R2:

    - Change Login Accounts for Services SQL-Server and SQL-Agent.
    - Keep Login Account Networkservice for Reportingservices!
    - Go to the Registry HKLM\software\microsoft\microsoft dpm\Setup
      and Change SchedulerJobOwnerName and SqlAgentAccountName to the Domainlogins with the NETBIOS names
      as Bostjan Berglez described (the Logins in my Services.msc and the registry were different...).

    That should do the trick!

    Btw: Your Service account Needs noe Domain admin rights.

    Regards

    Christian

     

    Friday, November 22, 2013 1:34 PM
  • Hello,

    Still same problem here. I  did al the things mentioned in the above posts.

    PS : In my registry I do not have a  "SchedulerJobOwnerName" and "SqlAgentAccountName"  key.

    I only have a "DPMNameSpaceID" key...

    Regards

    Bart

    Thursday, November 28, 2013 10:25 AM
  • Sorry for the late answer,

    Same problem as Bart

    not the required keys in the registry

    Regards

    Sven

    Friday, November 29, 2013 9:46 AM
  • I even installed from scratch on a brand new Windows 2012 R2 (std.) server
    (+ SQL 2012 SP1 no cluster) and exactly the same problem !!!

    Even noticed a strange behaviour during the setup.
    At a moment you can choose where to install the files.
    By default it is in C:\Program files\Microsoft System Center 2012 R2\DPM
    If you click on CHANGE and without changing anything(!)   you go back to the previous screen,
    and you click on NEXT.....
    You get the error message : "The Patch C:\Program files\... exceeds 64 characters (ID: 4074).. choose a path with a shorter length..."And you can see that the installation path has change to C:\Program files\Microsoft System Center 2012 R2\DPM\Microsoft System Center 2012 R2\DPM  ?????

    Nice setup !!!

    best regards
    Bart


    • Edited by VermoesenB Monday, December 02, 2013 11:25 AM
    Monday, December 02, 2013 11:24 AM
  • I have gotten this error on two separate site installs when I explode the ISO using WinRAR.  Mounting the ISO to the VM's DVD solves the issue for me. Worth trying~
    Friday, January 03, 2014 2:53 PM
  • Repair WMI

    mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof"

    SQL Server 2008 R2 Configuration Manager WMI Error Saga

    OR

    SCOM & SQL Server — Operations Manager failed to run a WMI query (HRESULT: 0×80041010 Invalid class)

    Have a nice day !!!


    • Edited by Eugene Leitan Friday, February 14, 2014 7:39 AM add link
    Friday, February 14, 2014 7:15 AM
  • To all,

    Believe it or not but the reason of my problem was a corrupted ISO file (select version)
    on the website of Microsoft (https://www.microsoft.com/Licensing/servicecenter/Download )

    So beware when you download "System Center 2012 R2 - DataProtection Mgr Server and Toolkit Multilanguage" ISO file from this place....
    (I logged a call to Microsoft and they are now investigating this)

    I downloaded the 'corrupted' ISO file even three times 'succesfully' 
    (last time was on 12/02/2014) but the setup.exe was NOT working.
    I get another ISO file (select version also) from Microsoft and now my setup of DPM 2012R2 is working flawlesly

    Have a nice day to all !!!

    • Proposed as answer by Eugene Leitan Wednesday, February 19, 2014 11:30 AM
    • Marked as answer by VermoesenB Wednesday, February 19, 2014 12:59 PM
    Wednesday, February 19, 2014 11:28 AM
  • Pretty much the same for me, except I found that if I mounted the downloaded ISO natively, it worked - if I extracted the ISO to a folder and ran it from there, I got this error. 
    Thursday, March 06, 2014 2:00 PM
  • Same problem with error 4387. Trying different ISO images of DPM as suggested VermoesenB but no luck.

    But for me problem was solved when I installed english version of SQL Server on english version of Windowss Server 2012 R2 (instead of russian that I used before).

    Always when I trying use russian Windows Server + russian SQL Server I got error 4387 when DPM setup trying to connect to it. With english version all is ok.


    Wednesday, April 23, 2014 10:07 AM
  • yes yes , thx u very much , its working fine

    mounted the downloaded ISO natively, it worked

    Sunday, June 22, 2014 10:10 AM
  • You da MAN Bart!

    I got the same error the first time I ran DPM setup. On that step......I mulled over where to install DPM and clicked on the CHANGE button....but decided to install it on default path.............so I left the path unchanged....eventually I got the error :-(

    I read your post....then I ran DPM 2012 R2's setup again....did NOT touch that CHANGE button...........VOILA!

    This time DPM's setup finished without a problem

    Strange issue! but thanks a million!


    -Rajeev rajdude.com

    Thursday, July 17, 2014 5:27 PM
  • I have the same issue. I have tried different iso's, they are all the same size, 3,715,272 KB, can anyone confirm this size as a valid iso?

    I've tried various methods of mounting the iso including burning to DVD and using my iod.

    Still no luck.

    Getting desperate, can anyone help?

    For info I see that some people mention the change button, for me this is greyed out as it's an upgrade.

    Thanks

    Andrew

    Friday, September 12, 2014 11:15 AM
  • I'm have save 4387 error.  I have Windows 2012 R2 (RUS) and MS Sql 2012 SP1 RUS. Inside extracted folder System Center 2012 DPM there is folder SQLSVR2012SP1, there file SQLManagementStuido_X64_ENU, install it as new SQL INSTANCE (on exist do not install, horewer SQL 2012 RUS do not was removed). After it install error 4387 was gone and DPM was install success.

    (Sorry for my English)


    • Edited by ATX-250 Thursday, September 18, 2014 4:40 AM
    Thursday, September 18, 2014 4:37 AM