DPM 2012 End User Recovery - Extending AD Schema tool crashes with error

Hi everyone,
I deployed SCDPM 2012 R2 in my test environment, but it is an issue. When I'm trying to extend AD Schema by DPMADSchemaExtensionTool.exe, it stops to working with an appcrash message:
Problem signature:
Problem Event Name: APPCRASH
Application Name: dpmdsacl.exe
Application Version: 4.2.1092.0
Application Timestamp: 51b1e89d
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.3.9600.16384
Fault Module Timestamp: 5215fa76
Exception Code: e0434352
Exception Offset: 0000000000008384
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 1033
Additional Information 1: 7644
Additional Information 2: 7644cee486badc818e8a96bb7aba3bfd
Additional Information 3: 2ddc
Additional Information 4: 2ddcde93bf91b9ddbb6e1a89fb9b5892
When I'm trying to do the same with cmd I get an error:
C:\diagEUR>dpmdsacl.exe sc.local CN=MS-ShareMapConfiguration,CN=System,DC=sc,DC=
local /A sc\dpm$
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl
y 'dpmdsacl, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
' or one of its dependencies. Strong name validation failed. (Exception from HRE
SULT: 0x8013141A) ---> System.Security.SecurityException: Strong name validation
failed. (Exception from HRESULT: 0x8013141A)
--- End of inner exception stack trace ---
How can I fix this error?

Hi Seth,
I think your script will be useful, please share them
Here it is. It does the same items that the DPM tool does to the domain, with a few extra steps noted at the top.
We create a group that has the permissions on the container, with the hope that one day, this feature will be available (DCR submitted).  In our support model, we would rather delegate permissions to support personnel to modify group membership than
modify ACLs on system containers.    Your opinion on this may differ, so, feel free to remove it.
It also gives our support personnel permissions to modify the sharemap container - so they can enable DPM EUR servers later.
Both of these have been working fine for preparing a domain / enabling EUR.  Preparing the domain is run by domain admin, then, we leave enabling EUR to our support staff.
Remember, this is not supported, this just makes the same changes that the EUR tool does.  You should use the EUR tool from Microsoft.
#Requires -version 2.0
# File:      DPMEndUserDomainPrep.ps1
# Version:   0.1
# Purpose:   Domain Preparation for DPM End User Recovery
# Tasks compelted by this script:
#      -Create MS-ShareMapConfiguration container in System container of the domain
#            -Create the security group (NETBIOS Domain Name) DPM End User Recovery servers
#      -Give Create,Delete MS-srvShareMappingObjects, ListChildren permissions for the newly created group, on the new MS-ShareMapConfiguration container
#      -Find <SUPPORT GROUP> group in the forest root, and grant full permissions to the MS-ShareMapConfiguration container
Param(
  [string]$domain
if ($domain -eq "")
 write-host ""
 write-host "Script Usage" -foreground cyan
 write-host "-----------------" -foreground cyan
 write-host "./DPMEndUserDomainPrep.ps1 -domain domain.com" -foreground cyan
 write-host ""
 exit
$Title = "DPM End User Recovery Domain Prep"
$Message = "Do you want to continue with domain prep for " + $domain + "?"
$Yes = new-object system.management.automation.host.choicedescription "&Yes","Continue with Domain Prep for $domain"
$No = new-object system.management.automation.host.choicedescription "&No","Exit the script"
$options = [System.Management.Automation.Host.ChoiceDescription[]]($yes, $no)
$result = $host.ui.PromptForChoice($title, $message, $options, 0)
If ($result -eq 1){exit}
# Load the AD module
Import-Module ActiveDirectory
# Figure out our domain
 $root = (Get-ADRootDSE -server $domain).defaultNamingContext
#Get netbios domain name
 $domainname = (Get-ADDomain -Identity $domain).NetBIOSName
#SchemaIDGuid for MS-SrvShareMapping Class
 $ShareMapGUID = new-object guid c356f65b-5540-4d85-9aef-3a7ecae7a878
 $guidNull = new-object Guid 00000000-0000-0000-0000-000000000000
        $guidGroupObject = new-object Guid BF967A9C-0DE6-11D0-A285-00AA003049E2
# Get or create the MS-ShareMapConfiguration container
 $ou = $null
 try
     $ou = Get-ADObject "CN=MS-ShareMapConfiguration,CN=System,$root"
 catch
     Write-host "MS-ShareMapConfiguration container does not currently exist." -foreground yellow
 if ($ou -eq $null)
     $ou = New-ADObject -Type Container -name "MS-ShareMapConfiguration" -Path "CN=System,$root" -Passthru
     write-host "Created Container $ou" -foreground yellow
     start-sleep -s 10
#Create DPM End User Recovery servers group
 write-host "Creating group $domainname DPM End User Recovery Servers" -foreground yellow
 new-adgroup -path "cn=builtin,$root" -name "$domainname DPM End User Recovery Servers" -groupscope universal -groupcategory security -description "Members of this group are delegated permissions to change contents of the System\MS-ShareMapConfiguration
container"
        start-sleep -s 10
 $ServerGroup = get-adgroup "$domainname DPM End User Recovery Servers"
 $ServerGroupsid = [system.security.principal.securityidentifier] $ServerGroup.sid
 write-host ""
 write-host "Created group $ServerGroup" -foreground yellow
#Get <SUPPORT GROUP>in Forest Root
 $forestname = [System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest().Name
 #Check to see if <SUPPORT GROUP> group exists
 $SupportGroup = $null
 $SupportGroup = get-adgroup -server $forestname "<SUPPORT GROUP>"
 if ($SupportGroup -eq $null)
  write-host ""
  write-host "WARNING - <SUPPORT GROUP> Group does not exist in the forest root" -foreground red
  write-host "Permissions must be manually assigned to the MS-ShareMapConfiguration Container for the <SUPPORT GROUP>" -foreground red
  write-host ""
 $SupportGroupSID = [system.security.principal.securityidentifier] $SupportGroup.sid
#Get current ACL for the MS-ShareMapConfiguration Container
 $OUacl = get-acl "ad:cn=ms-sharemapconfiguration,cn=system,$root"
#Create ACE for adding permissions to newly created group to MS-ShareMapConfiguration container
 $ace1 = new-object system.directoryservices.activedirectoryaccessrule $ServerGroupsid, "CreateChild,DeleteChild", Allow, $sharemapguid,"all"
 $ace2 = new-object system.directoryservices.activedirectoryaccessrule $ServerGroupsid, "ListChildren", Allow,$guidNull,"all"
 $ace3 = new-object system.directoryservices.activedirectoryaccessrule $SupportGroupsid, "GenericAll", Allow,$guidNull,"all"
 $OUacl.addaccessrule($ace1)
 $OUacl.addaccessrule($ace2)
 $OUacl.addaccessrule($ace3)
#Apply ACL
 write-host ""
 write-host "Setting ACLs on cn=ms-sharemapconfiguration,cn=system,$root" -foreground yellow
 set-acl -aclobject $OUacl "ad:cn=ms-sharemapconfiguration,cn=system,$root"
#Get current ACL for the DPM End User Recovery Servers group
 $ServerGroupDN = $servergroup.distinguishedname
 $Groupacl = get-acl "ad:$servergroupdn"
 $groupace = new-object system.directoryservices.activedirectoryaccessrule $SupportGroupsid, "GenericAll", Allow,$guidNull,"all"
 $Groupacl.addaccessrule($groupace)
 write-host ""
 write-host "Setting ACLs on $servergroupdn" -foreground yellow
 set-acl -aclobject $Groupacl "ad:$servergroupdn"
 write-host ""
 write-host "Script Complete" -foreground yellow
Seth Cohen

Similar Messages

  • 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).

  • Failed to update permissions used for end-user recovery on . Permissions update failed for the following reason: (ID 3123)

    I patched 2012 to the SP1 level and now I'm getting these warnings on many servers.
    It seems to be considering these items as removable media?
    DPM 2012, SP1, version 4.1.3313.0
    Failed to update permissions used for end-user recovery on skutter.pmuk.net. Permissions update failed for the following reason: (ID 3123)
    Affected area: skutter.pmuk.net
    Occurred since: 11/01/2013 09:04:43
    Description: Failed to update permissions used for end-user recovery on skutter.pmuk.net. Permissions update failed for the following reason: (ID 3123)
     DPM is unable to enumerate contents in 2aad3f75a7e54a0f91b640d7f158f00a , 5702fef3756e4ca8af0554013951f32d , 78f9e6070fbd43aeb328700a88a3c926 , aquaria.pmuk.net_MTATempStore$ , ariel.pmuk.net_MTATempStore$ , atlantis.pmuk.net_downloads , atlantis.pmuk.net_MTATempStore$
    , atlantis.pmuk.net_print$ , capricorn.pmuk.net_MTATempStore$ , CCM.pmuk.net_IvrDirectory , CCM.pmuk.net_MTATempStore$ , CHIRON.pmuk.net_MTATempStore$ , cpeserv-i03.pmuk.net_IMAGING , defiant.pmuk.net_idsc , defiant.pmuk.net_MTATempStore$ ,firebird.pmuk.net_Accts_serve
    , firebird.pmuk.net_case , firebird.pmuk.net_Control ,firebird.pmuk.net_Fuel Cell , firebird.pmuk.net_HADCAD , firebird.pmuk.net_haddesign , firebird.pmuk.net_hadendurancelab , firebird.pmuk.net_HADEngCad , firebird.pmuk.net_HADPCLGainspeed ,firebird.pmuk.net_HADPCLProjects
    ,firebird.pmuk.net_HADPCLQuality  , firebird.pmuk.net_HADPCLStandards , firebird.pmuk.net_hrXerox , firebird.pmuk.net_hs , firebird.pmuk.net_ITXerox , firebird.pmuk.net_JunHigashimura , firebird.pmuk.net_MTATempStore$ ,firebird.pmuk.net_office  ,firebird.pmuk.net_OMPM
    , firebird.pmuk.net_Outplacement ,firebird.pmuk.net_personal , firebird.pmuk.net_PJSESCANNER  ,firebird.pmuk.net_pmuk ,firebird.pmuk.net_pwa ,firebird.pmuk.net_pwa2 , firebird.pmuk.net_scanfret ,firebird.pmuk.net_Siebel8  ,firebird.pmuk.net_Spares 
    ,firebird.pmuk.net_test   ,firebird.pmuk.net_TVDC ,firebird.pmuk.net_xeroxcpe$  ,firebird.pmuk.net_xeroxrd$ , HALLEY.pmuk.net_MTATempStore$ ,legion.pmuk.net_dfs ,legion.pmuk.net_MTATempStore$ , legion.pmuk.net_NETLOGON  ,legion.pmuk.net_SYSVOL
    , nemesis.pmuk.net_KEvin  ,nemesis.pmuk.net_MTATempStore$ , PLEIDES.pmuk.net_Archive , PLEIDES.pmuk.net_DGHOME , PLEIDES.pmuk.net_MTATempStore$  ,PLEIDES.pmuk.net_print$ , roosevelt.pmuk.net_ARCserve$ ,roosevelt.pmuk.net_CHEYALERT$ , roosevelt.pmuk.net_HADQCEOLP
    ,roosevelt.pmuk.net_home3 , roosevelt.pmuk.net_MTATempStore$ ,roosevelt.pmuk.net_smssource , roosevelt.pmuk.net_WindowsEasyTransfer ,roosevelt.pmuk.net_XeroxScan , sagittarius.pmuk.net_MTATempStore$ ,sagittarius.pmuk.net_print$ , sakura.pmuk.net_MTATempStore$
    ,scorpia.pmuk.net_MTATempStore$ ,scorpion.pmuk.net_chandleram, scorpion.pmuk.net_Control  ,scorpion.pmuk.net_CPE ,scorpion.pmuk.net_Digital  ,scorpion.pmuk.net_Electrical , scorpion.pmuk.net_MTATempStore$ , scorpion.pmuk.net_NASUtils ,scorpion.pmuk.net_Personal
    ,scorpion.pmuk.net_QA ,scorpion.pmuk.net_QC , scorpion.pmuk.net_Technical , silverberg.pmuk.net_dfs  ,silverberg.pmuk.net_MTATempStore$ ,silverberg.pmuk.net_NETLOGON , silverberg.pmuk.net_SYSVOL ,skutter.pmuk.net_dfs , skutter.pmuk.net_MTATempStore$ ,skutter.pmuk.net_NETLOGON
    ,skutter.pmuk.net_sharepoint-saver ,skutter.pmuk.net_SYSVOL , tempest.pmuk.net_MTATempStore$ , tempest.pmuk.net_Quarantine ,tempest.pmuk.net_SiteBackups , tempest.pmuk.net_tsdp , titania.pmuk.net_MTATempStore$ , valiant.pmuk.net_domino , valiant.pmuk.net_hadprod
    , valiant.pmuk.net_MTATempStore$ ,valiant.pmuk.net_oracle ,vindaloo.pmuk.net_MTATempStore$ , virgon.pmuk.net_faxclient ,virgon.pmuk.net_FxsSrvCp$ ,virgon.pmuk.net_MTATempStore$ , xavier.pmuk.net_Address ,xavier.pmuk.net_downloads ,xavier.pmuk.net_drivers ,
    xavier.pmuk.net_Exchange IS Starter ,xavier.pmuk.net_ExchangeOAB , xavier.pmuk.net_ExchangeUM , xavier.pmuk.net_MTATempStore$ , xavier.pmuk.net_out-arch , xavier.pmuk.net_Resources$ on the protected computer tower.pmuk.net. 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: )
    Any Ideas? backups are OK, recovery points/sync's etc.
    Mark.

    I am using DPM 2012 R2, what finally worked to me to resolve my problem with EUR was to:
    In DPM I disabled EUR
    In Computer Management delete all DPM Shares (\\?\c:\Program Files\...)
    Using ADSI edit go to CN=MS-ShareMapConfiguration,CN=System,DC=X,DC=Y (Replace X & Y for your domain)
    Delete all of the mappings within the container
    In DPM enable EUR
    In DPM on a protection group I created a new recovery point and selected “Only synchronize (available only for file data)”
    Related article on ADSI Edit and DPM -
    http://social.technet.microsoft.com/Forums/en-US/e0258384-8422-408c-8839-2580d616a9ec/edsi-edit-related-to-data-protection-manager?forum=dpmfilebackup
    I hope this helps
    JD Young

  • Backup DPM 2012 SP1 from Recovery console

    Hi
    I have a problem. I have a server with Windows Server 2008 R2 and DPM 2012 SP1. Because of a recent RAID controler crash i am unable to fix this server to boot to windows. I can only get into recovery console. I see the volumes normaly! So here is a million
    dolar question. How can i backup DPM databases from recovery console so that i can make a full restore when i freshly install new windows and DPM?
    Thanks for all your help in advance.
    Boštjan

    Hi,
    only Thing you need ist MDF and LDF files from DPMDB.
    Try to copy These two files.
    Install your new Serve with same Name and same DPM version
    Restore DB with SQL Management Studio and overwrite the new and existing one
    present DPM Backupstorage to the new server
    Run dpmsync -sync
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • SCCM 2012 R2 - Migration TS Failed in Release Request Step with Error Code 0x80004005

    Hi
    I have Upgraded my lab from SCCM 2012 SP1 to SCCM 2012 R2. Now, While I am running TS for Refresh/Replace Migration, its successfully captures all the Data & settings and can also restores all Data & settings, but at release request Step TS got failed.
    In SMSTS log file error was "Release Request Failed with error code 0x80004005".
    Is there any KB released by Microsoft to fix this issue?? Due to this issue I am unable to run any other TS.

    I've seen a few weird scenarios with task sequences after an upgrade from SP1 to R2.
    In most cases I've been able to fix these "problems" by simply creating a new task sequence, and copy all the custom steps to the new task sequence.
    Also make sure to update boot images, mdt packages, usmt etc. to new versions.
    So thats what I'd try first....
    Ronni Pedersen | Microsoft MVP - ConfigMgr | Blogs:
    www.ronnipedersen.com/ and www.SCUG.dk/ | Twitter
    @ronnipedersen

  • DPM 2012 - SP 2010 - Recovery Single item to network Share

    Hello
    i'm trying to recover one single file, but when i tryed to recover the file 
    anyone know how can i recover the file to a network share ?
    another question
    If i choose to recover to the original site, can i choose the same sql server ? 
    Regards

    Hi,
    You have chosen to restore from the "latest" recovery point which will try to replay logs on the protected server that were not yet backed up.  Select an earlier recovery point and more options will be available.
    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 cannot browse the contents of the virtual machine, Error 958, Details: Internal error code 0x80990F4E

    Hi,
    We have a Microsoft System Center 2012 R2 Data Protection Manager Version 4.2.1235.0 as a Guest system on a Hyper-V node. The Hyper-V role is on a Windows Server 2012 R2
    I receive this error message:
    DPM cannot browse the contents of the virtual machine on the protected computer [computername]. Item level recovery is not supported in the following scenarios.
    1. The VHD contains a dynamic disk inside the guest OS.2. The VHD has no volume.
    3. HyperV role is not installed on DPM server.
    4. Automatic mounting of volumes is disabled on the DPM server.
    1) Try enabling automatic mounting of volumes using mountvol on the DPM server to perform item level recovery
    2) Otherwise perform a full restore of the virtual machine.
    ID: 958
    Details: Internal error code: 0x80990F4E
    One of our protected Hyper-V guest systems backup suddenly refuses to browse the content of the VHD file. The system has 2 VHDs. One for the operating system and one for the data. The OS VHD has no problem with content browsing only the data VHDX started
    this error after the installation of september update. I already checked the status that was suggested (1. the vhd contains a dynamic disk... etc. ) and everything is well configured. I have no free space to make a full recovery cause it's 6TB of data. 
    The updates that were installed are:
    DPM Server
    KB2977629
    KB2966828
    KB2988948
    KB2993651
    KB890830
    KB2977765
    KB2894856
    Protected Guest system
    KB2972213
    KB2977629
    KB2894852
    KB2973114
    KB2993651
    KB2988948
    KB890830
    KB2977765
    KB2894856
    Any advice? Thank you in advance for any help.
    Andras

    Hi,
    Does the protected VM have Windows dedup enabled on the volume that cannot be mounted ?
    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.

  • FDM Schema update failed with error

    Hi,
    Version: FDM 11.1.1.3
    Database: Oracle 11.2.0.1
    Running schema update on 9.3.0 schema failed with following error:
    Ram the schema upgrade utility (Name: FDMApp Schema Level: 9.3.0)
    The upgrade failed approximately 1 minute into the process with the following error:
    Application [FDMApp] failed, check log file!”
    From the log file:
    …\Applications\FDMApp\Outbox\Logs\FDMApp_Update.log
    ** Begin Schema Update Entry **
    Step 12: Update English Language Code to Standard Local Value Failed!
    -2147217873-Data access error
    SQL where it fails:
    ORA-00001: unique constraint (FDMOWNER.PK_TAPPOBJECT_LOCALE) violated
    UPDATE tSecObject_Locale Set LangKey = 1033 Where (LangKey = 1)
    Anyone have any idea on this???
    Thanks!

    Hello,
    I would suggest you make sure that you run the schema update on an appropriate FDM 9.3.0 application.
    Language records (as the one mentioned in the error) do not exist in FDM 9.3.0 and should not be a problem.
    I would suspect you either don't have a 9.3.0 application; or some other custom modification was made.
    Thank you,

  • Schema export failing with error

    Hi,
    I am doing a schema export ,and its failing with the below error.
    EXP-00008: ORACLE error 6550 encountered
    ORA-06550: line 1, column 13:
    PLS-00201: identifier 'SYS.LT_EXPORT_PKG' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    EXP-00083: The previous problem occurred when calling SYS.LT_EXPORT_PKG.schema_info_exp
    Please advice how to solve this.
    Regards

    Hi,
    I think you hit the wrong forum: this forum is for Oracle Berkeley DB, not Oracle DB.
    Best regards,
    Rucong
    Oracle Berkeley DB
    Edited by: rucong.zhao on Dec 24, 2010 1:22 AM

  • How would i fix my iPhone 4 that is stuck in recovery mode and wont properly restore with error code 21?

    I've already updated my iTunes to the latest version available for PC. The phone is stuck in recovery mode and if I disconnect it from the computer it goes black and then cycles in the reboot screen.  All im trying to do is restore to factory settings.

    Hi Richard_NMLB,
    I'm sorry to hear you are having issues with your iPhone. If your iPhone is currently stuck in Recovery Mode, and/or you are unable to restore it from iTunes, you may find the information and troubleshooting steps outlined in the following articles helpful (bit unclear what exactly is happening when you try to restore):
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
    Resolve iOS update and restore errors in iTunes - Apple Support
    Regards,
    - Brenden

  • Re: Recovery DVD tool starts with error message

    Hello.
    Can anyone tell me why when I run "create recovery dvd tool" message appear with "unable to find recovery partition ..."???
    It's a brand new Satellite A660-1c3 bought and opened today.

    This happen if the recovery image is removed or deleted.
    When you buy new notebook model and start it for the first time preinstalled image must be installed first.
    So if you are able to use preinstalled operating system that means you got notebook with recovery image on it. I dont know what have you done but fact is that partitions structure or saved data is changed.
    Have you changed something in disc management tool (expand partitions, changing partitions capacity)?

  • Extended Program check: Need help with error messages

    Hi,
    I am getting the following error message several time on different internal table declarations:
    "Tables with headers are no longer supported in the OO context."
    This is the data declaration that it refers to:
    I_ZDAILY_MVMT TYPE TABLE OF ZDAILY_MVMT WITH HEADER LINE.
    Also, I am getting the following:
    You cannot use the "RANGES" statement within classes. Instead, use the "DATA"
    statement with the type "TYPE/LIKE RANGE OF" . . . . . . . . .              
    This is for the following data declaration:
    RANGES: I_WERKS FOR EBAN-WERKS, "PLANT RANGE
            I_VTWEG FOR I_TVTW-VTWEG,
            I_VTWEG2 FOR I_TVTW-VTWEG,
            I_VKORG FOR I_TVKO-VKORG,
            I_AUART FOR I_TVAK-AUART.
    What do I change and then how do i populate them?
    Thanks,
    John
    Message was edited by:
            John Damion

    We dont use tables with header lines any more.
    Declare a work area and use it transfer the data.
    e.g.
    types: types_ZDAILY_MVMT TYPE standard table of TABLE OF ZDAILY_MVMT.
    data: I_ZDAILY_MVMT TYPE  type_ZDAILY_MVMT,
            wa_zdaily type zdaily_mvmt.
    Now use this work area to move data into the table.
    Regards,
    Amit
    Reward all helpful replies.

  • Mmc is getting crashed with error Faulting module name: KERNELBASE.dll on windows server 2012 r2

    I am facing issue with BizTalk admin console, getting below error, 
    i  thought it will be due to sql server or WMI so restarted sql services as well WMIS services but no luck. restarted Distributed transaction services as well as restarted machine but it did not solve.
    also when i tried with other MMC's i am getting below error in event viewer,
    Faulting application name: mmc.exe, version: 6.3.9600.16384, time stamp: 0x52158765
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532943a3
    Exception code: 0xe0434352
    Fault offset: 0x00011d4d
    Faulting process id: 0x215c
    Faulting application start time: 0x01d004a6e0c31506
    Faulting application path: C:\windows\SysWOW64\mmc.exe
    Faulting module path: C:\windows\SYSTEM32\KERNELBASE.dll
    Report Id: 3d994be7-709f-11e4-80ee-00505689506c
    Faulting package full name: 
    Faulting package-relative application ID:
    Application: mmc.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Reflection.TargetInvocationException
    Stack:
       at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.OnThreadException(System.Object,
    System.Threading.ThreadExceptionEventArgs)
       at System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)
       at System.Windows.Forms.Control.WndProcException(System.Exception)
       at System.Windows.Forms.Control+ControlNativeWindow.OnThreadException(System.Exception)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
       at System.Windows.Forms.UnsafeNativeMethods.IntDestroyWindow(System.Runtime.InteropServices.HandleRef)
       at System.Windows.Forms.UnsafeNativeMethods.DestroyWindow(System.Runtime.InteropServices.HandleRef)
       at System.Windows.Forms.NativeWindow.DestroyHandle()
       at System.Windows.Forms.Control.DestroyHandle()
       at System.Windows.Forms.Control.Dispose(Boolean)
       at Microsoft.BizTalk.Administration.SnapIn.Forms.GroupHub.OperationsCtrl.Dispose(Boolean)
       at System.ComponentModel.Component.Dispose()
       at Microsoft.ManagementConsole.FormView.InternalShutdown()
       at Microsoft.ManagementConsole.View.HandleShutdownRequest(Microsoft.ManagementConsole.Internal.IRequestStatus)
       at Microsoft.ManagementConsole.View.ProcessRequest(Microsoft.ManagementConsole.Internal.Request)
       at Microsoft.ManagementConsole.ViewMessageClient.ProcessRequest(Microsoft.ManagementConsole.Internal.Request)
       at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Microsoft.ManagementConsole.Internal.Request)
       at Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(Microsoft.ManagementConsole.Internal.IMessageClient,
    Microsoft.ManagementConsole.Internal.RequestInfo)
       at Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()
       at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(Microsoft.ManagementConsole.Executive.SimpleOperationCallback)
       at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature,
    Boolean)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
       at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(System.Object, System.Reflection.BindingFlags,
    System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
       at System.Delegate.DynamicInvokeImpl(System.Object[])
       at Microsoft.ManagementConsole.Executive.DelegateMessage.OnExecute()
       at Microsoft.ManagementConsole.Executive.Message.Execute()
       at Microsoft.ManagementConsole.Executive.SnapInThread.DispatchPendingSnapInMessages()
       at Microsoft.ManagementConsole.Executive.SnapInThread.OnDataReadyAsync(System.Object, System.EventArgs)
       at Microsoft.ManagementConsole.Executive.MmcThreadMessageWindow.WndProc(System.Windows.Forms.Message
    ByRef)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
       at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr,
    Int32, Int32)
       at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
       at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
       at System.Windows.Forms.Application.Run()
       at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.Microsoft.ManagementConsole.Internal.ISnapInMessagePumpProxy.Run()
       at Microsoft.ManagementConsole.Internal.ISnapInMessagePumpProxy.Run()
       at Microsoft.ManagementConsole.Executive.SnapInThread.OnThreadStart()
       at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback,
    System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback,
    System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback,
    System.Object)
       at System.Threading.ThreadHelper.ThreadStart()
    does any one face similar issue if yes can you please help me to solve this?
    Regards,
    Amit
    Regards, Amit More

    If its only this MMC might try them over here.
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=biztalkgeneral
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • DPM 2012 R2 unable to connect to Database after failed Update Rollup 4 Installation

    We have a DPM 2012 R2 Server with SQL Server 2012 installed locally.
    We tried to install Rollup 4 for DPM 2012 R2 (KB3009516) using Windows Update
    and it failed with error code 0x80070643. Now when we open the DPM Console
    it is totally empty (no Protection Groups, Servers, Disks, just like a fresh install).
    In the eventlog we get a lot of Errors and warnings:
    Event 941 (MSDPM)
    Unable to connect to the DPM database.  Make sure that SQL Server is running and that it is configured correctly.
    Cannot open database "DPMDB" requested by the login. The login failed.
    Event 4209 (MSDPM)
    The description for Event ID 4209 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    DPM Writer encountered an internal error.  Please restart the DPM Writer service, and then try the backup operation again. For additional troubleshooting information, review the application event log and the DPM Troubleshooting Guide.
    Event 107 (Report Server Windows Service (MSSQLSERVER)
    Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.
    Event 274 (SQLISService110)
    Microsoft SSIS Service:
    Registry setting specifying configuration file does not exist.
    Attempting to load default config file.
    Then there are some Errors/warnings from SQLSERVERAGENT about failed scheduled Jobs.
    I think the failed Installation changed some database Settings, so that now the DPM Console
    cant access the database anymore.
    I would be happy if someone can help me getting this Server working again!

    Our biggest problem is, that the DPM is not working any more. So there is no chance to backup the SQL Server via DPM.
    I think the main problem is that DPM have no access to the database. Every time I start the DPM Application, I get an error "verify that the DPM service is running on this computer". In the eventlog are many errors that the msdpm service was unable
    to connect to DPM Database. Another "information" is that the user 'nt authority\system' failed to open the database of dpm.
    We've tried to reinstall the DPM but its still the same problem. I suppose that is a corrupt database.
    Tomorrow I try to restore the database and hope it will be the solution of our problem.

  • DPM 2012 Install Fails, The Database was not Created ID 811

    Hi.
    I've tried installing DPM on a Standalone Server (SQL + DPM), and get the "Database was not Created" error. I initially tried DPM 2012 R2, and found that there is an issue with Disjoint Namespaces, so went to DPM 2012 SP1, but still getting
    the same error.
    The Install Account has full access rights (sysadmin) to the DPM SQL Instance, however cannot seem to get it right. The account using to do the install has full Enterprise admin, Domain Admin, Backup Operators & Administrators rights.
    When opeining SQL Managemet studio, I can see the database has been created but the setup fails and requires me to revert.Here is the last few lines of the Install Log File, please help I always mark as answer.
    2014-10-01 08:54:49 PM] Information : Configuration.DBConfigurator: Setting Read_Committed_SnapShot ON
    [2014-10-01 08:54:49 PM] Information : Creating tables
    [2014-10-01 08:54:49 PM] Information : Execute the SQL script
    [2014-10-01 08:54:49 PM] Data : FileName = "D:\Program Files\Microsoft System Center 2012\DPM\SQL\100\Tools\Binn\SQLCMD.EXE"
    [2014-10-01 08:54:49 PM] Data : Arguments = -b -E -d DPMDB_S_PRODBACKUP -i MiniSetupDBConfiguration.sql -r -S S-PRODBACKUP\SCDPM
    [2014-10-01 08:54:49 PM] Data : Error code = 0
    [2014-10-01 08:54:49 PM] Information : Adding DPM Server entry in tbl_AM_Server table
    [2014-10-01 08:54:49 PM] Information : Preloading Microsoft.Internal.EnterpriseStorage.Dls.AgentManager.DB.InstalledAgents
    [2014-10-01 08:54:49 PM] Information : Preloading Microsoft.Internal.EnterpriseStorage.Dls.EngineUICommon.DpmThreadPool
    [2014-10-01 08:54:50 PM] Data : Database connection string = Integrated Security=SSPI;server=S-PRODBACKUP\SCDPM;Pooling=false;database=DPMDB_S_PRODBACKUP;Pooling=false
    [2014-10-01 08:54:50 PM] Information : Grant execute permissions on dbo.prc_MOM_ProductionServer_Get to DPMDBReaders$S-PRODBACKUP
    [2014-10-01 08:54:50 PM] Information : Grant execute permissions on dbo.prc_MOM_HeartBeat_Get to DPMDBReaders$S-PRODBACKUP
    [2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Registering DPM category
    [2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Adding DPM Category to GlobalSettings table
    [2014-10-01 08:54:50 PM] Information : Configuration.DBConfigurator: Adding ConsiderOfflineMediaToCheckOffsiteReady to GlobalSettings table
    [2014-10-01 08:54:50 PM] Information : Add job definitions
    [2014-10-01 08:54:52 PM] Information : Creating schedules
    [2014-10-01 08:55:00 PM] * Exception :  => System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception
    from HRESULT: 0x800706BE)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CProxyUtils.HandleErrors(Int32 hr, tagSAFEARRAY* exceptionResult)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.SchedulerServicesProxy.Register(String scheduleXml)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
    [2014-10-01 08:55:00 PM] * Exception :  => The DPM database was not created.Use Add or Remove Programs in Control Panel to remove the DPM files and registry entries that were created during Setup. Verify that SQL Server is properly installed and that
    it is running, and then run Setup again.Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.BackEndErrorException: exception ---> Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.DatabaseConfigurationException: exception ---> System.Reflection.TargetInvocationException:
    Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.CProxyUtils.HandleErrors(Int32 hr, tagSAFEARRAY* exceptionResult)
       at Microsoft.Internal.EnterpriseStorage.Dls.Engine.SchedulerServicesProxy.Register(String scheduleXml)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
       --- End of inner exception stack trace ---
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterScheduleXml(String scheduleXml)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.RegisterSchedule(String scheduleXmlFile)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.PopulateDefaultScheduleDefinitionsInDatabase(DBConfigurationReader dbCfgReader)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Configuration.DBConfigurator.AddJobAndScheduleDefinitions()
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.MiniSetupConfiguration.PopulateDB(Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.MachineSpecificConfiguration(Boolean existingDB, Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName, String instanceName)
    *** Mojito error was: DatabaseCreateFailed; 0; None
       --- End of inner exception stack trace ---
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.MachineSpecificConfiguration(Boolean existingDB, Boolean upgrading, Boolean isRemoteDb, String sqlServerMachineName, String instanceName)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.BackEnd.Configure(Boolean existingDB, Boolean upgrading, String databaseLocation, String sqlServerMachineName, String instanceName, Boolean oemSetup)
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.DpmInstaller.Configure()
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallDpm()
       at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.ProgressPage.InstallerThreadEntry()
    *** Mojito error was: DatabaseCreateFailed; 0; None
    [2014-10-01 08:55:02 PM] *** Error : The DPM database was not created.
    Use Add or Remove Programs in Control Panel to remove the DPM files and registry entries that were created during Setup. Verify that SQL Server is properly installed and that it is running, and then run Setup again.
    ID: 811
    [2014-10-01 08:55:02 PM] Information : Data Protection Manager installation has failed. To return the server to its original state, you must uninstall Data Protection Manager by using Add or Remove Programs in Control Panel. This will remove all files and components
    copied during installation.
    For details, click the Error tab.
    [2014-10-01 09:33:51 PM] Data : Error Code Web Link =
    http://go.microsoft.com/fwlink/events.asp?ProdName=Microsoft System Center Data Protection Manager&ProdVer=4.1.3313.0&EvtID=811&EvtSrc=MSDPM&LCID=1033&P2wAppId=p2wMsdpmEE

    Hi,
    Check the SQL Agent account on the remote SQL server and make sure the user account syntax is in the form of UserName\DomainName and not UserName@DomainName - if it is change it.
    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