New Deployment - Webservice returns an error

Hello All,
I've just setup a new orchestrator 2012 R2 server.
When trying to connect to the webservice, I get the following error:
The server encountered an error processing the request. The exception message is 'An error occurred while executing the command definition. See the inner exception for details.'. See server logs for more details. The exception stack trace is:
   at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)   at System.Data.EntityClient.EntityCommandDefinition.Execute(EntityCommand entityCommand, CommandBehavior
behavior)   at System.Data.EntityClient.EntityCommand.ExecuteReader(CommandBehavior behavior)   at System.Data.EntityClient.EntityCommand.ExecuteScalar[T_Result](Func`2 resultSelector)   at System.Data.Objects.ObjectContext.ExecuteFunction(String
functionName, ObjectParameter[] parameters)   at Microsoft.SystemCenter.Orchestrator.WebService.OrchestratorContext.OnContextCreated()   at invoke_constructor()   at System.Data.Services.DataService`1.CreateProvider()  
at System.Data.Services.DataService`1.HandleRequest()   at System.Data.Services.DataService`1.ProcessRequestForMessage(Stream messageBody)   at SyncInvokeProcessRequestForMessage(Object , Object[] , Object[] )   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object
instance, Object[] inputs, Object[]& outputs)   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&
rpc)   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
I don't get where this is comming from..
The management service and runbook service run under a different account.
Both accounts are local admin on the server and have admin rights within the runbook designer.
Can someone help me with some guidance as to how to troubleshoot this issue?
Thanks!
Filip

Hello Stefan,
The account that the application pool is running under is the same as the one that is running the Management Service.
I've enabled failed request tracing and browsed to the service again.
The following warning is shown:
-MODULE_SET_RESPONSE_ERROR_STATUS
ModuleName
IsapiModule
Notification
EXECUTE_REQUEST_HANDLER
HttpStatus
500
HttpReason
Internal Server Error
HttpSubStatus
0
ErrorCode
The operation completed successfully.
(0x0)
ConfigExceptionInfo

Similar Messages

  • The remote server returned an error :(401) unauthorized in Provider hosted app deployment

    Hi,
    We are trying to deploy the provider hosted app in server environment . we are getting the "The remote server returned an error :(401) unauthorized" error after deploy the app in server.
    stack Trace:
    [webException:Te remote server returned an error:(401) UnAuthorized.]
    System.Net.HeepWebRequest.GetResponse().
    Followed the same MSDN steps , but sill same error. We have attached the certificate and using the same issuer ID in the app web.config.
    Verified the IIS setting and still getting the same error when we call the "Clientcontext.ExecuteQuery()" method.
    Same code is working fine in my Local dev environment.
    If anyone have idea about this issue, please let me know.
    Thank you,
    Mylsamy

    Hi ,Thank you for your response. We have tried all the options and everything is same (Client ID,Issuer ID...etc) and finally figured out the issue.The below link saved my day.http://msdn.microsoft.com/en-us/library/office/dn762439(v=office.15).aspxIn "TokenHelper.cs" GetRealmFromTargetUrl method always return null andWhen we analyze the issue we found some variable name assigned for "Realm" Instead of GUID in SP server.Power shell command to get the Realm in SP server:  Get-SPAuthenticationRealmWe have followed below article to generate the new GUID for realm.http://technet.microsoft.com/en-us/library/jj219756(v=office.15).aspx$c =Get-SPServiceContext -Site "http://<websiteurl>"Set-SPAuthenticationRealm -ServiceContext $c -Realm "a686d436-9f16-42db-09b7-cb578e110ccd".
    Thankyou,Mylsamy

  • Webservices return error NosuchMethod

    Hi Masters.
    I am very new in WebServices and WEBDYNPROS on Java.
    I generated an Webservices to connect to MDM repository that generation finished OK .
    the problem is when I trying to executes that WS since SOAIU editor always return the next message of error
    the xlsd I am testing is :
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:ZWS_VENDOR_MDMVi" xmlns:urn1="urn:com.sap.mdm.ws.beans.zws_vendor_mdm" xmlns:urn2="urn:com.sap.mdm.ws.beans" xmlns:urn3="urn:com.sap.mdm.core.beans">
       <soapenv:Header/>
       <soapenv:Body>
          <urn:searchMDM_VENDORS>
             <urn:query>
                <!--Optional:-->
                <urn1:criteria>
                   <!--Zero or more repetitions:-->
                   <urn1:namedSearchCriteria></urn1:namedSearchCriteria>
                   <!--Zero or more repetitions:-->
                   <urn1:maskCriteria>1</urn1:maskCriteria>
                   <!--Optional:-->
                   <urn1:logicalOperator>1</urn1:logicalOperator>
                   <!--Optional:-->
                   <urn1:keywordCriteria>
                      <!--Optional:-->
                      <urn2:value>1</urn2:value>
                      <!--Optional:-->
                      <urn2:expressionOperator>1</urn2:expressionOperator>
                   </urn1:keywordCriteria>
                   <!--Optional:-->
                   <urn1:mDM_VENDOR_NUMBER>
                      <!--Optional:-->
                      <urn2:logicalOperator></urn2:logicalOperator>
                      <!--Zero or more repetitions:-->
                      <urn2:constraint>
                         <!--Optional:-->
                         <urn2:value>4300024</urn2:value>
                         <!--Optional:-->
                         <urn2:expressionOperator>EQUALS</urn2:expressionOperator>
                      </urn2:constraint>
                   </urn1:mDM_VENDOR_NUMBER>
                </urn1:criteria>
                <!--Optional:-->
                <urn1:resultDefinition>
                <urn2:fieldListType>ALL</urn2:fieldListType>
             <urn2:retrieveKeyMapping>false</urn2:retrieveKeyMapping>
             <urn2:loadAttributes>false</urn2:loadAttributes>
             <urn2:pageNumber>1</urn2:pageNumber>
             <urn2:pageSize>100</urn2:pageSize>
                </urn1:resultDefinition>
             </urn:query>
             <urn:reposInfo>
                <!--Optional:-->
                <urn3:dataLang>English [US]</urn3:dataLang>
                <!--Optional:-->
                <urn3:destinationName>MDM_Destination</urn3:destinationName>
                <!--Optional:-->
                <urn3:repositoryName>VENDOR_CATALOG</urn3:repositoryName>
                <!--Optional:-->
                <urn3:secureConnection>false</urn3:secureConnection>
                <!--Optional:-->
                <urn3:serverName>led1.la.holcim.net</urn3:serverName>
             </urn:reposInfo>
          </urn:searchMDM_VENDORS>
       </soapenv:Body>
    </soapenv:Envelope>
    the error WS is returned .
      <SOAP-ENV:Body xmlns:rpl="urn:ZWS_VENDOR_MDMVi">
          <rpl:searchMDM_VENDORSResponse xmlns:rn0="java:sap/standard" xmlns:rn1="urn:com.sap.mdm.ws.beans" xmlns:rn2="http://schemas.xmlsoap.org/soap/encoding/" xmlns:rn3="urn:com.sap.mdm.core.base" xmlns:rn4="urn:com.sap.mdm.ws.beans.zws_vendor_mdm" xmlns:rn5="urn:com.sap.mdm.core.beans">
             <Response>
                <rn1:executionStatus>
                   <rn1:status>Fault</rn1:status>
                   <rn1:description>com.sap.mdm.extension.session.ConnectionManagerEx.getMdmDestinationProperties(Ljava/lang/String;)Lcom/sap/mdm/session/NetWeaverMdmDestinationProperties;</rn1:description>
                   <rn1:fault>
                      <rn1:severity>Error</rn1:severity>
                      <rn1:text>java.lang.NoSuchMethodError: com.sap.mdm.extension.session.ConnectionManagerEx.getMdmDestinationProperties(Ljava/lang/String;)Lcom/sap/mdm/session/NetWeaverMdmDestinationProperties;
      at com.sap.mdm.ws.data.connection.AbstractWSConnectionManager.createUserSessionContextFromDestination(AbstractWSConnectionManager.java:101)
      at com.sap.mdm.ws.data.connection.BasicAuthenticationConnectionManagerImpl.createAuthenticatedSessionCtx(BasicAuthenticationConnectionManagerImpl.java:72)
      at com.sap.mdm.ws.data.EJBGateWay.createConnection(EJBGateWay.java:404)
      at com.sap.mdm.ws.data.EJBGateWay.executeOperation(EJBGateWay.java:210)
      at com.sap.mdm.ws.data.EJBGateWay.executeOperation(EJBGateWay.java:147)
      at com.sap.mdm.ws.gen.ejbs.ZWS_VENDOR_MDMBean.searchMDM_VENDORS(ZWS_VENDOR_MDMBean.java:47)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    any idea which is the problem . thanks in advaned.

    Hi Ravi.   thanks for you support.
    I made the test On WebService Navigator but the result was the same nosuchMethot. I am really doubing if componets are the currect version.
    Do you Know a guide over currect versions MDM componets are compatibility acorde My Netweaber 7.2  I have the next componets Installed right Now.
    MDM_EP
    1000.710.711.7.0.20110411202139
    MDM_JAVA_API
    1000.710.0.13.109.20141123194400
    MDM_WEB_SERVICES
    1000.710.710.13.0.20141201183346
    MDM_CONNECTOR
    1000.710.711.8.47.20130404190252
    MDM_WEB_SERVICES_RUNTIME
    1000.710.711.13.0.20141201183341
    MDM_JAVA_WD_FRAMEWORK
    1000.710.711.7.39.20130226190744
    Thanks in Advances

  • Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.

    Installed SP 2013 Foundation in my Hyper-V machine
    Created and done all the steps mentioned here http://blogs.msdn.com/b/shariq/archive/2013/05/07/how-to-set-up-high-trust-apps-for-sharepoint-2013-amp-troubleshooting-tips.aspx && http://msdn.microsoft.com/en-us/library/office/fp179901%28v=office.15%29.aspx
    for self signed certificate
    copied those two certificates in my local machine(base machine) D drive
    (D:\Cert)
    Both VM and base machine are in same domain
    Installed VS 2013 in my base machine and create a Provided hosted app with the copied certificates, (For creation i followed the above mentioned URL)
    Just created and hit F5 to run in my base machine, but getting this error
    Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.
    Please help me to resolve this issue, trying to figure out from last 2 days
    Thanks in Advance
    Arun

    Hi Harminder,
    This happens because an app has already been deployed and you are deploying it again using the same version.
    Resolution:
    Open the AppManifest.xml file and change the version.
    Vivek Jagga - MCTS SharePoint
    SharePointExcellence

  • PI SOAP access to third party Webservice,Return ERROR

    Hi Experts,
    I have one soap synchronous scenario access to third party WEBSERVICE,Return error.While testing the wsdl in soap ui, I am getting response, messages showing successfully processed. I think it is pi to send  xmlns:ns1='http://tempuri.org/'  on both sides should not be a single quotation mark, but I don't know how to adjust  PI set. how do you see.
    1、SOAP UI submitted to Webserver XML
    [2014-05-26 08:47:24.662] --- Recv data from SocketId=272 Socket=10880
    POST /MWGate/wmgw.asmx HTTP/1.1
    Accept-Encoding: gzip,deflate
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "http://tempuri.org/MongateCsSpSendSmsNew"
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: 10.0.0.253:8082
    Content-Length: 520
    <soapen:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
        <soapen:Header />
        <soapen:Body>
            <tem:MongateCsSpSendSmsNew>
                <tem:userId>DOA001</tem:userId>
                <tem:password>dennis</tem:password>
                <tem:pszMobis>1313773654</tem:pszMobis>
                <tem:pszMsg>1111</tem:pszMsg>
                <tem:iMobiCount>1</tem:iMobiCount>
                <tem:pszSubPort>*</tem:pszSubPort>
            </tem:MongateCsSpSendSmsNew>
        </soapen:Body>
    </soapen:Envelope>
    2、PI submitted to Webserver XML
    [2014-05-26 08:36:08.725] --- Recv data from SocketId=271 Socket=10704
    POST /MWGate/wmgw.asmx HTTP/1.0
    Accept: */*
    Host: 10.0.0.253:8082
    User-Agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505
    CallingType: SA
    content-id: <[email protected]>
    Content-Type: text/xml; charset=utf-8
    Content-Length: 417
    SOAPACTION: "http://tempuri.org/MongateCsSpSendSmsNew"
        <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
            <SOAP:Header />
            <SOAP:Body>
                <ns1:MongateCsSpSendSmsNew xmlns:ns1='http://tempuri.org/'>
                    <ns1:userId>DOA001</ns1:userId>
                    <ns1:password>dennis</ns1:password>
                    <ns1:pszMobis>13637731567</ns1:pszMobis>
                    <ns1:pszMsg>Constant</ns1:pszMsg>
                    <ns1:iMobiCount>1</ns1:iMobiCount>
                    <ns1:pszSubPort>*</ns1:pszSubPort>
                </ns1:MongateCsSpSendSmsNew>
            </SOAP:Body>
        </SOAP:Envelope>
    3、SXI_MONITOR   Payloads content:
      <ns1:MongateCsSpSendSmsNew xmlns:ns1="http://tempuri.org/">
            <ns1:userId>DOA001</ns1:userId>
            <ns1:password>dennis</ns1:password>
            <ns1:pszMobis>13637731567</ns1:pszMobis>
            <ns1:pszMsg>Constant</ns1:pszMsg>
            <ns1:iMobiCount>1</ns1:iMobiCount>
            <ns1:pszSubPort>*</ns1:pszSubPort>
        </ns1:MongateCsSpSendSmsNew>
    4、PI channel

    Hi Nathan,
    Have you tried the SOAP HTTP Axis function.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380957f?overridelayout=t…
    https://help.sap.com/saphelp_nw04/helpdata/en/45/a39e244b030063e10000000a11466f/content.htm
    Configuring the Receiver Axis SOAP Adapter (SAP Library - SAP Exchange Infrastructure)
    Regards,
    Jannus Botha

  • New R12 install: Apps ORACLE_HOME connection test has returned an error:

    Hi guys,
    New to R12 apps. Installing 2node R12 on linux 5R9. Database installed fine. Called rapidwiz from node 2 and used conf_PROD.txt i moved from database sever. Failing however with error with Database Availability red exclaimed and every other box red x'd except ODBC and environment file in green at post install check. Where do i start troubleshooting my issue please. thanks.
    -Richard.
    RW-50011: Error: - Apps ORACLE_HOME connection test has returned an error: 4
    LOGS:
    /d02/oracle/PROD/inst/apps/PROD_ovm2/admin/log/ohclone.log
    Executing command sh -c "/d02/oracle/PROD/apps/tech_st/10.1.2/opmn/bin/opmnctl stopall ; echo ERRORCODE = $? ERRORCODE_END" Sun Mar 03 08:02:50 CST 2013
    Command returned
    opmnctl: opmn is not running
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    /d02/oracle/PROD/apps/tech_st/10.1.2/opmn/bin/opmnctl: line 636: /d2/R12/ab/apps/R1211XB9/apps/tech_st/10.1.2/opmn/bin/opmn: No such file or directory
    .end err out.
    Command sh -c "/d02/oracle/PROD/apps/tech_st/10.1.2/opmn/bin/opmnctl stopall ; echo ERRORCODE = $? ERRORCODE_END" completed successfully. Sun Mar 03 08:02:51 CST 2013
    OPMN shutdown successfull
    deleting ojmisc file (copied earlier) at /d02/oracle/PROD/apps/tech_st/10.1.2/jdk/jre/lib/ext/ojmisc.jar
    ApplyAppsTechStack_03030802.log
    adlnktools.sh started at Sun Mar 3 08:02:51 CST 2013
    Log file located at /d02/oracle/PROD/inst/apps/PROD_ovm2/logs/ora/10.1.2/install/make_03030802.log
    /d02/oracle/PROD/apps/tech_st/10.1.2/bin/OracleAS_Relink_Patch.sh: line 10: /d2/R12/ab/apps/R1211XB9/apps/tech_st/10.1.2/install/oracle_relink_patch.log: No such file or directory
    /d02/oracle/PROD/apps/tech_st/10.1.2/bin/OracleAS_Relink_Patch.sh: line 11: /d2/R12/ab/apps/R1211XB9/apps/tech_st/10.1.2/install/oracle_relink_patch.out: No such file or directory
    /d02/oracle/PROD/apps/tech_st/10.1.2/bin/OracleAS_Relink_Patch.sh: line 23: /d2/R12/ab/apps/R1211XB9/apps/tech_st/10.1.2/install/oracle_relink_patch.log: No such file or directory
    Error while running adlnktools.sh.
    return code = .16.17.18.21.22.23.24.25.32.33.34.36.37.38
    Please check logfile located at /d02/oracle/PROD/inst/apps/PROD_ovm2/logs/ora/10.1.2/install/make_03030802.log
    /d02/oracle/PROD/inst/apps/PROD_ovm2/logs/ora/10.1.2/install/make_03030802.log
    0.1.2/jdk/jre/lib/i386/client:/d2/R12/ab/apps/R1211XB9/apps/tech_st/10.1.2/jdk/jre/lib/i386 -Wl,--allow-shlib-undefined `cat /d02/oracle/PROD/apps/tech_st/10.1.2/lib/sysliblist` -ldl -lm
    /usr/bin/ld: cannot find -ljava
    collect2: ld returned 1 exit status
    make: *** [d02/oracle/PROD/apps/tech_st/10.1.2/sysman/lib/libnmefsql.so] Error 1
    Failed linking target libnmefsql on Sun Mar 3 08:02:56 CST 2013...
    /usr/bin/ld: cannot find -ljava
    collect2: ld returned 1 exit status
    make: *** [d02/oracle/PROD/apps/tech_st/10.1.2/sysman/lib/emagtm] Error 1
    Error found while relinking
    return code = .16.17.18.21.22.23.24.25.32.33.34.36.37.38
    ApplyApplTop_03030824.log
    Skipping prodsetup driver processing; driver file not found at: /media/sf_allshare/stage/startCD/Disk1/rapidwiz//apps/driver/ovm2_prodsetup.drv
    ApplyApplTop Completed Successfully.
    Edited by: 991478 on Mar 3, 2013 10:28 AM

    I fear that my issue is somehow related to missing rpms....i see this in the make log for 10.1.2 home
    /usr/bin/ld: cannot find -ljava
    collect2: ld returned 1 exit status
    make: *** [d02/oracle/PROD/apps/tech_st/10.1.2/sysman/lib/libnmefvr.so] Error 1
    Failed linking target libnmefvr on Tue Mar 5 10:59:47 CST 2013...
    My rpms look as though i have them all. C anything i might be missing still please?
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep compat-libgcc
    compat-libgcc-296-2.96.138 (i386)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep compat-libstdc++
    compat-libstdc++-296-2.96.138 (i386)
    compat-libstdc++-33-3.2.3.61 (i386)
    compat-libstdc++-33-3.2.3.61 (x86_64)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep compat-libgcc
    compat-libgcc-296-2.96.138 (i386)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep compat-gcc
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep gcc
    gcc-c++-4.1.2.54.el5 (x86_64)
    compat-libgcc-296-2.96.138 (i386)
    libgcc-4.1.2.54.el5 (i386)
    gcc-4.1.2.54.el5 (x86_64)
    gcc-4.1.2.54.el5 (i386)
    libgcc-4.1.2.54.el5 (x86_64)
    gcc-c++-4.1.2.54.el5 (i386)
    gcc-gfortran-4.1.2.54.el5 (x86_64)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep glibc
    glibc-common-2.5.107 (x86_64)
    glibc-common-2.5.107 (i386)
    glibc-devel-2.5.107 (x86_64)
    glibc-devel-2.5.107 (i386)
    glibc-2.5.107 (x86_64)
    glibc-2.5.107 (i686)
    glibc-headers-2.5.107 (x86_64)
    glibc-headers-2.5.107 (i386)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep oracle
    oracle-validated-1.1.0.17.el5 (x86_64)
    oracle-linux-5.0.0.9.el5 (noarch)
    oracle-logos-4.9.17.10 (noarch)
    oraclelinux-release-5.9.0.2 (x86_64)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep oracle-validated
    oracle-validated-1.1.0.17.el5 (x86_64)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep libc
    glibc-common-2.5.107 (x86_64)
    glibc-common-2.5.107 (i386)
    libcap-1.10.26 (x86_64)
    libcap-devel-1.10.26 (x86_64)
    glibc-devel-2.5.107 (x86_64)
    libcap-devel-1.10.26 (i386)
    glibc-devel-2.5.107 (i386)
    glibc-2.5.107 (x86_64)
    libcroco-0.6.1.2.1 (x86_64)
    glibc-2.5.107 (i686)
    libcap-1.10.26 (i386)
    libcroco-devel-0.6.1.2.1 (x86_64)
    glibc-headers-2.5.107 (x86_64)
    libcroco-0.6.1.2.1 (i386)
    glibc-headers-2.5.107 (i386)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep libgomp
    libgomp-4.4.7.1.el5 (x86_64)
    libgomp-4.4.7.1.el5 (i386)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep libXp
    libXpm-3.5.5.3 (x86_64)
    libXpm-3.5.5.3 (i386)
    libXp-1.0.0.8.1.el5 (i386)
    libXp-1.0.0.8.1.el5 (x86_64)
    libXpm-devel-3.5.5.3 (x86_64)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep make
    automake16-1.6.3.8.el5.1 (noarch)
    automake-1.9.6.2.3.el5 (noarch)
    make-3.81.3.el5 (x86_64)
    automake14-1.4p6.13.el5.1 (noarch)
    imake-1.0.2.3 (x86_64)
    automake15-1.5.16.el5.2 (noarch)
    automake17-1.7.9.7.el5.2 (noarch)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep compat
    java-1.4.2-gcj-compat-1.4.2.0.40jpp.115 (x86_64)
    compat-libgcc-296-2.96.138 (i386)
    compat-libstdc++-296-2.96.138 (i386)
    avahi-compat-libdns_sd-0.6.16.10.el5_6 (x86_64)
    compat-libstdc++-33-3.2.3.61 (i386)
    xorg-x11-libs-compat-6.8.2.1.EL.33.0.1 (i386)
    compat-libstdc++-33-3.2.3.61 (x86_64)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep unix
    unixODBC-libs-2.2.11.10.el5 (x86_64)
    unixODBC-libs-2.2.11.10.el5 (i386)
    unixODBC-devel-2.2.11.10.el5 (x86_64)
    unix2dos-2.2.26.2.3.el5 (x86_64)
    dos2unix-3.1.27.2.el5 (x86_64)
    unixODBC-2.2.11.10.el5 (i386)
    unixODBC-2.2.11.10.el5 (x86_64)
    unixODBC-devel-2.2.11.10.el5 (i386)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep libaio
    libaio-devel-0.3.106.5 (i386)
    libaio-0.3.106.5 (x86_64)
    libaio-0.3.106.5 (i386)
    libaio-devel-0.3.106.5 (x86_64)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep elf
    elfutils-libelf-0.137.3.el5 (x86_64)
    elfutils-libs-0.137.3.el5 (x86_64)
    elfutils-0.137.3.el5 (x86_64)
    elfutils-libelf-0.137.3.el5 (i386)
    elfutils-libelf-devel-static-0.137.3.el5 (x86_64)
    elfutils-libelf-devel-0.137.3.el5 (x86_64)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep gdbm
    gdbm-1.8.0.28.el5 (i386)
    gdbm-devel-1.8.0.28.el5 (i386)
    gdbm-1.8.0.28.el5 (x86_64)
    gdbm-devel-1.8.0.28.el5 (x86_64)
    [root@ovm2 ~]# rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" |grep sysstat
    Only missing rpm is see is binutils i386. There is the 86x64. Installing that now.....and will re install APPSSTACK.
    Verions chosen is binutils-2.17.50.0.6-9.0.1.el5.i386.rpm and presnt is it 86X64.
    Edited by: 991478 on Mar 5, 2013 9:59 AM

  • Deploy WebService ERROR

    I have created webservice, at its expansion in oc4j standalone I receive the message. What to do?
    ---- Deployment started. ---- 07.07.2008 13:03:31
    Target platform is Автономное приложение OC4J 10g 10.1.3 (oc4j_extended).
    Wrote WAR file to C:\Java\jdevstudio10133\jdev\mywork\WebServiceExample\Project1\deploy\WebServices.war
    Wrote EAR file to C:\Java\jdevstudio10133\jdev\mywork\WebServiceExample\Project1\deploy\WebServiceExample-Project1-WS.ear
    Uploading file WebServiceExample-Project1-WS.ear ...
    Application Deployer for WebServiceExample-Project1-WS STARTS.
    Copy the archive to C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS.ear
    Initialize C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS.ear begins...
    Removing everything under: C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS
    WARNING: Error during auto unpack of C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS
    Unpacking WebServiceExample-Project1-WS.ear
    Done unpacking WebServiceExample-Project1-WS.ear
    Removing everything under: C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS\WebServices
    WARNING: Error during auto unpack of C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS\WebServices
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS.ear ends...
    Starting application : WebServiceExample-Project1-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : WebServiceExample-Project1-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application WebServiceExample-Project1-WS to site default-web-site under context root WebServiceExample-Project1-context-root
    Operation failed with error:
    Error compiling :C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS\WebServices: Syntax error in source or compilation failed in: C:\Java\oc4j_extended_101310\j2ee\home\application-deployments\WebServiceExample-Project1-WS\WebServices\project1\GetDate.java
    Could not create the Java virtual machine.
    Deployment failed
    Elapsed time for deployment: 7 seconds
    #### Deployment incomplete. #### 07.07.2008 13:03:38

    User,
    Are you running the standalone OC4J with the JVM (and not the JRE by mistake)?
    John

  • Provider-hosted Apps debug error: The remote server returned an error: (401) unauthorised

    Hi,
    Any help appreciated!!
    I'm getting this error: "The remote server returned an error: (401) unauthorised when I debug a provider-hosted app.  I get the error on this line:  
    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
    See code below
    I created a high trust development environment following the instructions provided here:
    http://msdn.microsoft.com/en-us/library/office/fp179901(v=office.15).aspx and
    http://msdn.microsoft.com/library/office/fp179923
    I created a provider-hosted app with the intent to:
    create a SharePoint list in the appweb
    Use self-signed certificate, tokenhepler.cs and sharepointcontext.cs to retrieve current user context and access on SharePoint.  (No changes were made to tokenhelper.cs and sharepointcontext.cs)
    retrieve list items from the SharePoint list in a button click event handler on a default.aspx of the remote web
    What happens:
    The app is deployed successfully to the Dev site
    The SharePoint feature is deployed and activated
    The default.aspx page of the remote web loads
    The error (see image) is returned on clicking of the button
    My environment is an on-premise SharePoint 2013 with AD and my dev box is standalone windows 8.1 running Visual Studio Professional 2013 Update 3.
    The code block below is a copy of the default.aspx code-behind
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Microsoft.SharePoint.Client;
    using Microsoft.IdentityModel.S2S.Tokens;
    using System.Net;
    using System.IO;
    using System.Xml;
    using System.Data;
    using System.Xml.Linq;
    using System.Xml.XPath;
    namespace Idea.GeneratorWeb
    public partial class Default : System.Web.UI.Page
    SharePointContextToken contextToken;
    string accessToken;
    Uri sharepointUrl;
    protected void Page_PreInit(object sender, EventArgs e)
    Uri redirectUrl;
    switch (SharePointContextProvider.CheckRedirectionStatus(Context, out redirectUrl))
    case RedirectionStatus.Ok:
    return;
    case RedirectionStatus.ShouldRedirect:
    Response.Redirect(redirectUrl.AbsoluteUri, endResponse: true);
    break;
    case RedirectionStatus.CanNotRedirect:
    Response.Write("An error occurred while processing your request.");
    Response.End();
    break;
    protected void Page_Load(object sender, EventArgs e)
    //// The following code gets the client context and Title property by using TokenHelper.
    //// To access other properties, the app may need to request permissions on the host web.
    var spContext = SharePointContextProvider.Current.GetSharePointContext(Context);
    //var spContext = new ClientContext("MySPDevInstance");
    //spContext.Credentials = new NetworkCredential("username", "password");
    //using (var clientContext = spContext.CreateUserClientContextForSPHost())
    // clientContext.Load(clientContext.Web, web => web.Title);
    // clientContext.ExecuteQuery();
    // Response.Write(clientContext.Web.Title);
    string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);
    if (contextTokenString != null)
    // Get context token
    contextToken = TokenHelper.ReadAndValidateContextToken(contextTokenString, Request.Url.Authority);
    // Get access token
    sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
    accessToken = TokenHelper.GetAccessToken(contextToken, sharepointUrl.Authority).AccessToken;
    // Pass the access token to the button event handler.
    Button1.CommandArgument = accessToken;
    protected void Button1_Click(object sender, EventArgs e)
    // Retrieve the access token that the Page_Load method stored
    // in the button's command argument.
    string accessToken = ((Button)sender).CommandArgument;
    if (IsPostBack)
    sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
    // REST/OData URL section
    string oDataUrl = "/_api/Web/lists/getbytitle('Diagrams In Idea Generator')/items?$select=Title,Diagram,SharingStatus";
    // HTTP Request and Response construction section
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + oDataUrl);
    request.Method = "GET";
    request.Accept = "application/atom+xml";
    request.ContentType = "application/atom+xml;type=entry";
    request.Headers.Add("Authorization", "Bearer " + accessToken);
    HttpWebResponse response = (HttpWebResponse)request.GetResponse();
    // Response markup parsing section
    XDocument oDataXML = XDocument.Load(response.GetResponseStream(), LoadOptions.None);
    XNamespace atom = "http://www.w3.org/2005/Atom";
    XNamespace d = "http://schemas.microsoft.com/ado/2007/08/dataservices";
    XNamespace m = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";
    List<XElement> entries = oDataXML.Descendants(atom + "entry")
    .Elements(atom + "content")
    .Elements(m + "properties")
    .ToList();
    var entryFieldValues = from entry in entries
    select new
    Character = entry.Element(d + "Title").Value,
    Actor = entry.Element(d + "Diagram").Value,
    CastingStatus = entry.Element(d + "SharingStatus").Value
    GridView1.DataSource = entryFieldValues;
    GridView1.DataBind();
    Any ideas what I might be doing wrong

    Hi ,
    Use the below code
    Public string GetAccessToken(){
    string sharePointSiteUrlHost =  Page.Request["SPHostUrl"].Tostring();
    string AccessToken = tokenHelper.GetS2SAccessTokenWithWindowsIdentity(sharePointSiteUrlHost, Request.LogonUserIdentity);
    return accessToken;
    Than initialize the ClientCOntext with the below Method
     private static ClientContext GetClientContextWithAccessTokenString(string targetUrl, object accessToken)
                ClientContext clientContext = new ClientContext(targetUrl);
                clientContext.AuthenticationMode = ClientAuthenticationMode.Anonymous;
                clientContext.FormDigestHandlingEnabled = false;
                clientContext.ExecutingWebRequest +=
                    delegate(object oSender, WebRequestEventArgs webRequestEventArgs)
                        webRequestEventArgs.WebRequestExecutor.WebRequest.UserAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
                        webRequestEventArgs.WebRequestExecutor.RequestHeaders["Authorization"] =
                            "Bearer " + accessToken;
                return clientContext;
    use this clientCOntext and it will work.
    Do not use
    SharePointContextProvider
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • [URGENT] The remote server returned an error: (503) Server Unavailable

    Hi All,
    Im using vb.net to write a web services. After couple of days the stress test on all the function, my exception catch sometimes is return the error message as a title but sometimes is not, why is this problems? Please advice.
    Below is the coding to connect on the crmod server and this sample code is provided from oracle webservices sample code,
    Public Sub Establish()
    If Not sessionId Is Nothing Then
    Destroy()
    End If
    ' create a container for an HTTP request
    Dim req As HttpWebRequest
    req = WebRequest.Create(GetLogInURL())
    'username and password are passed as HTTP headers
    req.Headers.Add("UserName", UserName)
    req.Headers.Add("Password", Password)
    'req.Credentials = New NetworkCredential(UserName, Password)
    req.UserAgent = "Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0"
    req.KeepAlive = False
    req.Proxy = Nothing
    ' cookie container has to be added to request in order to
    ' retrieve the cookie from the response.
    req.CookieContainer = New CookieContainer
    ' make the HTTP call
    Dim resp As HttpWebResponse
    resp = req.GetResponse()
    If resp.StatusCode = System.Net.HttpStatusCode.OK Then
    'store cookie for later...
    cookie = resp.Cookies("JSESSIONID")
    sessionId = cookie.Value
    End If
    End Sub

    Hi runndn2,
    Yes, absolutely. Please see my reply as below,
    (1) Are you running this single threaded? - is there more than one program running the same request?
    So far, what I did just a single thread. For example, I click on "functionA", after few seconds is display out result, i close the result pages then i submit the "functionA" again.
    (2) Do you have logic to re-try the request when you get a 503?
    I do, but the logic and retry to get the error message is very inconsistency. For example, I click on "functionA", it can display result and no error message within couple of times clicking. But sometimes even I first click on the same function already display out that error message.
    This really confusing where is the error came from, please advice for the possibility.
    Thanks :)

  • Error: Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.

    Hello,
    I have a lightswitch web-application in development, which I need to copy from one computer to the other. I have tried doing it both through Git and by simply copying the solution and opening the project on another machine. The project builds without errors,
    but when I try to debug it, it opens a web-browser, loads to 100% and pops up an error - Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.
    Now, I have tried repairing Visual Studio on my machine, reinstalling .NET framework and setting  <basicAuthentication enabled="false" /> in web.config, yet it still does not run.
    When using Fiddler, it shows an error while loading the application - "HTTP/1.1 500 Internal Server Error" , which I honestly don't know what it means.
    The application uses ComponentOne and Telerik modules, but they are both installed on both machines. 
    The application does run perfectly on the original machine, but it is not working on any other one.
    Both machines are using Win 8.1 and Visual Studio 2013 Update 4.
    I have tried to look this up online, but most people's problem are when they are deploying the app, not just debugging. I would be really happy for any help with this issue.
    Thanks!

    I have the same problem on one of my development machines. Whenever I create a new project, the System.IdentityModel.Tokens.Jwt nuget package is not referenced properly. The project compiles correctly but you are not able to debug as I get the same error
    as you.
    If you open up your references and there is an error next to any of your references make sure that you correct them. In the case of the jwt reference error, I have to remove the jwt reference and then add it back from the packages folder.
    This may not be your problem but could point you in a direction?

  • Microsoft Exchange Server 2013 Cumulative Update 7 Setup - Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error - Set-SharedConfigDC

    What am I trying to do?
    I have tried installing Microsoft Exchange Server 2013 Cumulative Update 7 Setup on a fresh install of Windows Server 2012 R2 but it gets stuck when running the setup exe on Step 8 of 14 “Mailbox Transport Service” I have included full
    error logs at the bottom of the page but the basics are in order it will throw which loop around are:
    [01/20/2015 17:13:20.0084] [2] Beginning processing Set-SharedConfigDC
    [01/20/2015 17:13:20.0178] [2] The call to Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error. Error details No Minimal Required Number of Suitable Directory Servers
    Found in Forest mydomain.com Site Default-First-Site and connected Sites..
    [01/20/2015 17:13:20.0178] [2] No Minimal Required Number of Suitable Directory Servers Found in Forest mydomain.com Site Default-First-Site and connected Sites.
    Exchange is currently running in the envirmonet on 2010 Sp3 I am installing 2013 CU7 fresh so I can migrate the databases over.
    What am I running?
    2 X DC on domain and forest functional level 2008R2 both writable
    1 X fresh install of Windows 2012 R2 which is domain joined
    What have I tried?
    Checked Ipv6 is enabled on all DC NICS and Existing Exchange Servers
    Rebooted every server
    Run setup as Administrator
    My account is part of the domain Enterprise Admin group
    Tried adding "Exchange Server" or "Exchange Enterprise Servers" to the group policy and doing the relevant gpupdate /force and reboot :
    Computer Configuration Windows Settings
    Security Settings + Local Policies
    User Rights Assignment Mange auditing and security log
    Turned off firewall on DC and Exchange Server even stopped the service
    Turned off all AV on the DC and Exchange Server
    Checked I could telnet to global catalog servers on port 3268 which I can
    Checked the global catalog records existed in DNS which they all do
    Done the obvious ping tests all round which confirms connectivity
    Schema has been prepared using appropriate commands before running the setup exe
    setup.exe /PrepareSchema /IacceptExchangeServerLicenseTerms
    Making sure the following path has full permissions:
    EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
    Restarted Microsoft Exchange Active Directory Topology service
    DcDiag all looks good
    What have I noticed that is suspicious?
    Microsoft Exchange Transport service will not start even though both of its dependences services have started:
    Microsoft Filtering Management Service
    Microsoft Exchange Active Directory Topology Service
    It will eventually error with
    “Windows could not start the Microsoft Exchange Transport Service on local computer
    Error 1053: This Service did not respond to the start of control request in a timely fashion”
    This error is from the GUI wizard itself:
    Error:
    The following error was generated when "$error.Clear();
    $maxWait = New-TimeSpan -Minutes 8
    $timeout = Get-Date;
    $timeout = $timeout.Add($maxWait);
    $currTime = Get-Date;
    $successfullySetConfigDC = $false;
    while($currTime -le $timeout)
    $setSharedCDCErrors = @();
    try
    Set-SharedConfigDC -DomainController $RoleDomainController -ErrorVariable setSharedCDCErrors -ErrorAction SilentlyContinue;
    $successfullySetConfigDC = ($setSharedCDCErrors.Count -eq 0);
    if($successfullySetConfigDC)
    break;
    Write-ExchangeSetupLog -Info ("An error ocurred while setting shared config DC. Error: " + $setSharedCDCErrors[0]);
    catch
    Write-ExchangeSetupLog -Info ("An exception ocurred while setting shared config DC. Exception: " + $_.Exception.Message);
    Write-ExchangeSetupLog -Info ("Waiting 30 seconds before attempting again.");
    Start-Sleep -Seconds 30;
    $currTime = Get-Date;
    if( -not $successfullySetConfigDC)
    Write-ExchangeSetupLog -Error "Unable to set shared config DC.";
    " was run: "System.Exception: Unable to set shared config DC.
    at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow, String helpUrl)
    at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
    at Microsoft.Exchange.Management.Deployment.WriteExchangeSetupLog.InternalProcessRecord()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
    Exchange logs which have been written:
    **The error will loop around for 8 minutes on trying to set-sharedconfig DC whatever this is trying to do ??
    [01/20/2015 17:13:20.0084] [2] Active Directory session settings for 'Set-SharedConfigDC' are: View Entire Forest: 'True', Configuration Domain Controller:mydomain.com', Preferred Global Catalog: 'mydomain.com', Preferred Domain Controllers:
    '{ mydomain.com}'
    [01/20/2015 17:13:20.0084] [2] User specified parameters: 
    -DomainController:mydomain.com' -ErrorVariable:'setSharedCDCErrors' -ErrorAction:'SilentlyContinue'
    [01/20/2015 17:13:20.0084] [2] Beginning processing Set-SharedConfigDC
    [01/20/2015 17:13:20.0178] [2] The call to Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error. Error details No Minimal Required Number of Suitable Directory Servers
    Found in Forest mydomain.com Site Default-First-Site and connected Sites..
    [01/20/2015 17:13:20.0178] [2] No Minimal Required Number of Suitable Directory Servers Found in Forest mydomain.com Site Default-First-Site and connected Sites.
    [01/20/2015 17:13:20.0178] [2] The call to Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error. Error details No Minimal Required Number of Suitable Directory Servers
    Found in Forest mydomain.com Site Default-First-Site and connected Sites..
    [01/20/2015 17:13:20.0178] [2] No Minimal Required Number of Suitable Directory Servers Found in Forest mydomain.com Site Default-First-Site and connected Sites.
    [01/20/2015 17:13:20.0178] [2] Ending processing Set-SharedConfigDC
    [01/20/2015 17:13:20.0193] [2] Beginning processing Write-ExchangeSetupLog
    [01/20/2015 17:13:20.0193] [2] An error ocurred while setting shared config DC. Error: The call to Microsoft Exchange Active Directory Topology service on server 'TopologyClientTcpEndpoint (localhost)' returned an error. Error details
    No Minimal Required Number of Suitable Directory Servers Found in Forest mydomain.com Site Default-First-Site and connected Sites..
    [01/20/2015 17:13:20.0193] [2] Ending processing Write-ExchangeSetupLog
    [01/20/2015 17:13:20.0193] [2] Beginning processing Write-ExchangeSetupLog
    [01/20/2015 17:13:20.0193] [2] Waiting 30 seconds before attempting again.
    [01/20/2015 17:13:20.0193] [2] Ending processing Write-ExchangeSetupLog
    [01/20/2015 17:13:50.0195] [2] Beginning processing Write-ExchangeSetupLog
    [01/20/2015 17:13:50.0273] [2] [ERROR] Unable to set shared config DC.
    [01/20/2015 17:13:50.0273] [2] [ERROR] Unable to set shared config DC.
    [01/20/2015 17:13:50.0288] [2] Ending processing Write-ExchangeSetupLog
    [01/20/2015 17:13:50.0288] [1] The following 1 error(s) occurred during task execution:
    [01/20/2015 17:13:50.0288] [1] 0.  ErrorRecord: Unable to set shared config DC.
    [01/20/2015 17:13:50.0288] [1] 0.  ErrorRecord: System.Exception: Unable to set shared config DC.
       at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow, String helpUrl)
       at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
       at Microsoft.Exchange.Management.Deployment.WriteExchangeSetupLog.InternalProcessRecord()
       at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
       at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
    [01/20/2015 17:13:50.0288] [1] [ERROR] The following error was generated when "$error.Clear();
    $maxWait = New-TimeSpan -Minutes 8
    $timeout = Get-Date;
    $timeout = $timeout.Add($maxWait);
    $currTime = Get-Date;
    $successfullySetConfigDC = $false;
    while($currTime -le $timeout)
    $setSharedCDCErrors = @();
    try
    Set-SharedConfigDC -DomainController $RoleDomainController -ErrorVariable setSharedCDCErrors -ErrorAction SilentlyContinue;
    $successfullySetConfigDC = ($setSharedCDCErrors.Count -eq 0);
    if($successfullySetConfigDC)
    break;
    Write-ExchangeSetupLog -Info ("An error ocurred while setting shared config DC. Error: " + $setSharedCDCErrors[0]);
    catch
    Write-ExchangeSetupLog -Info ("An exception ocurred while setting shared config DC. Exception: " + $_.Exception.Message);
    Write-ExchangeSetupLog -Info ("Waiting 30 seconds before attempting again.");
    Start-Sleep -Seconds 30;
    $currTime = Get-Date;
    if( -not $successfullySetConfigDC)
    Write-ExchangeSetupLog -Error "Unable to set shared config DC.";
            " was run: "System.Exception: Unable to set shared config DC.
       at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target, Boolean reThrow, String helpUrl)
       at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
       at Microsoft.Exchange.Management.Deployment.WriteExchangeSetupLog.InternalProcessRecord()
       at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
       at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)".
    [01/20/2015 17:13:50.0288] [1] [ERROR] Unable to set shared config DC.
    [01/20/2015 17:13:50.0288] [1] [ERROR-REFERENCE] Id=AllADRolesCommonServiceControl___ee47ab1c06fb47919398e2e95ed99c6c Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
    [01/20/2015 17:13:50.0288] [1] Setup is stopping now because of one or more critical errors.
    [01/20/2015 17:13:50.0288] [1] Finished executing component tasks.
    [01/20/2015 17:13:50.0304] [1] Ending processing Install-BridgeheadRole
    Windows Event Viewer:
    Process Microsoft.Exchange.Directory.TopologyService.exe (PID=5276) Forest mydomain.com. Exchange Active Directory Provider couldn't find minimal required number of suitable Global Catalog servers
    in either the local site 'Default-First-Site' or the following sites:

    Hi apl228,
    1. Please make sure the IPv6 is enabled.
    2. Please make sure the account that install Exchange server has Administrator permission.
    3. Please make sure DNS has been configured correctly.
    Thanks
    Mavis Huang
    TechNet Community Support

  • System.InvalidOperationException: Call to Excel Services returned an error. --- Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException: We're sorry. We ran into a problem completing your request

    0
    HI All,
    I  am having problem with the power pivot dashboard.
    power pivot dashboard processing job fails with the follwoing error message.
    SP 2013 with 2008 r2
    SQL 2014 power pivot on new analysis server.
    Data refersh of cube and database works finw form the power pivot gallery.
    The Execute method of job definition Microsoft.AnalysisServices.SPAddin.UsageProcessingTimerJob (ID 726034a7-b9a9-45a6-b720-640b3f785e49) threw an exception. More information
    is included below.  Call to Excel Services returned an error.
    ULS error:
    EXCEPTION: System.InvalidOperationException: Call to Excel Services returned an error. ---> Microsoft.AnalysisServices.SPClient.Interfaces.ExcelServicesException: We're sorry.
    We ran into a problem completing your request. ---> Microsoft.Office.Excel.Server.WebServices.ExcelServerApiException: We're sorry. We ran into a problem completing your request.   
     at Microsoft.Office.Excel.Server.WebServices.ApiShared.ExecuteServerSessionMethod(Boolean hasSessionId, String sessionId, CoreServerSessionMethod coreWebMethod, String name,
    Boolean skipFeatureCheck)   
     at Microsoft.Office.Excel.Server.WebServices.ExcelService.OpenWorkbookInternal(String workbookPath, Boolean editingMode, String uiCultureName, String dataCultureName, Boolean
    newWorkbook, Boolean suppressRefreshOnOpen, Boolean openExclusive, Status[]& status)   
     at Microsoft.Office.Excel.Server.WebServices.ExcelService.OpenWorkbookEx(String workbookPath, String uiCultureName, String dataCultureName, Boolean exclusive, Status[]&
    status)    
     at Microsoft.AnalysisServices.SPClient.ExcelApi.<>c__DisplayClassa.<OpenWorkbookEx>b__9(ExcelService svc, Status[]& status)   
     at Microsoft.AnalysisServices.SPClient.ExcelApi.Call[T](String fileUrl, ExcelServiceCall`1 serviceCall)     -
    -- End of inner exception stack trace ---     -
    -- End of inner exception stack trace ---   
     at Microsoft.AnalysisServices.SPClient.ExcelApi.Call[T](String fileUrl, ExcelServiceCall`1 serviceCall)   
     at Microsoft.AnalysisServices.SPClient.ExcelApi.Call[T](String fileUrl, ExcelServiceCall`1 serviceCall, String methodName, Object[] parameters)   
     at Microsoft.AnalysisServices.SPClient.ExcelApi.OpenWorkbookEx(String fileUrl, String uiCultureName, String dataCultureName, Boolean exclusive)   
     at Microsoft.AnalysisServices.SPClient.ASSPClientProxy.OpenWorkbookModelForRefresh(String workbookPath, SessionLifetimePolicy lifetimePolicy)   
     at Microsoft.AnalysisServices.SPAddin.UsageProcessingTimerJob.RefreshUsageCube(GeminiServiceApplication application)   
     at Microsoft.AnalysisServices.SPAddin.UsageProcessingTimerJob.Execute(Guid targetInstanceId)
    Thanks
    Ravi

    HI Ravi,
    Did you find the solution?
    Thanks in advance
    Regards,
    Faraz Javaid

  • ASMX web service and The remote server returned an error: (500) Internal Server Error issue

    i have developed a very small web service and which is hosted along with our web site. our webservice url is
    http://www.bba-reman.com/Search/SearchDataIndex.asmx
    web service code
    namespace WebSearchIndex
    #region SearchDataIndex
    /// <summary>
    /// SearchDataIndex is web service which will call function exist in another library for part data indexing
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
    // [System.Web.Script.Services.ScriptService]
    public class SearchDataIndex : System.Web.Services.WebService
    //public AuthHeader ServiceAuth=null;
    public class AuthHeader : SoapHeader
    public string Username;
    public string Password;
    #region StartIndex
    /// <summary>
    /// this function will invoke CreateIndex function of SiteSearch module to reindex the data
    /// </summary>
    [WebMethod]
    public string StartIndex(AuthHeader auth)
    string strRetVal = "";
    if (auth.Username == "Admin" && auth.Password == "Admin")
    strRetVal = SiteSearch.CreateIndex(false);
    else
    SoapException se = new SoapException("Failed : Invalid credentials",
    SoapException.ClientFaultCode,Context.Request.Url.AbsoluteUri,new Exception("Invalid credentials"));
    throw se;
    return strRetVal;
    #endregion
    #endregion
    when i was calling that web service from my win apps using
    HttpWebRequest
    class then getting error The remote server returned an error: (500) Internal Server Error
    here is code of my win apps from where i am calling web service
    string strXml = "";
    strXml = "<s:Envelope xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'><s:Body><StartIndex xmlns='http://tempuri.org/' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'><auth><Username>joy</Username><Password>joy</Password></auth></StartIndex></s:Body></s:Envelope>";
    string url = "http://www.bba-reman.com/Search/SearchDataIndex.asmx";
    HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
    req.Method = "POST";
    req.ContentType = "text/xml";
    req.KeepAlive = false;
    req.ContentLength = strXml.Length;
    StreamWriter streamOut = new StreamWriter(req.GetRequestStream(), System.Text.Encoding.ASCII);
    streamOut.Write(strXml);
    streamOut.Close();
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    string strResponse = streamIn.ReadToEnd();
    streamIn.Close();
    i am just not being able to understand when this line execute
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    then getting the error The remote server returned an error: (500) Internal Server Error
    not being able to understand where i made the mistake. mistake is in the code of web service end or in calling code?
    help me to fix this issue. thanks

    Hi Mou,
    I just tried your win app code about calling web service, but failed. I got the 500 error after I called your service:
    The error message I quoted from Fiddler:
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Failed : Invalid credentials ---&gt; System.Exception: Invalid credentials
    --- End of inner exception stack trace ---
    at BBAReman.WebSearchIndex.SearchDataIndex.StartIndex(AuthHeader auth)</faultstring><faultactor>http://www.bba-reman.com/Search/SearchDataIndex.asmx</faultactor><detail /></soap:Fault></soap:Body></soap:Envelope>
    I am not totally sure that error occurred by the authentication. But I suggest you can try to add this service into your project using this method below:
    1.right click the Reference and select Add Service Reference
    2.input your service link and click "Go"
    And you can use this service as the following:
    private async void callService()
    ServiceReference1.SearchDataIndexSoapClient client =new ServiceReference1.SearchDataIndexSoapClient();
    var Str= await client.StartIndexAsync(new ServiceReference1.AuthHeader { Username = "Admin", Password = "Admin" });
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • MDT 2012 Litetocuh Deployment Failed, Return Code = -2147467259 0x0004005

    Here is what I have tried. I have tried recreating the DeploymentShare. Moved my Deployment Test Share to the standard 2008 Server running MDT 2012. I have setup a Win7 x64 box as the Deployment Manager. I am still getting the following error:
    Litetouch deployment failed, Return Code = -2147467259  0x80004005
    Failed to run the action: Copy OEM files. 
    Incorrect function, (Error: 00000001; Source: Windows)
    The execution of the group (Install has failed and the execution has been aborted. An action failed. 
    Operation abourted (Error: 80004004; Source Windows)
    Failed to run the last action: Copy OEM files, Execution of task sequence failed. 
    Incorrect funtion. (Error: 00000001; Source: Windows)
    Task Sequence Engine failed! Code: enExecutionFail
    Task sequence execution failed with error code 80004005
    Error Task Sequence Manager failed to execute task sequence. Code 0x80004005
    Recreated the Image, Task Sequences, CS.ini and Boot.ini) Incorporated all OOB Drivers, Packages. Using
    a USB 16Gb flash drive with LiteTouchx86. 
    List last time we tried to create a separate deployment share. Copy all the preexisting data from a working known good deployment share with images, task
    sequence, cs.ini and all image files. Still getting the same issue. 
    Finally checked some of the Google, technet and forums for any assistance but non seem to do the trick. 
    I'm new to the process but have been working with a fellow tech who has been working with MDT for six months and he can not find the issue either. 
    Thanks for all your help up front. 

    Can you post your log files?
    IT Support " Scripting Noob "

  • ORA 28817 PLSQL function returned an error . when Access instance apex 4 2

    Hello,
    I have just upgraded from apex 4.1 to apex 4.2. Everything is fine except for this error that I get when I try to access Instance Setting on the Admin App (localhost/apex/apex_admin)
    ORA-28817: PL/SQL function returned an errorWhat could be the problem ?? How can we fix it ..
    I am working on Win server 2012 machine .. apex 4.2 with apex listener 2 deployed on Glassfish 3.1.2.
    Best Regards,
    Fateh

    Hello Fateh,
    we are already aware of that problem, although it is not yet present on our Known Issues webpage. The reason for this error is that the new installation overwrites an instance-wide encryption key. Values in the instance preferences that were encrypted with the old value (the SMTP password and the wallet password) are invalid after the upgrade and decryption causes this error. As a work around, you can use the apex_instance_admin package to overwrite the invalid passwords.
    The following code shows how decryption throws ORA-28817:
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual
    ERROR at line 1:
    ORA-28817: PL/SQL function returned an error.
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
    ORA-06512: at "SYS.DBMS_CRYPTO", line 44
    ORA-06512: at "APEX_040200.WWV_FLOW_CRYPTO", line 89
    ORA-06512: at "APEX_040200.WWV_FLOW_INSTANCE_ADMIN", line 239You can fix this by entering new passwords:
    SYS@a411> exec apex_instance_admin.set_parameter('SMTP_PASSWORD','my smtp password');
    PL/SQL procedure successfully completed.
    SYS@a411> exec apex_instance_admin.set_parameter('WALLET_PWD','my wallet password');
    PL/SQL procedure successfully completed.
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    APEX_INSTANCE_ADMIN.GET_PARAMETER('SMTP_PASSWORD')
    my smtp password
    1 row selected.Regards,
    Christian

Maybe you are looking for