Automatic certificate enrollment for local system failed (0x800706ba) The RPC server is unavailable.

I have a lot of background on this question so bear with me please. :)
I am tasked with getting our domain from 2003 to 2008 level. In order to do that I brought up a 2008 R2 server into the domain and did dcpromo to get it to "play" with the two other 2003 DCs. All is working pretty well except that I'm getting the auto-enrollment
error above not because of a configuration error but because before I even came to work here the Root CA machine was taken out of service and disposed of! So the unable to contact is a true error. The machine no longer exists! I'm sure I'll have to re-setup
a Root CA but wanted some guidance on the path to take on getting from where I am (broke!) to back to healthy!
thanks in advance,
Leo

Hi Vadims,
I do have exactly the same problem as described above. The Root CA no longer exist and the certificates are about to expire, however I have checked the expiration date of the certificate using certmgr in the AD servers (Three server cluster) and I have found
different expiring dates for the same certificate as described bellow. 
Trusted Root Certification Authorities > CONTOSO-CA (exp 17/05/2018)
Intermediate Certification Authorities > CONTOSO-CA (exp 17/05/2018)
Active directory User Object > CONTOSO-CA (exp 17/05/2014)
We currently have an AD cluster conformed by three Windows server 2008 and no currently Certificate Authority role installed on any of them. 
I also have seen using certmgr that all machines in the company have the certificate CONTOSO-CA in the following way:
Trusted Root Certification Authorities > CONTOSO-CA (exp 17/05/2018)
Intermediate Certification Authorities > CONTOSO-CA (exp 17/05/2018)
Active directory User Object > Not present
My question is, can I safely decommission the certificate following the procedure stated above (step 6)? what will be the impact of this certificate (Active directory user object) expiring?
Thanks in advance
Cesar

Similar Messages

  • Adding server in DAG failing with error Error: Cluster API failed: "AddClusterNode() (MaxPercentage=25) failed with 0x800706ba. Error: The RPC server is unavailable

    Hi, Below is teh environments
    DC: Win 2008 R2 SP1
    Exchange Server OS: Win  2012  R2 Std 
    Exchange : 2013 SP1 Ent
    Two Servers with CAS+MB role, already part of one DAG. I am trying to add one new server in existing DAG. The installation of exchange 2013 competed successfully. However when i am adding it to the existing DAG, the below error is coming. Please help
    to solve the issue. Thanks in advance.
    A server-side database availability group administrative operation failed with a transient error. Please try the operation again. Error: An error occurred while attempting a cluster operation. Error: Cluster API failed: "AddClusterNode() (MaxPercentage=25)
    failed with 0x800706ba. Error: The RPC server is unavailable" [Server: cluster owner FQDN]
    Manu

    Hi Manu,
    As Deepak mentioned, please try to enable IPv6 on all member servers first.
    Based on my research, In Microsoft Exchange Server 2013, IPv6 is supported only when IPv4 is also installed and enabled. If Exchange 2013 is deployed in this configuration, and the network supports IPv4 and IPv6, all Exchange servers can send data to and
    receive data from devices, servers, and clients that use IPv6 addresses.
    Please also configure or disable Firewall to allow the connection.
    Thanks
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Mavis Huang
    TechNet Community Support

  • Cluster Aware Updating - Failed to restart - The RPC Server is unavailable

    I have a 3 node Windows Server 2012 R2 Failover Cluster, and I'm having trouble getting Cluster Aware Updating to work properly. I have been able to successfully apply updates that do not require a reboot, however, anytime I have updates that
    do require a reboot, the process fails. The error message says:
    Failed to restart <ServerName>:(ClusterUpdateException) Failed to restart <ServerName>:(Win32Exception) The RPC server is unavailable ==> (Win32Exception) The RPC server is unavailable
    I have verified that the firewall rule to allow automatic restarts is configured according to Technet: Requirements and Best Practices for Cluster-Aware Updating
    I have also made sure that the CAU AD account has local admin rights, as well as "Force shutdown from a remote system" rights on each of the cluster nodes. In this case, I have been applying updates manually from my workstation (which is not a
    member of the cluster) while logged in with Domain Admin rights (as opposed to letting the cluster update itself based on a schedule). I'd like to verify that the entire process works properly before letting it update itself. What am I missing?

     Hi Duct tape and super glue,
    Could you offer us more information about your environment status now, such as
     CUA Role name is online or not, firewall settings and the event ID, “The RPC server is unavailable” is the typical caused by the WMI or DCOM communication was not running or block, please verified that the firewall was set correctly, WinRM
    is enabled.
    More information:
    What is Cluster Aware Updating in Windows Server 2012? (Part 2) [VIDEO]
    http://blogs.technet.com/b/mspfe/archive/2013/03/07/what-is-cluster-aware-updating-in-windows-server-2012-part-2-video.aspx
    Configure Remote Management in Server Manager
    http://technet.microsoft.com/en-us/library/hh921475.aspx
    I’m glad to be of help to you!
    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.

  • Where to get solution for "The RPC server is unavailable"

    On my Windows XP Pro PC I installed a new CMOS button battery.  The result is my PC is almost useless.  Although it boots up and shows the Desktop as before, most MS things will not work (now I can not Copy, Cut, Paste, Move, see Properties, Open
    or Run most MS things and much more).  Many non-MS programs DO work.  When I checked the specifications it says "The RPC server is unavailable"...  So it seems clear that in the 5 seconds it took to insert the new battery that this
    vital RPC was stopped, and that has wrecked most everything.
    [Note: The Time & Date of course needed resetting after the battery change, but that is the one thing I've been able to repair, so I do not need help with that.]
    I have been going through the ANSWERS.MICROSOFT.COM forums for help, and I see there are MANY "RPC-Unavailable" questions and MANY "solutions".  I have tried many, many of these solutions but none work... that is, I think they might
    work IF the RPC was already running, but they do not work on my PC where the RPC is not running.  [For instance, one solution is to go to Services, right-click the RPC, open Properties and click Automatic... but I can not open any Properties.  However,
    I was able to click "Start"... but it would not start.]
    Believe me, I have tried MANY other things, including trying to Repair my Net Framework 3.5... that Failed.  Then downloaded (Firefox still works, though IE does not) the Net Framework 3.5 and tried to reinstall... that Failed, too.  I tried "System
    Restore" but that would not work.  I even inserted my WinXP install disk, set for Boot from CD, and while it said it was booting from CD it simply ignored the disk and booted normally (to the "RPC unavailable" OS).  And I have tried
    many of these "solutions" in all 3 Safe Modes to no avail.
    Can you please suggest which Forum can truly help with this problem?  Thanks very much!

    Dave Patrick, Thank you very much for your response.  But...
    As I said, I have already been combing through that forum with no success.  I posted my question there on March 11 and received only one answer which unfortunately was not at all helpful.  That's why I hoped you could direct me to some better source
    for help.
    Also, I don't understand your last comment: "Since this was triggered from hardware issues you might try the desktop manufacturer forums as well."  I thought it was strictly from the MS OS software.  Do you mean the RPC stuff is in the
    ROM, BIOS or motherboard and so I should hunt a non-MS forum, maybe Dell, or the battery manufacturer?
    Please forgive my probably dumb questions; most of this is over my head so I really crave some help.
    Note:  If you look at the answers.microsoft.com forums you see that this RPC problem goes back many years, and I've seen none attributing it to a new button battery... many different causes, apparently.  And, as I said, none of the many "solutions"
    I've tried have worked.  It just seems to me that after all these years of this problem that surely SOME real solution exists by now.  Where, oh where can I find it? 

  • CCertRequest::Submit: The RPC server is unavailable. 0x800706ba (WIN32: 1722)

    hi,
    I am adding this issue under the title.I tried almost all the possible solution that I found over the internet but all in vain!!
    This is a scenario: I am making a RPC call from one of my windows application to the CA server [DC Name\CA server].
    I am on same domain as the server.
    From the same server I can successfully get the certificates using certsrv.
    Now here is the issue:
    Whenver I try to submit the request from my c# code like this:
    private const int CR_IN_BASE64 = 0x1;
    private const int CR_IN_FORMATANY = 0;
    //strrequest  is the x509 cert request
    CertRequest.Submit( CR_IN_BASE64 | CR_IN_FORMATANY,  strRequest, null, [DC
    Name\CA server])
    I amgetting error as : Server could not be reached: The RPC server is unavailable. 0x800706ba (WIN32: 1722)
    I have tried below things:
    certutil -ping -config "server.domain.com\domain-server-ca
    Connecting to server.domain.com\domain-server-ca
    Server could not be reached: The RPC server is unavailable. 0x800706ba (WIN32: 1722)
    CertUtil: -ping command FAILED: 0x800706ba (WIN32: 1722)
    CertUtil: The RPC server is unavailable.
    The same command from a command prompt on the same computer run as domain admin:
    Server "domain-server-CA" ICertRequest2 interface is alive
    CertUtil: -ping command completed successfully.
    nltest /sc_verify:domain run on this DC gives the following error:
    I_NetLogonControl failed: Status =  50x54b ERROR_ACCESS_DENIED.
    Help in resolving this is greatly appreciated.
    I have tried below mentioned URLS and all the settings/configurations for each of the directroy in CA server  are correct.
    Thanks in advance !!
    HP

    Hermant,
    Are you saying that if you do an nltest /sc_verify:domain.com on the Domain Controller it gives you an ERROR_ACCESS_DENIED? 
    If so you should ensure that the DNS settings are following best practices, as an incorrect configuration may cause secure channel to break.  See the table here:
    http://social.technet.microsoft.com/wiki/contents/articles/18513.active-directory-replication-issues-basic-troubleshooting-steps-single-ad-domain-in-a-single-ad-forest.aspx
    To fix the issue, you'll need to reset the secure channel:
    http://blogs.technet.com/b/asiasupp/archive/2007/01/18/typical-symptoms-when-secure-channel-is-broken.aspx
    Hope this helps.

  • An unexpected error has occurred. Details: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

    While Integrating Reporting Services with SharePoint 2010 getting below error:
    An unexpected error has occurred. Details: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
    Thank,
    Said Al Balushi.

    1- Clicked web service URL, getting the fallowing 
    Reporting Services Error
    The configuration parameter SharePointIntegrated is set to True but Share Point Object Model cannot be loaded. The error was: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
    or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' at Microsoft.ReportingServices.SharePoint.Objects.RSSPImpSecurity.set_StaticCatchAccessDeniedException(Boolean
    value) at Microsoft.ReportingServices.SharePoint.Server.SharePointServiceHelper..ctor() at Microsoft.ReportingServices.SharePoint.Server.SharePointServiceHelperFactory.get_ServiceHelper() WRN: Assembly binding logging is turned OFF. To enable assembly bind
    failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    . (rsSharePointObjectModelNotInstalled) Get Online Help 
    2- Port 135 is open from WFE (App and WEF is same server) to Reporting server 
    3- I am using default instance
    Thanks,
    Said Al Balushi

  • Import.py runs fine locally, but fails on the remote server

    I have the following import.py file (from The Definitive Guide to SOA Oracle Service Bus), which I am calling from an ANT script. It runs fine when I include the parameters for the server running on my machine, but when I change the params to our test server, it connects to the server, but can't create a session. I will include the output of both runs as well. The test server runs on a cluster. Does that make a difference?
    LOCAL OUTPUT:
    Buildfile: C:\Dev\bea\ALSB\crash_alsb\build.xml
    local.import:
    [echo] importscript: import.py
    [java] Initializing WebLogic Scripting Tool (WLST) ...
    [java] Welcome to WebLogic Server Administration Scripting Shell
    [java] Type help() for help on available commands
    [java] Loading Deployment config from : local.import.properties
    [java] Connecting to t3://localhost:7001 with userid weblogic ...
    [java] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'alsb_domain'.
    [java] Warning: An insecure protocol was used to connect to the
    [java] server. To ensure on-the-wire security, the SSL port or
    [java] Admin port should be used instead.
    [java] Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    [java] For more help, use help(domainRuntime)
    [java] Attempting to import : crash-alsb-20090205.jar on ALSB Admin Server listening on : t3://localhost:7001
    [java] Read file crash-alsb-20090205.jar
    [java] Created session name SessionScript1236884174250
    [java] finding service...
    [java] creating session...
    [java] return SessionMBean...
    [java] SessionMBean started session
    [java] ALSBConfiguration MBean found [MBeanServerInvocationHandler]com.bea:Name=ALSBConfiguration.SessionScript1236884174250,Type=com.bea.wli.sb.management.configuration.ALSBConfigurationMBean
    [java] Jar Uploaded
    [java] ALSB project crash_alsb will get overlaid
    [java] Default importPlan
    [java] Update Archive crash_alsb/crash-alsb-20090205
    [java] Update Archive crash_alsb/crash-config
    [java] Update WSDL crash_alsb/resources/wsdls/crash-jxdm-20070731
    [java] Update BusinessService crash_alsb/business/crash-20090305
    [java] Update ProxyService crash_alsb/proxy/crash-jxdm-20090305
    [java] Update Archive crash_alsb/export
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 22900920&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 23950494&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 16994189&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 6011310&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 33251361&gt;
    [java] got a ref TypeId of &lt;method com.bea.wli.config.Ref.getTypeId of com.bea.wli.config.Ref instance at 6566192&gt;
    [java] Modified importPlan
    [java] Update Archive crash_alsb/crash-alsb-20090205
    [java] Update Archive crash_alsb/crash-config
    [java] Update WSDL crash_alsb/resources/wsdls/crash-jxdm-20070731
    [java] Update BusinessService crash_alsb/business/crash-20090305
    [java] Update ProxyService crash_alsb/proxy/crash-jxdm-20090305
    [java] Update Archive crash_alsb/export
    [java] Deployment of : crash-alsb-20090205.jar successful
    BUILD SUCCESSFUL
    Total time: 8 seconds
    TEST SERVER OUTPUT:
    Buildfile: C:\Dev\bea\ALSB\crash_alsb\build.xml
    remote.import:
    [echo] importscript: import.py
    [java] Initializing WebLogic Scripting Tool (WLST) ...
    [java] Welcome to WebLogic Server Administration Scripting Shell
    [java] Type help() for help on available commands
    [java] Loading Deployment config from : remote.import.properties
    [java] Connecting to http://&lt;IP removed&gt;:7001 with userid &lt;userid removed&gt; ...
    [java] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'WL-DEV'.
    [java] Warning: An insecure protocol was used to connect to the
    [java] server. To ensure on-the-wire security, the SSL port or
    [java] Admin port should be used instead.
    [java] Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    [java] For more help, use help(domainRuntime)
    [java] Attempting to import : crash-alsb-20090205.jar on ALSB Admin Server listening on : http://&lt;IP removed&gt;:7001
    [java] Read file crash-alsb-20090205.jar
    [java] Created session name SessionScript1236884107843
    [java] finding service...
    [java] null returned from findService method.
    [java] creating session...
    [java] Unexpected error: exceptions.AttributeError
    [java] Unexpected error: exceptions.AttributeError
    [java] No stack trace available.
    [java] Problem invoking WLST - Traceback (innermost last):
    [java] File "C:\Dev\bea\ALSB\crash_alsb\import.py", line 212, in ?
    [java] File "C:\Dev\bea\ALSB\crash_alsb\import.py", line 130, in importToALSBDomain
    [java] File "C:\Dev\bea\ALSB\crash_alsb\import.py", line 197, in getSessionMBean
    [java] AttributeError: 'None' object has no attribute 'createSession'
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 14 seconds
    import.py
    from java.util import HashMap
    from java.util import HashSet
    from java.util import ArrayList
    from java.io import FileInputStream
    #from com.bea.wli.config import TypeIds
    from com.bea.wli.sb.util import Refs
    from com.bea.wli.config.customization import Customization
    from com.bea.wli.sb.management.importexport import ALSBImportOperation
    from com.bea.wli.sb.management.configuration import SessionManagementMBean
    from com.bea.wli.sb.management.configuration import ALSBConfigurationMBean
    import sys
    #=======================================================================================
    # Entry function to deploy project configuration and resources
    # into a ALSB domain
    #=======================================================================================
    def importToALSBDomain(importConfigFile):
    try:
    SessionMBean = None
    print 'Loading Deployment config from :', importConfigFile
    exportConfigProp = loadProps(importConfigFile)
    adminUrl = exportConfigProp.get("adminUrl")
    importUser = exportConfigProp.get("importUser")
    importPassword = exportConfigProp.get("importPassword")
    importJar = exportConfigProp.get("importJar")
    customFile = exportConfigProp.get("customizationFile")
    passphrase = exportConfigProp.get("passphrase")
    project = exportConfigProp.get("project")
    connectToServer(importUser, importPassword, adminUrl)
    print 'Attempting to import :', importJar, "on ALSB Admin Server listening on :", adminUrl
    theBytes = readBinaryFile(importJar)
    print 'Read file', importJar
    sessionName = createSessionName()
    print 'Created session name ', sessionName
    SessionMBean = getSessionMBean(sessionName)
    print 'SessionMBean started session'
    ALSBConfigurationMBean = findService(String("ALSBConfiguration.").concat(sessionName), "com.bea.wli.sb.management.configuration.ALSBConfigurationMBean")
    print "ALSBConfiguration MBean found", ALSBConfigurationMBean
    ALSBConfigurationMBean.uploadJarFile(theBytes)
    print 'Jar Uploaded'
    if project == None:
    print 'No project specified, additive deployment performed'
    importResult = ALSBConfigurationMBean.importUploaded(None, false, true, passphrase)
    SessionMBean.commitSession(sessionName)
    else:
    print 'ALSB project', project, 'will get overlaid'
    alsbJarInfo = ALSBConfigurationMBean.getImportJarInfo()
    alsbImportPlan = alsbJarInfo.getDefaultImportPlan()
    alsbImportPlan.setPassphrase(passphrase)
    operationMap=HashMap()
    operationMap = alsbImportPlan.getOperations()
    print
    print 'Default importPlan'
    printOpMap(operationMap)
    set = operationMap.entrySet()
    alsbImportPlan.setPreserveExistingEnvValues(true)
    #boolean
    abort = false
    #list of created ref
    createdRef = ArrayList()
    for entry in set:
    ref = entry.getKey()
    op = entry.getValue()
    #set different logic based on the resource type
    type = ref.getTypeId
    print 'got a ref TypeId of ', type
    if type == Refs.SERVICE_ACCOUNT_TYPE or type == Refs.SERVICE_PROVIDER_TYPE:
    if op.getOperation() == ALSBImportOperation.Operation.Create:
    print 'Unable to import a service account or a service provider on a target system', ref
    abort = true
    elif op.getOperation() == ALSBImportOperation.Operation.Create:
    #keep the list of created resources
    createdRef.add(ref)
    if abort == true :
    print 'This jar must be imported manually to resolve the service account and service provider dependencies'
    SessionMBean.discardSession(sessionName)
    raise
    print
    print 'Modified importPlan'
    printOpMap(operationMap)
    importResult = ALSBConfigurationMBean.importUploaded(alsbImportPlan)
    printDiagMap(importResult.getImportDiagnostics())
    if importResult.getFailed().isEmpty() == false:
    print 'One or more resources could not be imported properly'
    raise
    #customize if a customization file is specified
    #affects only the created resources
    if customFile != None :
    print 'Loading customization File', customFile
    print 'Customization applied to the created resources only', createdRef
    iStream = FileInputStream(customFile)
    customizationList = Customization.fromXML(iStream)
    filteredCustomizationList = ArrayList()
    setRef = HashSet(createdRef)
    # apply a filter to all the customizations to narrow the target to the created resources
    for customization in customizationList:
    print customization
    newcustomization = customization.clone(setRef)
    filteredCustomizationList.add(newcustomization)
    ALSBConfigurationMBean.customize(filteredCustomizationList)
    #SessionMBean.commitSession(sessionName)
    SessionMBean.activateSession(sessionName,"active session from import.py")
    print "Deployment of : " + importJar + " successful"
    except:
    print "Unexpected error:", sys.exc_info()[0]
    if SessionMBean != None:
    SessionMBean.discardSession(sessionName)
    raise
    #=======================================================================================
    # Utility function to print the list of operations
    #=======================================================================================
    def printOpMap(map):
    set = map.entrySet()
    for entry in set:
    op = entry.getValue()
    print op.getOperation(),
    ref = entry.getKey()
    print ref
    print
    #=======================================================================================
    # Utility function to print the diagnostics
    #=======================================================================================
    def printDiagMap(map):
    set = map.entrySet()
    for entry in set:
    diag = entry.getValue().toString()
    print diag
    print
    #=======================================================================================
    # Utility function to load properties from a config file
    #=======================================================================================
    def loadProps(configPropFile):
    propInputStream = FileInputStream(configPropFile)
    configProps = Properties()
    configProps.load(propInputStream)
    return configProps
    #=======================================================================================
    # Connect to the Admin Server
    #=======================================================================================
    def connectToServer(username, password, url):
    connect(username, password, url)
    domainRuntime()
    #=======================================================================================
    # Utility function to read a binary file
    #=======================================================================================
    def readBinaryFile(fileName):
    file = open(fileName, 'rb')
    bytes = file.read()
    return bytes
    #=======================================================================================
    # Utility function to create an arbitrary session name
    #=======================================================================================
    def createSessionName():
    sessionName = String("SessionScript"+Long(System.currentTimeMillis()).toString())
    return sessionName
    #=======================================================================================
    # Utility function to load a session MBeans
    #=======================================================================================
    def getSessionMBean(sessionName):
    #SessionMBean = findService("Session","com.bea.wli.config.mbeans.SessionMBean")
    print "finding service..."
    SessionMBean = findService(SessionManagementMBean.NAME,SessionManagementMBean.TYPE)
    if SessionMBean == None:
    print "null returned from findService method."
    print "creating session..."
    SessionMBean.createSession(sessionName)
    print "return SessionMBean..."
    return SessionMBean
    # IMPORT script init
    try:
    # import the service bus configuration
    # argv[1] is the export config properties file
    importToALSBDomain(sys.argv[1])
    except:
    print "Unexpected error: ", sys.exc_info()[0]
    dumpStack()
    raise

    Your Template code is messed up.
    Use the code validation tools below and fix reported errors.
    Code Validation Tools
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Then post your Revised Template.dwt code.  Once the editable regions are positioned properly,  your child pages should perform better.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

    hi.
    i am getting above error i am running my code in  server 64 bit
    in my addon simply i am doing one requirement
    ie.
    just browse the file from the system desktop and take the path copy to the matrix.
    i had developed code in my system it is working
    i can sure it is working fine.
    but today i am checking in client server system
    i am getting above error
    exactly the below line i am getting the error.
    i checked in net
    it is telling that go to services.msc and
    start rpc remote should be start
    i checked in all scenarios but
    still it is not working
    giving the same error.
    If MyTest.ShowDialog() = DialogResult.OK Then
    Exactly above line b1 is closing and then the source code is running..
    after than windows privacy statement is opening..
    Public Sub ShowFolderBrowser()
            Try
                Dim MyTest As New OpenFileDialog
                Dim MyProcs() As Process
                Dim filename As String
                MyProcs = Process.GetProcessesByName("SAP Business One")
                If MyProcs.Length <> 0 Then
                    For i As Integer = 0 To MyProcs.Length - 1
                        Dim MyWindow As New WindowWrapper(MyProcs(i).MainWindowHandle)
                        MyTest.Filter = "Excel files (*.xls)|*.xls|Document files (*.doc)|*.doc"
                        MyTest.InitialDirectory = "C:\"
                        'Exit Sub
                        If MyTest.ShowDialog() = DialogResult.OK Then
                            'if(openFileDialog1.ShowDialog() == DialogResult.OK)
                            'Dim ret As DialogResult = MyTest.ShowDialog(MyWindow)
                            'If ret = DialogResult.OK Then
                            filename = MyTest.FileName
                            Dim f As New System.IO.FileInfo(filename)
                            If (oMatAttach.VisualRowCount > 0) Then
                                If (oMatAttach.Columns.Item("V_1").Cells.Item(oMatAttach.VisualRowCount).Specific.value <> "") Then
                                    oMatAttach.AddRow()
                                End If
                            Else
                                oMatAttach.AddRow()
                            End If
                            'oMatAttach.AddRow()
                            oMatAttach.FlushToDataSource()
                            oDBs_Attach.Offset = oDBs_Attach.Size - 1
                            oDBs_Attach.SetValue("LineId", oDBs_Attach.Offset, oMatAttach.VisualRowCount)
                            oDBs_Attach.SetValue("U_path", oDBs_Attach.Offset, f.DirectoryName)
                            oDBs_Attach.SetValue("U_fname", oDBs_Attach.Offset, f.Name)
                            oDBs_Attach.SetValue("U_atdate", oDBs_Attach.Offset, DateTime.Today.ToString("yyyyMMdd"))
                            oMatAttach.SetLineData(oDBs_Attach.Size)
                            frmContractOrder.Items.Item("40").Enabled = True
                            frmContractOrder.Items.Item("118").Enabled = True
                            System.Windows.Forms.Application.ExitThread()
                        Else
                            System.Windows.Forms.Application.ExitThread()
                        End If
                    Next
                Else
                    Console.WriteLine("No SBO instances found.")
                End If
            Catch ex As Exception
                oApplication.StatusBar.SetText("ShowFolderBrowser Method Failed" & ex.Message, SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Warning)
            Finally
            End Try
        End Sub
        Sub xlwrdclose()
            Try
                If xlapp.Visible = True Then
                    xlapp.Quit()
                ElseIf wrapp.Visible = True Then
                    wrapp.Quit()
                End If
            Catch ex As Exception
                oApplication.StatusBar.SetText("XLWRDClose Method Failed" & ex.Message, SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Warning)
            Finally
            End Try
        End Sub

    Hi,
    You have to make the OpenFileDialog run in a new thread. I use the attached code to allow the user to select a file and then set grid cell to bare filename.  I hope this helps.
    It would be really nice if the SDK gave us a file dialog.
    David

  • Certificate Enroll Errors RPC Server Is Unavailable

    I have a scenario in which I would like some advice before moving on. We have a Server 2012 root CA that was put in about a year-year and a half ago and at the same time there was another 2008 R2 root CA that was installed on a DC that was hosting FSMO roles.
    Well that DC started to die so we transferred the FSMO roles and removed certificate services. However, we only uninstalled the role but as I understand, there is a bit of cleanup to do in AD beyond just removing the role. So when we started to perform the
    first step, I noticed remnants of old servers that are no longer around. I've discovered that our previous admin had made 3 other servers (I believe all 2003) that have all completely gone away and yet are still listed in the Trusted Root Certification Authorities
    on all computers and I find in the event log the following error when I log in to our domain machines of them trying to contact each of the old CA servers:
    Certificate enrollment for Local system failed to enroll for a Machine certificate with request ID N/A from server.domain.org\server (The RPC server is unavailable. 0x800706ba (WIN32: 1722)).
    Now I have no way of knowing whether or not this admin actually properly removed the role before decommissioning these servers and I have no idea why we needed so many servers to be root CA's in the first place? Anyhow, I was wondering if the proper procedure
    would be to remove the root trusted certs from group policy and then clean up the remnant entries in AD as described in the Microsoft documentation of removing a root CA from your environment. I still see some errors and machines requesting to check for stuff
    like CRL with the most recent root CA that we removed so I just wanted to check to see if all of these errors will go away once we finish the cleanup and if there is anything special that needs to be done for the potentially orphaned root CA's. We did take
    a backup of the 2008R2 CA (the one that was on the dying DC) before we removed the role and I have confirmed that our production CA (the one that we would like to remain in production - is a sub CA of an offline root) has already issued new machine and DC
    certs to our domain machinese and domain controllers.
    Sorry for the lengthy post. Please let me know if any more information is required and thank you in advance!

    Hello,
    the root CA normally is the first one in a forest issuing the certificates for the subordinate CAs if required or for certificates.
    http://technet.microsoft.com/en-us/library/cc731183.aspx
    SO there is no need for multiple root CAs.
    To get rid of everything old and be sure the CA is configured correct for your needs I suggest to ask this in
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserversecurity
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Lync Server 2013 Mirroring Configuration

    Hi,
    I am trying to Configure Mirroring in Lync server 2013, when in am selecting Install Database in Topology builder im able to install the Database in Principal but failing while installing the Mirroring following the detail.
    ▼ Install-CsMirrorDatabase         Failed 
     └    Connection: Data Source=BPDBLSQWMV01.domain.com\IMPRINCIPAL;Failover Partner=BPDBLSQWMV02.domain.com\IMMIRROR;Initial Catalog=xds;Integrated Security=True   23-01-2014 22:53:34     
     └ ▼ InstallMirrorDatabaseCmdlet.StartMirroring      23-01-2014 22:53:34   Failed 
         └    Error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) 
    ▼ Details 
    └ Type: COMException 
    └ ▼ Stack Trace 
        └   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 
    at System.Management.ManagementScope.InitializeGuts(Object o) 
    at System.Management.ManagementScope.Initialize() 
    at Microsoft.Rtc.Management.Deployment.MirrorUtils.GetSqlServerAccount(String server, String instanceName) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.PopulateDatabasesForSqlInstance(ISqlInstance sqlInstance) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForMachine(IMachine machine) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForFqdn() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.GetDbListToMirror() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.get_DbInfoList() 
    at Microsoft.Rtc.Management.Deployment.InstallMirrorDatabaseCmdlet.StartMirroring() 
    at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action) 
       23-01-2014 22:54:16   Error 
     └    Error: An error occurred: "System.Runtime.InteropServices.COMException" "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"   23-01-2014 22:54:16   Error 
    Firewall is turned off and can able to configure Mirroring Manually in SQL Server by creating a test database. 
    ▼ Install-CsMirrorDatabase         Failed 
     └    Connection: Data Source=BPDBLSQWMV01.domain.com\IMPRINCIPAL;Failover Partner=BPDBLSQWMV02.domain.com\IMMIRROR;Initial Catalog=xds;Integrated Security=True   23-01-2014 22:53:34     
     └ ▼ InstallMirrorDatabaseCmdlet.StartMirroring      23-01-2014 22:53:34   Failed 
         └    Error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) 
    ▼ Details 
    └ Type: COMException 
    └ ▼ Stack Trace 
        └   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) 
    at System.Management.ManagementScope.InitializeGuts(Object o) 
    at System.Management.ManagementScope.Initialize() 
    at Microsoft.Rtc.Management.Deployment.MirrorUtils.GetSqlServerAccount(String server, String instanceName) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.PopulateDatabasesForSqlInstance(ISqlInstance sqlInstance) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForMachine(IMachine machine) 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForFqdn() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.GetDbListToMirror() 
    at Microsoft.Rtc.Management.Deployment.TopologyParser.get_DbInfoList() 
    at Microsoft.Rtc.Management.Deployment.InstallMirrorDatabaseCmdlet.StartMirroring() 
    at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action) 
       23-01-2014 22:54:16   Error 
     └    Error: An error occurred: "System.Runtime.InteropServices.COMException" "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"   23-01-2014 22:54:16   Error 

    "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" error may occurs.There can be a few reasons for this error:
    It was an issue with RPC ports, verify Firewall opened the full range and Try to run setup completed.
    The remote computer is blocked by the firewall.
    Solution: Open the Group Policy Object Editor snap-in (gpedit.msc) to edit the Group Policy object (GPO) that is used to manage Windows Firewall settings in your organization. Open
    Computer Configuration, open Administrative Templates, open
    Network, open Network Connections, open Windows Firewall, and then open either
    Domain Profile or Standard Profile, depending on which profile you want to configure. Enable the following exception: "Allow Remote Administration Exception" and "Allow File and Printer Sharing Exception".
    Host name or IP address is wrong or the remote computer is shutdown.
    Solution: Verify correct host name or IP address.
    The "TCP/IP NetBIOS Helper" service isn't running.
    Solution: Verity that "TCP/IP NetBIOS Helper" is running and set to auto start after restart.
    The "Remote Procedure Call (RPC)" service is not running on the remote computer.
    Solution: Verity that "Remote Procedure Call (RPC)" is running and set to auto start after restart and.
    The "Windows Management Instrumentation" service is not running on the remote computer.
    Solution: Verity that "Windows Management Instrumentation" is running and set to auto start after restart.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • Search help for local system directories in ABAP program

    Hi all,
    Can anyone tell the standard search help available for local system directories on the client system?
    Regards,
    MVD

    Hi,
    You can use this FM.
    <b>RZL_READ_DIR_LOCAL</b> - Get list of files within specific directory(Application Server)
    *& Report  ZDIRFILES                                                   *
    REPORT  ZDIRFILES    .
    PARAMETER: p_fdir            type pfeflnamel DEFAULT '/usr/sap/tmp'.
    data: begin of it_filedir occurs 10.
            include structure salfldir.
    data: end of it_filedir.
    *START-OF-SELECTION
    START-OF-SELECTION.
    * Get Current Directory Listing for OUT Dir
      call function 'RZL_READ_DIR_LOCAL'
           exporting
                name     = p_fdir
           tables
                file_tbl = it_filedir.
    * List of files are contained within table it_filedir
      loop at it_filedir.
        write: / it_filedir-NAME.
      endloop.
    Or
    <b>FILE_GET_NAME</b> - Retrieve Logical file path.
    Use Transaction 'FILE' to view/create logical file paths
    Hope this will help.
    Regards,
    Ferry Lianto

  • Auto certificate enrollment for computers not happening

    Hi
    In my environment the auto certificate enrollment for computers not happening through GPO.
    Domain computers has permission of enroll on computer certificate template.
    Please suggest.
    Regards,
    Deepak S

    Hi,
    Please reconfirm the Autoenrollment group policy is configured and applied to the user or machine. Verify the Group Policy settings set the proper registry settings. If Group
    Policy is configured correctly, the next step is to troubleshoot enrollment.
    Autoenrollment requires the use of Version 2 or Version 3 Certificate Templates. Certificate Authorities must be on the appropriate OS Version and edition. The table below
    outlines OS Version and Edition support for Version 2 and Version 3 certificate templates.
    The similar thread:
    Certificate Autoenrollment for Domain Computers GPO does not work
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/3797dad9-6c4f-41e4-8c4f-ad37a7570aa4/certificate-autoenrollment-for-domain-computers-gpo-does-not-work?forum=winserversecurity
    Hope this helps.
    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.

  • When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says: The request for account "iCloud" failed.  The server responded with "502" to operation CalDAVSetPropertyQueueableOperation. Help!!??

    When I try entering a new event in iCal on my MacBook Air, I get an error message popping up on my screen that says:
    The server responded with “502”
    The request for account “iCloud” failed. 
    The server responded with “502” to operation CalDAVSetPropertyQueueableOperation.
    The request for account “iCloud” failed.
    I am then given the option of staying Online or going Offline.
    Can anyone help me?
    thanks

    Hello b.krushel,
    Thank you for using Apple Support Communities
    Any number of things could cause this issue, so I would recommend this article named iCloud: Troubleshooting iCloud Calendar found here http://support.apple.com/kb/TS3999.
    These sections in particular:
    General Troubleshooting
    Make sure there are no current issues listed on the System Status that affect iCloud Calendar. The System Status is located on the iCloud Support webpage.
    Make sure you have fully enabled iCloud Calendar for the client you are using (for more setup and troubleshooting information on iOS, OS X, Windows and iCloud.com, see the additional details below).
    Check to see if the issue you are seeing is covered in iCloud Help. To search iCloud Help, visit help.apple.com/icloud.
    Check your settings and preferences as something may not be set up correctly. For example, having incorrect date and time settings can cause issues which are easily resolved by entering the appropriate settings.
    Troubleshooting Calendar on OS X Mountain Lion (iCal on OS X Lion)Note: For instructions on setting up iCloud Calendar with Calendar or iCal on your Mac, see iCloud Setup.If you are having trouble with Calendar or iCal on a Mac and you are using iCloud Calendar, try each of these steps, testing after each to see if the issue is resolved:
    Make sure you are using OS X Lion v10.7.2 or later. Click here for help verifying the version of OS X you are using.
    Make sure your computer is online. Attempt to view www.apple.com and iCloud.com. If you can't connect to the Internet, your iCloud calendars and events will not update in iCal. Click here for more information about troubleshooting your Internet connection.
    Verify that your iCloud member name is entered into the iCloud Preference pane in System Preferences. See iCloud Setup for more information about setting up iCloud on a Mac.
    Make sure you enter and update calendar information in the iCloud section of Calendar or iCal. Only calendars and events in the iCloud section of the Calendar or iCal Calendar list will be pushed to iCloud. Both Calendar and iCal for the Mac support the display of and interaction with multiple accounts and datastores, for example, iCloud, On My Mac, Exchange, Google, and so on. This makes it easy to create or modify events or calendars in a section of  Calendar or iCal that may not be updating iCloud. Learn more about moving local calendars to iCloud.
    In some cases, you may find that you have data duplicated in both the local On My Mac and the iCloud sections of Calendar or iCal. Learn more about resolving this issue.
    You can make the iCloud calendar your default calendar for all new events. In Calendar on OS X Mountain Lion, choose Calendar > Preferences > General, or in OS X Lion, choose iCal > Preferences > Generaland under the Default Calendar heading, select one of the Calendars under the iCloud heading. Close the Preferences window to save this change.
    If recent changes simply don't appear, try forcing Calendar or iCal to refresh by selecting Refresh All from theCalendar menu.
    Make sure your account was successfully created in Calendar on your Mac (or iCal). After upgrading to iCloud Calendar, you may need to quit and reopen Calendar (or iCal). To confirm your account is configured correctly in iCal:
    Open Calendar (or iCal).
    Open Calendar (or iCal) Preferences.
    Click Accounts. You should see an account with your iCloud member name entered.
    Turn iCloud Calendars off and back on
    Quit Calendar (or iCal).
    Choose Apple () menu > System Preferences > iCloud.
    Remove the checkmark in the checkbox next to Calendars.
    Close System Preferences and wait about a minute.
    Open System Preferences and choose iCloud.
    Replace the checkmark next to Calendars.
    Close System Preferences.
    Open Calendar (or iCal) and test to see if the issue has been resolved.
    Restart your computer. This may sound simple, but it does reinitialize your network and application settings and can frequently resolve issues.
    Take care,
    Sterling

  • TS3999 calandar on my macpro says its off an when I try to take it online I get this message: The request for account "iCloud" failed.  The server responded with "507" to operation CalDAVAddCalendarQueueableOperation.

    My calandar on mac pro isn't online, when I try to take it online it says:
    The request for account “iCloud” failed.
    The server responded with
    “507”
    to operation CalDAVAddCalendarQueueableOperation.
    How do I fix it? It's not syncing with my phone or ipad or icloud online. Thanks

    In System Preferences>iCloud, click the account button, log off then back on.

  • The server responded with an error. The request for account "Yahoo" failed. The server responded with "502" to operation CalDAVAccountRefreshQueueableOperation

    The server responded with an error. The request for account "Yahoo" failed. The server responded with "502" to operation CalDAVAccountRefreshQueueableOperation

    I am tired of how Yahoo has gotten worse and worse. It is the ONLY account I get problems with DAILY (even after removing and re-adding). AOL will act up once in a while not taking a saved password but accepting it when OK is clicked.... But Yahoo is always responding with such errors.... Today's calendar error is:
    The request (CalDAVAccountRefreshQueueableOperation) for account “Yahoo” failed.

Maybe you are looking for

  • Bad performance with Payables Open Interface Import

    hello all have a performance problem with the standard program Payables Open Interface Import, as this process is taking a long time to run. could recommend some patch for this issue or a solution. our application is 11.5.10.2 and Database 10g now cr

  • TAX Calculation as per child items for fininsh goods in sale bill.

    hi team, here i am implementing SAP business one in construction company : SCENARIO: TEMPLATE BOM= FG=ABC+D steps: 1.sales order for FG item in which child items we are manually at row level for print layout issues. 2.Delivery challan document we are

  • Idocs in Users Inbox? Table or Function Module

    Hi, We have around 9000+ error Idocs (status 51) for which we had configured the workflow, so that they are directly transffered to the users SAP Inbox. Now we would like to see whether they are still in the Users inbox or the users have acted on the

  • Forwarding mail question

    Hello.. I have two e mail addresses at me.com i want to phase out one of  the e mail addresses. For the time being, can  I "instruct" mail coming into one of the mailboxes to automatically forward all incoming mail to the other e mail account..by usi

  • AQ messages will not progress workflow

    Hi all, I am running WF 2.6.2 on an oracle 9.0.1.1 database on a windows 2000 server machine. We have messages being enqueued onto the WF_INBOUND_QUEUE, which instead of being processed seem to "disappear" the messages do not end up on the WF_INBOUND