Query for ODSI service

Hi Mike,
I was wondering whether we can add order hint i.e. /*+ ordered */ in an ODSI query.
Kindly help regarding the issue.

You cannot simply specify a hint.
What you can do, is use the sql statement substitution feature to replace exact instances of ODSI-generated sql with your own sql.
http://www.google.com/search?q=site%3Aoracle.com++odsi+sql+statement+substitution
Note that you need to specify the (ODSI-generated) sql string to be replace exactly - you should cut-and-paste from the audit - and be careful to get the white-space correct (it does a simple string-equals). And if anything changes (such as an extra column being selected), you'll have to update your sql statement substitution definition.

Similar Messages

  • Query for web services usage within BOXI R2.

    Do we need a license to use the web services provided within the BO XI R2 framework ?

    With having a Business Objects XIR2 Enterprise system, you have the license to use these web services, and our other SDK's.

  • Query for non turn customer report in service module(Add-on)

    Hi,
    I want create  query for non turn customer report, that mean the customer who are not come for  last 6 months to our service workshop in service module(Add-on). this is a scenario. 
      SELECT T1.U_CardDate, T1.U_JCardNo,T1.U_TypeSrv,T2.U_VehReg,T2.U_PurchDt, T2.U_VehDesc, T2.U_VehModel, T1.U_KmsRead,   T1.U_BPCode, T0.CardName, T0.AddrType , T0.Building,T0.Block, T0.Address,T0.City,T0.ZipCode, T0.State1,T0.MailBuildi,T0.MailBlock, T0.MailAddres, T0.MailZipCod, T0.MailCity, T0.State2 ,T0.MailAddrTy,  T0.Phone1, T0.Phone2, T0.Cellular FROM [dbo].[OCRD]  T0 INNER JOIN [dbo].[@ALD_JOBCARD]  T1 ON T0.CardCode = T1.U_BPCode INNER JOIN  [dbo].[@ALD_VEHMAST]  T2 ON T1.U_BPCode = T2.U_BPCode WHERE T1.U_CardDate BETWEEN [%0] AND [%1] ORDER BY T1.U_CardDate.
    this query is get all  customer data who are not come to service workshop for last 6 month. i want to filter data who are not come last 6 months this year. kindly assist me
    thank you.

    Check this:
    SELECT Max(T1.U_CardDate) 'Lase Serve Date', T1.U_JCardNo,T1.U_TypeSrv,T2.U_VehReg,Max(T2.U_PurchDt) 'Last Purchase', T2.U_VehDesc, T2.U_VehModel, T1.U_KmsRead, T1.U_BPCode, T0.CardName, T0.AddrType, T0.Building,T0.Block, T0.Address,T0.City,T0.ZipCode, T0.State1,T0.MailBuildi,T0.MailBlock, T0.MailAddres, T0.MailZipCod, T0.MailCity, T0.State2 ,T0.MailAddrTy, T0.Phone1, T0.Phone2, T0.Cellular
    FROM [dbo].[OCRD] T0
    INNER JOIN [dbo].[@ALD_JOBCARD] T1 ON T0.CardCode = T1.U_BPCode
    INNER JOIN [dbo].[@ALD_VEHMAST] T2 ON T1.U_BPCode = T2.U_BPCode
    WHERE T1.U_BPCode NOT IN
    (SELECT DISTINCT U_BPCode FROM dbo.[@ALD_JOBCARD] WHERE DateDiff(DD,U_CardDate,GetDate()) < 183)
    Group By T1.U_JCardNo,T1.U_TypeSrv,T2.U_VehReg,T2.U_VehDesc, T2.U_VehModel, T1.U_KmsRead, T1.U_BPCode, T0.CardName, T0.AddrType, T0.Building,T0.Block, T0.Address,T0.City,T0.ZipCode, T0.State1,T0.MailBuildi,T0.MailBlock, T0.MailAddres, T0.MailZipCod, T0.MailCity, T0.State2 ,T0.MailAddrTy, T0.Phone1, T0.Phone2, T0.Cellular
    ORDER BY T1.U_CardDate

  • Query for job status using Web Services in BODI

    Hello,
    I am starting a Batch job in DI using Web Services, getting the following response from DI:
    Code:
    <soapenv:Envelope
        xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <soapenv:Body>
            <BatchJobResponse>
                <pid>704</pid>       
                <cid>26</cid>       
            </BatchJobResponse>
        </soapenv:Body>
    </soapenv:Envelope>
    How can I know the status of the started job?
    How can I know if the job execution finished with success or not?
    I did not find in WSDL file any method to query for job or service status...
    Thank you in advance,
    Adrian Mitrica

    Did you ever get this figured out?  I am having exactly the same problem in code generated by VS, with the BAPIRET2 structure.
    Any help you could provide would be greatly appreciated.
    Thanks!
    Leighton Wingerd
    Adirondack Solutions, Inc.
    [email protected]

  • How to query for foreign encoded text via REST service

    I am using APEX 4.2.1.00.08 to publish RESTful web services that query a table of place names. The place names include foreign encoded alternates. My search field has type of NVARCHAR2 and the db has NLS_CHARACTERSET of AL32UTF8. Querying for foreign encoded names works fine from other applications (e.g. TOAD, ArcGIS).
    In APEX under 'SQL Workshop | RESTful Services' I have created a module, resource template, and resource handler. When I use 'Set Bind Variables' to test the service, it works for 'English' names with no problem (e.g. 'London').
    However, when I query for a foreign equivalents like 'ロンドン', the Japanese version of 'London', I get the following error:
    400 - Bad Request
    The request path contains illegal characters
    How do I get foreign encoded place names to work as the bind variable value of a REST service?

    Does this query help?
    select /*+ parallel(4) */
    pk.table_name parent_table_name, pk.constraint_name pkey_constraint,
    fk.table_name child_table_name, fk.constraint_name fkey_constraint, fk.r_constraint_name
    from
    user_constraints pk,
    user_constraints fk
    where
    pk.constraint_name = fk.r_constraint_name
    and pk.constraint_type='P'
    and fk.constraint_type='R'

  • Customer support html (html service) - how can i query for 'closed' SRs

    hi,
    11.5.10.2
    in customer support html (html service - CSZ), is there any facility to query for SRs that are in 'closed' status?
    currently, a SR in 'closed' status can only be queried if agent knows the exact SR number. on Advanced Search page, even though the application allows 'closed' status to be selected, it does not return any record.
    help is appreciated, as this is critical to our business.
    regards.

    You can search for Closed SRs. Ensure that the search criteria 'Active' is set to 'No'. This will return back closed SRs.
    Who is the customer? Can you provide some more details on the implementation? (you can send me an email to [email protected])
    Thanks.
    Edited by: dejoseph on Mar 31, 2010 12:00 PM

  • ODSI service using function from oracle database

    Hi ,
    I need to create a ODSI service using function from oracle database.
    I am not sure how to create a Physical Layer and Logical Layer using the function fron db.
    Kindly provide a sample . I need It ASAP. Thanks in advance.
    Regards,
    Tara

    Here's what you do.
    Create New Physical Data Service -> Relational -> MyDataSource -> Table -> SomeTable ... finish the wizard.
    So now you have a Physical Data Service that represents a database table.
    Create New Physcial Data Service -> Relational -> MyDataSource (the same one as above) -> Database Function -> Enter UPPER for the Function name, enter MyUpper fro the XQuery Function. Finish the Wizard (use something like MyUpperDs for the ds name).
    Open MyUpperDs. Right-click -> Edit Signature on MyUpper. Change the ReturnType to string, change the Occurrence to Zero or One.
    Add a parameter, change the Type to string, change the Occurrence to Zero or One.
    Save.
    Now, open the first ds you made SomeTable.ds (whatever). Run it in the test view.
    Go to the Overview tab. Create New Operation. Give it the name SOMETABLE_UPPER. Save it.
    Go to the Query Map tab, open SOMETABLE_UPPER. Drag and drop SOMETABLE (the system-generated function into the mapper. It will show a dotted line from SOMETABLE to the Return. Now drag-and-drop the SOMETABLE to the top-level element of the return type, it will show solid lines from each element in SOMETABLE to each element in the return type.
    Now, drag-and-drop MyUpperDs.MyUpper into the Query Mapper. Edit the source, find where it added the line "for $x in myd:MyUpper()" and delete that line.
    Change a line that simply returns a value to use your function, for example, change
    <FIRST_NAME>{fn:data($CUSTOMER/FIRST_NAME)}</FIRST_NAME>
    to
    <FIRST_NAME>{myd:MyUpper(fn:data($CUSTOMER/FIRST_NAME))}</FIRST_NAME>
    Click on the Plan tab and Show Query Plan. You will see that in the query plan, it is using the database UPPER function where you specified MyUpper.
    Go to the Test View and run it.
    I used the RTLCUSTOMER table in cgDataSource
    xquery version "1.0" encoding "UTF-8";
    (::pragma xds <x:xds xmlns:x="urn:annotations.ld.bea.com" targetType="t:CUSTOMER" xmlns:t="ld:physical/CUSTOMER">
    <creationDate>2010-10-14T13:09:54</creationDate>
    <relationalDB name="cgDataSource" providerId="Pointbase"/>
    <field xpath="CUSTOMER_ID" type="xs:string">
    <extension nativeXpath="CUSTOMER_ID" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="32" nativeFractionalDigits="0" nativeKey="true"/>
    <properties nullable="false"/>
    </field>
    <field xpath="FIRST_NAME" type="xs:string">
    <extension nativeXpath="FIRST_NAME" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="64" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="LAST_NAME" type="xs:string">
    <extension nativeXpath="LAST_NAME" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="64" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="CUSTOMER_SINCE" type="xs:date">
    <extension nativeXpath="CUSTOMER_SINCE" nativeTypeCode="91" nativeType="DATE" nativeSize="10" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="EMAIL_ADDRESS" type="xs:string">
    <extension nativeXpath="EMAIL_ADDRESS" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="32" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="TELEPHONE_NUMBER" type="xs:string">
    <extension nativeXpath="TELEPHONE_NUMBER" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="32" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="SSN" type="xs:string">
    <extension nativeXpath="SSN" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="16" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="BIRTH_DAY" type="xs:date">
    <extension nativeXpath="BIRTH_DAY" nativeTypeCode="91" nativeType="DATE" nativeSize="10" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="DEFAULT_SHIP_METHOD" type="xs:string">
    <extension nativeXpath="DEFAULT_SHIP_METHOD" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="16" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="EMAIL_NOTIFICATION" type="xs:short">
    <extension nativeXpath="EMAIL_NOTIFICATION" nativeTypeCode="5" nativeType="SMALLINT" nativeSize="5" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="NEWS_LETTTER" type="xs:short">
    <extension nativeXpath="NEWS_LETTTER" nativeTypeCode="5" nativeType="SMALLINT" nativeSize="5" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="ONLINE_STATEMENT" type="xs:short">
    <extension nativeXpath="ONLINE_STATEMENT" nativeTypeCode="5" nativeType="SMALLINT" nativeSize="5" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="LOGIN_ID" type="xs:string">
    <extension nativeXpath="LOGIN_ID" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="50" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <key name="CUSTOMER_0_SYSTEMNAMEDCONSTRAINT__PRIMARYKEY" type="cus:CUSTOMER_KEY" inferredSchema="true" xmlns:cus="ld:physical/CUSTOMER"/>
    </x:xds>::)
    declare namespace myd= "ld:physical/MyDs";
    declare namespace f1 = "ld:physical/CUSTOMER";
    import schema namespace t1 = "ld:physical/CUSTOMER" at "ld:physical/schemas/CUSTOMER.xsd";
    import schema "ld:physical/CUSTOMER" at "ld:physical/schemas/CUSTOMER_KEY.xsd";
    (::pragma function <f:function xmlns:f="urn:annotations.ld.bea.com" visibility="public" kind="read" isPrimary="false" nativeName="CUSTOMER" nativeLevel2Container="RTLCUSTOMER" style="table">
    <nonCacheable/> </f:function>::)
    declare function f1:CUSTOMER() as schema-element(t1:CUSTOMER)* external;
    (::pragma function <f:function xmlns:f="urn:annotations.ld.bea.com" visibility="public" kind="create" isPrimary="true" nativeName="CUSTOMER" nativeLevel2Container="RTLCUSTOMER" style="table">
    <nonCacheable/> </f:function>::)
    declare procedure f1:createCUSTOMER($p as element(t1:CUSTOMER)*)as schema-element(t1:CUSTOMER_KEY)* external;
    (::pragma function <f:function xmlns:f="urn:annotations.ld.bea.com" visibility="public" kind="update" isPrimary="true" nativeName="CUSTOMER" nativeLevel2Container="RTLCUSTOMER" style="table">
    <nonCacheable/> </f:function>::)
    declare procedure f1:updateCUSTOMER($p as changed-element(t1:CUSTOMER)*) as empty() external;
    (::pragma function <f:function xmlns:f="urn:annotations.ld.bea.com" visibility="public" kind="delete" isPrimary="true" nativeName="CUSTOMER" nativeLevel2Container="RTLCUSTOMER" style="table">
    <nonCacheable/> </f:function>::)
    declare procedure f1:deleteCUSTOMER($p as element(t1:CUSTOMER)*) as empty() external;
    (::pragma function <f:function kind="read" visibility="public" isPrimary="false" xmlns:f="urn:annotations.ld.bea.com"/>::)
    declare function f1:CUSTOMER_UPPER() as element(f1:CUSTOMER)*{
    for $CUSTOMER in f1:CUSTOMER()
    return
    <t1:CUSTOMER>
    <CUSTOMER_ID>{fn:data($CUSTOMER/CUSTOMER_ID)}</CUSTOMER_ID>
    <FIRST_NAME>{myd:MyUpper(fn:data($CUSTOMER/FIRST_NAME))}</FIRST_NAME>
    <LAST_NAME>{fn:data($CUSTOMER/LAST_NAME)}</LAST_NAME>
    <CUSTOMER_SINCE>{fn:data($CUSTOMER/CUSTOMER_SINCE)}</CUSTOMER_SINCE>
    <EMAIL_ADDRESS>{fn:data($CUSTOMER/EMAIL_ADDRESS)}</EMAIL_ADDRESS>
    <TELEPHONE_NUMBER>{fn:data($CUSTOMER/TELEPHONE_NUMBER)}</TELEPHONE_NUMBER>
    <SSN?>{fn:data($CUSTOMER/SSN)}</SSN>
    <BIRTH_DAY?>{fn:data($CUSTOMER/BIRTH_DAY)}</BIRTH_DAY>
    <DEFAULT_SHIP_METHOD?>{fn:data($CUSTOMER/DEFAULT_SHIP_METHOD)}</DEFAULT_SHIP_METHOD>
    <EMAIL_NOTIFICATION?>{fn:data($CUSTOMER/EMAIL_NOTIFICATION)}</EMAIL_NOTIFICATION>
    <NEWS_LETTTER?>{fn:data($CUSTOMER/NEWS_LETTTER)}</NEWS_LETTTER>
    <ONLINE_STATEMENT?>{fn:data($CUSTOMER/ONLINE_STATEMENT)}</ONLINE_STATEMENT>
    <LOGIN_ID?>{fn:data($CUSTOMER/LOGIN_ID)}</LOGIN_ID>
    </t1:CUSTOMER>
    xquery version "1.0" encoding "UTF-8";
    (::pragma xfl <x:xfl xmlns:x="urn:annotations.ld.bea.com">
    <creationDate>2010-10-14T13:10:45</creationDate>
    <customNativeFunctions>
    <relational>
    <dataSource>cgDataSource</dataSource>
    </relational>
    </customNativeFunctions>
    </x:xfl>::)
    declare namespace f1 = "ld:physical/MyDs";
    (::pragma function <f:function visibility="protected" kind="library" isPrimary="false" nativeName="UPPER" xmlns:f="urn:annotations.ld.bea.com">
    <nonCacheable/>
    </f:function>::)
    declare function f1:MyUpper($arg0 as xs:string?) as xs:string? external;
    <cus:CUSTOMER xmlns:cus="ld:physical/CUSTOMER">
    <CUSTOMER_ID>CUSTOMER1</CUSTOMER_ID>
    <FIRST_NAME>JACK</FIRST_NAME>
    <LAST_NAME>Black</LAST_NAME>
    <CUSTOMER_SINCE>2001-10-01</CUSTOMER_SINCE>
    <EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
    <TELEPHONE_NUMBER>2145134119</TELEPHONE_NUMBER>
    <SSN>295-13-4119</SSN>
    <BIRTH_DAY>1970-01-01</BIRTH_DAY>
    <DEFAULT_SHIP_METHOD>AIR</DEFAULT_SHIP_METHOD>
    <EMAIL_NOTIFICATION>1</EMAIL_NOTIFICATION>
    <NEWS_LETTTER>0</NEWS_LETTTER>
    <ONLINE_STATEMENT>1</ONLINE_STATEMENT>
    </cus:CUSTOMER>
    .

  • Error while executing a sql query for select

    HI All,
    ORA-01652: unable to extend temp segment by 128 in tablespace PSTEMP i'm getting this error while i'm executing the sql query for selecting the data.

    I am having 44GB of temp space, while executing the below query my temp space is getting full, Expert please let us know how the issue can be resolved..
    1. I dont want to increase the temp space
    2. I need to tune the query, please provide your recomendations.
    insert /*+APPEND*/ into CST_DSA.HIERARCHY_MISMATCHES
    (REPORT_NUM,REPORT_TYPE,REPORT_DESC,GAP,CARRIED_ITEMS,CARRIED_ITEM_TYPE,NO_OF_ROUTE_OF_CARRIED_ITEM,CARRIED_ITEM_ROUTE_NO,CARRIER_ITEMS,CARRIER_ITEM_TYPE,CARRIED_ITEM_PROTECTION_TYPE,SOURCE_SYSTEM)
    select
    REPORTNUMBER,REPORTTYPE,REPORTDESCRIPTION ,NULL,
    carried_items,carried_item_type,no_of_route_of_carried_item,carried_item_route_no,carrier_items,
    carrier_item_type,carried_item_protection_type,'PACS'
    from
    (select distinct
    c.REPORTNUMBER,c.REPORTTYPE,c.REPORTDESCRIPTION ,NULL,
    a.carried_items,a.carried_item_type,a.no_of_route_of_carried_item,a.carried_item_route_no,a.carrier_items,
    a.carrier_item_type,a.carried_item_protection_type,'PACS'
    from CST_ASIR.HIERARCHY_asir a,CST_DSA.M_PB_CIRCUIT_ROUTING b ,CST_DSA.REPORT_METADATA c
    where a.carrier_item_type in('Connection') and a.carried_item_type in('Service')
    AND a.carrier_items=b.mux
    and c.REPORTNUMBER=(case
    when a.carrier_item_type in ('ServicePackage','Service','Connection') then 10
    else 20
    end)
    and a.carrier_items not in (select carried_items from CST_ASIR.HIERARCHY_asir where carried_item_type in('Connection') ))A
    where not exists
    (select *
    from CST_DSA.HIERARCHY_MISMATCHES B where
    A.REPORTNUMBER=B.REPORT_NUM and
    A.REPORTTYPE=B.REPORT_TYPE and
    A.REPORTDESCRIPTION=B.REPORT_DESC and
    A.CARRIED_ITEMS=B.CARRIED_ITEMS and
    A.CARRIED_ITEM_TYPE=B.CARRIED_ITEM_TYPE and
    A.NO_OF_ROUTE_OF_CARRIED_ITEM=B.NO_OF_ROUTE_OF_CARRIED_ITEM and
    A.CARRIED_ITEM_ROUTE_NO=B.CARRIED_ITEM_ROUTE_NO and
    A.CARRIER_ITEMS=B.CARRIER_ITEMS and
    A.CARRIER_ITEM_TYPE=B.CARRIER_ITEM_TYPE and
    A.CARRIED_ITEM_PROTECTION_TYPE=B.CARRIED_ITEM_PROTECTION_TYPE
    AND B.SOURCE_SYSTEM='PACS'
    Explain Plan
    ==========
    Plan
    INSERT STATEMENT ALL_ROWSCost: 129 Bytes: 1,103 Cardinality: 1                                                        
         20 LOAD AS SELECT CST_DSA.HIERARCHY_MISMATCHES                                                   
              19 PX COORDINATOR                                              
                   18 PX SEND QC (RANDOM) PARALLEL_TO_SERIAL SYS.:TQ10002 :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1                                         
                        17 NESTED LOOPS PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1                                    
                             15 HASH JOIN RIGHT ANTI NA PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,098 Cardinality: 1                               
                                  4 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 63 Bytes: 359,283 Cardinality: 15,621                          
                                       3 PX SEND BROADCAST PARALLEL_TO_PARALLEL SYS.:TQ10001 :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621                     
                                            2 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621                
                                                 1 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621           
                                  14 NESTED LOOPS ANTI PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 40,256,600 Cardinality: 37,448                          
                                       11 HASH JOIN PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 6,366,160 Cardinality: 37,448                     
                                            8 BUFFER SORT PARALLEL_COMBINED_WITH_CHILD :Q1002               
                                                 7 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 1 Bytes: 214 Cardinality: 2           
                                                      6 PX SEND BROADCAST PARALLEL_FROM_SERIAL SYS.:TQ10000 Cost: 1 Bytes: 214 Cardinality: 2      
                                                           5 INDEX FULL SCAN INDEX CST_DSA.IDX$$_06EF0005 Cost: 1 Bytes: 214 Cardinality: 2
                                            10 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448                
                                                 9 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448           
                                       13 TABLE ACCESS BY INDEX ROWID TABLE PARALLEL_COMBINED_WITH_PARENT CST_DSA.HIERARCHY_MISMATCHES :Q1002Cost: 0 Bytes: 905 Cardinality: 1                     
                                            12 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT SYS.HIERARCHY_MISMATCHES_IDX3 :Q1002Cost: 0 Cardinality: 1                
                             16 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT CST_DSA.IDX$$_06EF0001 :Q1002Cost: 1 Bytes: 5 Cardinality: 1

  • Operations manager failed to run a wmi query for wmi events (0x800706ba)

    Hi everyone,
    I've been working on this issue for a while and I am still no closer to finding out what the problem is.  If anybody can offer any other advice or things to check, I'm all ears.
    I'm running SCOM 2012 R2 with UR2, and the Cluster Management Pack v6.0.7063.0
    My problem is on one particular batch of cluster servers where I am getting the following error.
    Name: Operations Manager failed to run a WMI query for WMI events
    Alert Description:
    Module was unable to enumerate the WMI data
    Error: 0x800706ba
    Details: The RPC server is unavailable
    Workflow name: Microsoft.Windows.Cluster.Node.StateMonitoring
    Instance Name: servername.domain.local
    Instance ID: {instance_id}
    Management group: SCOM_Management_Grp_Name
    I am getting this alert regardless of whether I run the Windows Cluster Action Account as Local System, or as a domain user with full local admin privileges on all the cluster nodes.
    When looking at the management pack and the workflow in particular (Microsoft.Windows.Cluster.Node.StateMonitoring), I can see that it's trying to access
    MSCluster_Node in the root\MSCLUSTER WMI namespace.
    This is the workflow for your information...
    <UnitMonitor> ID="Microsoft.Windows.Cluster.Node.StateMonitoring" Accessibility="Public" Enabled="onEssentialMonitoring" Target="ClusLibrary!Microsoft.Windows.Cluster.Node" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="ClusLibrary!Microsoft.Windows.Cluster.CheckState" ConfirmDelivery="false">
    <Category>AvailabilityHealth</Category>
    <AlertSettings AlertMessage="Microsoft.Windows.Cluster.Node.StateMonitoring.AlertMessage">
    <AlertOnState>Warning</AlertOnState>
    <AutoResolve>true</AutoResolve>
    <AlertPriority>Normal</AlertPriority>
    <AlertSeverity>MatchMonitorHealth</AlertSeverity>
    <AlertParameters>
    <AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
    <AlertParameter2>$Target/Property[Type="ClusLibrary!Microsoft.Windows.Cluster.Node"]/ClusterName$</AlertParameter2>
    </AlertParameters>
    </AlertSettings>
    <OperationalStates>
    <OperationalState ID="Success" MonitorTypeStateID="Online" HealthState="Success" />
    <OperationalState ID="Warning" MonitorTypeStateID="Partial" HealthState="Warning" />
    <OperationalState ID="Error" MonitorTypeStateID="NotOnline" HealthState="Error" />
    </OperationalStates>
    <Configuration>
    <ClusterObjectName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.Node']/NodeName$</ClusterObjectName>
    <PollInterval>60</PollInterval>
    <ClusterObjectClass>MSCLUSTER_Node</ClusterObjectClass>
    <OnlineExpression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">0</Value>
    </ValueExpression>
    </SimpleExpression>
    </OnlineExpression>
    <OnlineExpressionOnDemand>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">0</Value>
    </ValueExpression>
    </SimpleExpression>
    </OnlineExpressionOnDemand>
    <PartialExpression>
    <Or>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">2</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">3</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </Or>
    </PartialExpression>
    <PartialExpressionOnDemand>
    <Or>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">2</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>Equal</Operator>
    <ValueExpression>
    <Value Type="String">3</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </Or>
    </PartialExpressionOnDemand>
    <NotOnlineExpression>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">0</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">2</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">3</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </And>
    </NotOnlineExpression>
    <NotOnlineExpressionOnDemand>
    <And>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">0</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">2</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    <Expression>
    <SimpleExpression>
    <ValueExpression>
    <XPathQuery Type="String">Property[@Name='State']</XPathQuery>
    </ValueExpression>
    <Operator>NotEqual</Operator>
    <ValueExpression>
    <Value Type="String">3</Value>
    </ValueExpression>
    </SimpleExpression>
    </Expression>
    </And>
    </NotOnlineExpressionOnDemand>
    <WMIFields>Name, State</WMIFields>
    </Configuration>
    </UnitMonitor>
    I can confirm that I am able to browse the MSCluster_Node class locally, as well as remotely using WMIEXPLORER and WBEMTEST,
    however it only works when I set the Authentication Level to
    Packet Privacy.  If I do not select Packet Privacy, a WMI event log error 5605 is logged on the remote servers application log that says...
    The root\mscluster namespace is marked with the RequiresEncryption flag.  Access to this namespace might be denied if the script or application does not have the appropriate authentication level.  Change the authentication level to Pkt_Privacy
    and run the script or application again.
    I can confirm that all firewalls are turned off, and there are no firewalls between the management servers and the agents in question.  AV exclusions have been done and appear to be in place.  The nodes are all Windows 2008 R2 with SP1.  As
    far as I can tell there is plenty of memory available on each of the nodes in question (50%+) of RAM is available. 
    If I manually run the "Discover the Windows Server 2008 R2 Cluster Components" task in the Cluster Service State section of the management pack in the Monitoring Pane in the console, on the nodes in question - the discovery runs successfully.
    Does anybody have any other ideas or suggestions I could try?
    Many thanks in advance,
    Noel.
    http://www.dreamension.net

    Hi,
    Common causes of RPC errors include:
    Errors resolving a DNS or NetBIOS name.
    The RPC service or related services may not be running.
    Problems with network connectivity.
    File and printer sharing is not enabled.
    For more information, please review the link below:
    Windows Server Troubleshooting: "The RPC server is unavailable"
    http://social.technet.microsoft.com/wiki/contents/articles/4494.windows-server-troubleshooting-the-rpc-server-is-unavailable.aspx#Identify
    Troubleshooting RPC Errors
    http://technet.microsoft.com/en-us/magazine/2007.07.howitworks.aspx
    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.

  • Query for formatted search

    Hi All,
    I have a line UDF called U_PO in the sales order documents that denotes our purchase order number that particular item is ordered on.
    I have another line UDF called U_XMill which I want to populate with the corresponding PO document due date.
    What would be my query for that?
    Basically, it should be something like:
    SELECT T0.DocDueDate FROM OPOR T0 WHERE T0.DocNum=$[$38.44.0] FOR BROWSE
    However, I am sure that "38.44" is wrong.
    It should denote my current document's UDF *.U_PO.
    And I am not sure what would be the correct notation for it.
    I was wondering if there was a help document I could refer to to figure out the corresponding field numbers for the cases like this.
    Thank you for your help.

    Hello
    use FMS on matrix (tables) as
    [ItemUID.ColumnUID.Type] or [TableName.FieldName]
    where itemUID is 38
    ColumnUID is U_XMill
    Type is 0 (general).
    There is a now-to guide on service.sap.com/smb/sbo where you can find how to us FMS.
    Regards
    J

  • Issue when installing SQL Server Express 2012 - "The requested control is not valid for this service" + "Could not find the database engine startup handle"

    Good morning,
    I'm experiencing the following issue when installing Microsoft SQL Server Express 2012 (with tools, SQLEXPRWT_x86_ENU.exe) on the laptop of my company;
    Installation goes plain until around the end of the progress bar, it stops on the setup of
    SqlEngineDBStartConfigAction_install_configrc_Cpu32
    giving 7-8 times, even pressing "Cancel", the message "The requested control is not valid for this service";
    After this, I receive one last message ""Could not find the database engine startup handle", then installation ends with failures, in particular the Database Engine and the Server Replication failed to be installed.
    I've put in my SkyDrive the error log I received after the install;
    I'm at full disposal if you need further information,
    thank you in advance
    Best regards
    Francesco

    Well, i just ran into this issue and the problem was lack of admin rights. It was my company's laptop so got the setup initiated by my company's IT team with admin rights. However, the upon completion of setup, i go the same error messages as stated above: 
    SqlEngineDBStartConfigAction_install_configrc_Cpu32
    giving 7-8 times, even pressing "Cancel", the message "The requested control is not valid for this service";
    After this, I receive one last message ""Could not find the database engine startup handle", then installation ends with failures, in particular the Database Engine and the Server Replication failed to be installed.
    Also, if you open SQL Server Configuration, the status of the service is "Change Pending" and you would not be able to set the startup login type to Local Service/System/Network.
    Then, I just got my account added as Local Admin and then tried to start the service and was able to.
    However, I am not sure whether same was the case for you.
    Please mark the answer as helpful if i have answered your query. Thanks and Regards, Kartar Rana

  • Timed out waiting for ccmexec service to be fully operational

    We are deploying Windows 7 in an SCCM 2007 R3 SP2 environment.  Some of the clients we target fail the task sequence with the error, "Timed out waiting for ccmexec service to be fully operational".  Below is the relevant part of the SMSTS.LOG
    file:
    Succeeded loading resource DLL 'C:\Windows\system32\CCM\1033\TSRES.DLL' 
    Failed to create an instance of COM progress UI object. Error code 0x80040154 
    Timed out waiting for ccmexec service to be fully operational 
    0, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\utils.cpp,4192) 
    Failed to wait for Ccmexec service to be fully operational (0x80004005) 
    I have seen several posts with this error that say to create the "ConfigMgr Remote Control Users" group. 
    Here is an example.  We have created this group locally AND on the domain, but we still see this failure on about 10% of clients that we target.  Any other ideas what might be creating this issue?
    Thanks,
    FP

    After a restart in the task sequence (not the same restart every time) the ccmexec process doesn´t seem to want to start again. The problem is intermittent and does not occure on every installation, though quite frequently. 
    In the smsts.log you get "waiting for the ccmexec process to start" and "Waiting for CcmExec service to be fully operational", eventually it times out and the installation fails. If we start a command prompt and start the service manually
    the installation continues though. 
    The strange thing is, this only seems to happen on a specific computer model. We have tried updating BIOS and drivers to the latest version, but no success.
    Last lines of smsts.log
    Failed to find property 'AutoApplyDeployment' in 'CCM_ApplicationManagementClientConfig' class defintion. Error 0x80041002. Default value will be used for this property
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Policy complied successfully in WMI 'root\ccm\policy\defaultmachine\requestedconfig' namespace
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    End TS policy compilation TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Get Install Directory for SMS Client TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Updating settings in \\.\root\ccm\policy\machine\actualconfig
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    RequestedConfig policy instance(s) : 437 TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Locked \\.\ROOT\ccm\policy\machine\RequestedConfig for source SMS:Client:Default:{8864FB91-94EE-4F16-A144-0D82A232049D} successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Namespace: \\.\ROOT\ccm\policy\machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "SMS:Client:Default:{8864FB91-94EE-4F16-A144-0D82A232049D}") AND (PolicyState = "Active") AND (PolicyType = "Machine")
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    There is no ccm_policy_policy instance, skipping addition to realinst map
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Unlocked \\.\ROOT\ccm\policy\machine\RequestedConfig for source SMS:Client:Default:{8864FB91-94EE-4F16-A144-0D82A232049D} successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    RequestedConfig policy instance(s) : 0 TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Locked \\.\ROOT\ccm\policy\machine\RequestedConfig for source SMS:GAV successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Namespace: \\.\ROOT\ccm\policy\machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "SMS:GAV") AND (PolicyState = "Active") AND (PolicyType = "Machine")
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    There is no ccm_policy_policy instance, skipping addition to realinst map
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Unlocked \\.\ROOT\ccm\policy\machine\RequestedConfig for source SMS:GAV successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    RequestedConfig policy instance(s) : 0 TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Locked \\.\ROOT\ccm\policy\machine\RequestedConfig for source CcmPortal successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Namespace: \\.\ROOT\ccm\policy\machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "CcmPortal") AND (PolicyState = "Active") AND (PolicyType = "Machine")
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    There is no ccm_policy_policy instance, skipping addition to realinst map
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Unlocked \\.\ROOT\ccm\policy\machine\RequestedConfig for source CcmPortal successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    RequestedConfig policy instance(s) : 0 TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Locked \\.\ROOT\ccm\policy\machine\RequestedConfig for source Local successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    RequestedConfig policy instance(s) : 9 TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Unlocked \\.\ROOT\ccm\policy\machine\RequestedConfig for source Local successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    RequestedConfig policy instance(s) : 34 TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Locked \\.\ROOT\ccm\policy\machine\RequestedConfig for source CcmTaskSequence successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Namespace: \\.\ROOT\ccm\policy\machine\RequestedConfig, Query: SELECT PolicyID FROM CCM_Policy_Policy5 WHERE (PolicySource = "CcmTaskSequence") AND (PolicyState = "Active") AND (PolicyType = "Machine")
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    There is no ccm_policy_policy instance, skipping addition to realinst map
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Unlocked \\.\ROOT\ccm\policy\machine\RequestedConfig for source CcmTaskSequence successfully
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Total RequestedConfig policy instance(s) : 480
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    New/Changed ActualConfig policy instance(s) : 0
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Policy evaluation initiated TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Waiting for policy to be compiled in 'root\ccm\policy\machine' namespace
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Query = 'CCM_SystemHealthClientConfig.SiteSettingsKey="1"'
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Verified policy for instance path 'CCM_SystemHealthClientConfig.SiteSettingsKey="1"' compiled in 'root\ccm\policy\machine' namespace
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Query = 'CCM_SoftwareUpdatesClientConfig.SiteSettingsKey="1"'
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Verified policy for instance path 'CCM_SoftwareUpdatesClientConfig.SiteSettingsKey="1"' compiled in 'root\ccm\policy\machine' namespace
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Query = 'CCM_SoftwareDistributionClientConfig.SiteSettingsKey="1"'
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Verified policy for instance path 'CCM_SoftwareDistributionClientConfig.SiteSettingsKey="1"' compiled in 'root\ccm\policy\machine' namespace
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Query = 'CCM_NetworkAccessAccount.SiteSettingsKey="1"'
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Verified policy for instance path 'CCM_NetworkAccessAccount.SiteSettingsKey="1"' compiled in 'root\ccm\policy\machine' namespace
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Query = 'CCM_RebootSettings.SiteSettingsKey="1"'
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Verified policy for instance path 'CCM_RebootSettings.SiteSettingsKey="1"' compiled in 'root\ccm\policy\machine' namespace
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Query = 'CCM_ApplicationManagementClientConfig.SiteSettingsKey="1"'
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Verified policy for instance path 'CCM_ApplicationManagementClientConfig.SiteSettingsKey="1"' compiled in 'root\ccm\policy\machine' namespace
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Policy verification done TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Config policies compiled successfully TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    _SMSTSReturnToGINA variable set to true TSManager
    2014-09-15 09:53:19 2244 (0x08C4)
    Waiting for CcmExec service to be fully operational
    TSManager 2014-09-15 09:53:19
    2244 (0x08C4)
    Succeeded loading resource DLL 'C:\Windows\CCM\1033\TSRES.DLL'
    TSManager 2014-09-15 09:53:20
    2244 (0x08C4)
    Launching command shell. OSDSetupHook
    2014-09-15 09:54:28 2212 (0x08A4)
    Windows station: WinSta0 OSDSetupHook
    2014-09-15 09:54:28 2212 (0x08A4)
    Desk"Apple-tab-span" style="white-space:pre;"> OSDSetupHook
    2014-09-15 09:54:28 2212 (0x08A4)
    executing command: C:\Windows\system32\cmd.exe /k
    OSDSetupHook 2014-09-15 09:54:28
    2212 (0x08A4)
    executed command: C:\Windows\system32\cmd.exe /k
    OSDSetupHook 2014-09-15 09:54:28
    2212 (0x08A4)
    Also some errors in the ccmexec.log, if they have anything to do with it:
    Messaging::Initialize(), HRESULT=80080005 (e:\nts_sccm_release\sms\framework\messaging\ccmexec\init.cpp,951)
    CcmExec 2014-09-15 09:54:04
    2380 (0x094C)
    Error initializing messaging subsystem (0x80080005).
    CcmExec 2014-09-15 09:54:04
    2380 (0x094C)
    Released system busy flag after ccmexec initialization.
    CcmExec 2014-09-15 09:54:04
    2380 (0x094C)
    Phase 1 initialization failed (0x80080005).
    CcmExec 2014-09-15 09:54:04
    2380 (0x094C)
    *** System is now free to go to sleep CcmExec
    2014-09-15 09:54:04 2376 (0x0948)
    Init_Phase1(), HRESULT=80080005 (e:\nts_sccm_release\sms\framework\messaging\ccmexec\entrypoint.cpp,2528)
    CcmExec 2014-09-15 09:54:04
    2380 (0x094C)
    Phase 1 initialization failed (0x80080005).
    CcmExec 2014-09-15 09:54:04
    2380 (0x094C)
    pTask->Execute(pService, pState, ulFlags), HRESULT=80080005 (e:\nts_sccm_release\sms\framework\ccmtask\taskexec.cpp,108)
    CcmExec 2014-09-15 09:54:04
    2380 (0x094C)
    ExecuteTask() failed with HR = 0x80080005 CcmExec
    2014-09-15 09:54:04 2380 (0x094C)
    SERVICE_CONTROL_POWEREVENT(Event=PBT_POWERSETTINGCHANGE)
    CCMEXEC 2014-09-15 09:55:48
    1900 (0x076C)
    SystemTaskProcessor::QueueEvent(PowerChanged, 0)
    CCMEXEC 2014-09-15 09:55:48
    1900 (0x076C)
    SystemTaskProcessor::QueueEvent(PowerChangedEx, 0)
    CCMEXEC 2014-09-15 09:55:48
    1900 (0x076C)
    //Fredrik

  • The server farm account should not be used for other services

    I have created a new SharePoint Foundation 2013 Farm. I only used the Farm Configuration Wizard to create the Search Service Application, all other aspects of the Farm was created using PowerShell.
    The SharePoint Health Analyzer is reporting the following error:
    Title: The server farm account should not be used for other services.
    Severity: 1 - Error
    Category: Security
    Explanation: DOMAIN\FARM_ACCOUNT, the account used for the SharePoint timer service and the central administration site, is highly privileged and should not be used for any other services on any machines in the server farm.  The following services were
    found to use this account: Distributed Cache Service(Windows Service)
    Remedy: Browse to
    http://centraladminsite:port/_admin/FarmCredentialManagement.aspx and change the account used for the services listed in the explanation. For more information about this rule, see "http://go.microsoft.com/fwlink/?LinkID=142685".
    Now I understand how to change the account used to run the Distributed Cache Service, but my query is what account should I use in the least privelage model? I have setup the following 6 accounts as per TechNet guidelines (Link)
    and am not sure if one of these accounts should be used or if another account is required:
    SQL Server service account
    Setup user account
    Server farm account
    SharePoint Server Search service account
    Default content access account
    Application pool identity
    After reviewing the TechNet article again, I don't fully understand the section titled "Service application accounts". Is the article advising me to create a seperate account for each row in the table? e.g. 1 account for Business Data Connectivity
    Service, a different account for "Application Discovery and Load Balancer Service", another account for "App management" and another account for "Distributed Cache", so 4 extra accounts if I choose to install all of these services
    within the Farm?
    Also, what does the article mean when it says "Plan one set of an application pool and proxy group for each service application that you plan to implement."? How do I go about doing this?
    Kevin Evans

    After reviewing the TechNet article again, I don't fully understand the section titled "Service application accounts". Is the article advising me to create a seperate account for each row in the table? e.g. 1 account for Business Data Connectivity Service,
    a different account for "Application Discovery and Load Balancer Service", another account for "App management" and another account for "Distributed Cache", so 4 extra accounts if I choose to install all of these services within the Farm?
    Inder: Yes, It is suggested to have multiple service account for each service application. This increases security and dependencyof 1 account on multiple Service applications. Like below
    SQL Server service
    Local System account (default)
    Setup user
    Member of the Administrators group on the local computer
    Server farm
    Network Service (default)
    No manual configuration is necessary.
    SharePoint Server Search Service
    By default, this account runs as the Local System account.
    If you want to crawl remote content by changing the default content access account or by using crawl rules, change this to a domain user account. If you do not change this account to a domain user account, you cannot change the default content access account
    to a domain user account or add crawl rules to crawl this content. This restriction is designed to prevent elevation of privilege for any other process running as the Local System account.
    Default Content Access
    No manual configuration is necessary if this account is only crawling local farm content. If you want to crawl remote content by using crawl rules, change this to a domain user account, and apply the requirements listed for a server farm.
    Content Access
    Same requirement as the default content access account.
    Profile import Default Access
    Same requirements as server farm.
    Excel Services Unattended Service
    Must be a domain user account.
    http://technet.microsoft.com/en-us/library/cc263445%28v=office.15%29.aspx
    Also, what does the article mean when it says "Plan one set of an application pool and proxy group for each service application that you plan to implement."? How do I go about doing this?
    Inder: Each service account has a application pool and you can plan to use same application pool for multiple
    service accounts if required. These application pool are then consumed by proxy connection
    of each service application. On service application pool, you can see all the service applications and its proxy connection.
    If this helped you resolve your issue, please mark it Answered

  • BW 3.5 Query view web service

    I am trying to activate the BW 3.5 Web Service for Accessing Query Data as per the link given below:
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/content.htm
    I was able to release the service when I try to chk and save an error message is displayed 'No ICF service found (URL_NO_HANDLER)'. I went to SICF and checked the URL tree  /sap/bw/xml/soap/queryview, and no service was created for queryview. Should I manually create the queryview service, is so which handler should be used for this service. Any suggestions??
    Thanks.

    Hi,  Thanks for your response back..  I'm trying to "Consume" the queryview web service via non sap system.  I'd like to access the query results via a web link and have XML Query results returned.
    http://<BWserver>.domain.com:<port>/sap/bw/xml/soap/queryview?sap-client=142&wsdl=1.1
    after adding
    &infoprovider=<infoprovider>&query=<queryid> to the end of the template you provided I get some xml returned, but it doesn't contain any query results.  Any idea what I have to do to get the xml results?
    Here's the summarized XML
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:n0="urn:sap-com:document:sap:rfc:functions" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
    + <xsd:simpleType name="char1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char132">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="132" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char22">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="22" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char250">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="250" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char30">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="30" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char40">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char60">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="60" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char70">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="70" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char8">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="cuky5">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="5" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="numeric1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="numeric2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="numeric3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="numeric6">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="unit3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:schema>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" elementFormDefault="unqualified" attributeFormDefault="qualified" xmlns:n0="urn:sap-com:document:sap:rfc:functions">
      <xsd:import namespace="urn:sap-com:document:sap:rfc:functions" />
    + <xsd:simpleType name="RfcException.Message.Number">
    + <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:complexType name="W3query">
    - <xsd:sequence>
      <xsd:element name="Name" type="n0:char30" />
      <xsd:element name="Value" type="n0:char250" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSxAxisData">
    - <xsd:sequence>
      <xsd:element name="Axis" type="n0:numeric3" />
      <xsd:element name="Set" type="tns:RrwsTxSet" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSxTuple">
    - <xsd:sequence>
      <xsd:element name="TupleOrdinal" type="n0:numeric6" />
      <xsd:element name="Chanm" type="n0:char30" />
      <xsd:element name="Caption" type="n0:char60" />
      <xsd:element name="Chavl" type="n0:char60" />
      <xsd:element name="ChavlExt" type="n0:char70" />
      <xsd:element name="Niobjnm" type="n0:char30" />
      <xsd:element name="Tlevel" type="n0:numeric2" />
      <xsd:element name="Drillstate" type="n0:char1" />
      <xsd:element name="Opt" type="n0:char2" />
      <xsd:element name="Sign" type="n0:char1" />
      <xsd:element name="Attributes" type="tns:RrwsTAttributes" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSAttributes">
    - <xsd:sequence>
      <xsd:element name="Attrinm" type="n0:char30" />
      <xsd:element name="Caption" type="n0:char60" />
      <xsd:element name="Attrivl" type="n0:char60" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSxAxisInfo">
    - <xsd:sequence>
      <xsd:element name="Axis" type="n0:numeric3" />
      <xsd:element name="Nchars" type="xsd:int" />
      <xsd:element name="Ncoords" type="xsd:int" />
      <xsd:element name="Chars" type="tns:RrwsThxAxisChars" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSxAxisChars">
    - <xsd:sequence>
      <xsd:element name="Chanm" type="n0:char30" />
      <xsd:element name="Hienm" type="n0:char30" />
      <xsd:element name="Version" type="n0:char3" />
      <xsd:element name="Dateto" type="n0:date" />
      <xsd:element name="Caption" type="n0:char60" />
      <xsd:element name="Chaprsnt" type="n0:char1" />
      <xsd:element name="Chatyp" type="n0:numeric1" />
      <xsd:element name="Attrinm" type="tns:RrwsTAttrinm" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSAttrinm">
    - <xsd:sequence>
      <xsd:element name="Attrinm" type="n0:char30" />
      <xsd:element name="Caption" type="n0:char60" />
      <xsd:element name="Chaprsnt" type="n0:char1" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSCell">
    - <xsd:sequence>
      <xsd:element name="CellOrdinal" type="n0:numeric6" />
      <xsd:element name="Value" type="n0:char22" />
      <xsd:element name="FormattedValue" type="n0:char40" />
      <xsd:element name="ValueType" type="n0:char1" />
      <xsd:element name="Currency" type="n0:cuky5" />
      <xsd:element name="Unit" type="n0:unit3" />
      <xsd:element name="Mwkz" type="n0:char1" />
      <xsd:element name="NumScale" type="n0:char1" />
      <xsd:element name="NumPrec" type="n0:char1" />
      <xsd:element name="CellStatus" type="n0:char1" />
      <xsd:element name="BackColor" type="n0:char8" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSTextSymbols">
    - <xsd:sequence>
      <xsd:element name="SymType" type="n0:char1" />
      <xsd:element name="SymTimedep" type="n0:char1" />
      <xsd:element name="SymName" type="n0:char40" />
      <xsd:element name="SymFs" type="n0:numeric2" />
      <xsd:element name="SymBeginGroup" type="n0:char1" />
      <xsd:element name="SymCaption" type="n0:char60" />
      <xsd:element name="SymValueType" type="n0:char2" />
      <xsd:element name="SymValue" type="n0:char132" />
      <xsd:element name="SymOutputlen" type="n0:numeric6" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RfcException.Message">
    - <xsd:sequence>
      <xsd:element name="ID" type="xsd:string" />
      <xsd:element name="Number" type="tns:RfcException.Message.Number" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="GetQueryViewData.RfcException">
    - <xsd:sequence>
      <xsd:element name="Name" type="tns:GetQueryViewData.RfcExceptions" />
      <xsd:element name="Text" minOccurs="0" type="xsd:string" />
      <xsd:element name="Message" minOccurs="0" type="tns:RfcException.Message" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="Rrxw3tquery">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:W3query" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsThxAxisData">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSxAxisData" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTxSet">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSxTuple" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTAttributes">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSAttributes" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsThxAxisInfo">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSxAxisInfo" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsThxAxisChars">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSxAxisChars" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTAttrinm">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSAttrinm" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTCell">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSCell" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTTextSymbols">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSTextSymbols" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:simpleType name="GetQueryViewData.RfcExceptions">
    - <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Abort" />
      <xsd:enumeration value="InvalidInput" />
      <xsd:enumeration value="InvalidVariableValues" />
      <xsd:enumeration value="InvalidView" />
      <xsd:enumeration value="NoApplicableData" />
      <xsd:enumeration value="NoAuthority" />
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:element name="GetQueryViewData.Exception" type="tns:GetQueryViewData.RfcException" />
    + <xsd:element name="GetQueryViewData">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="Infoprovider" minOccurs="0" type="n0:char30" />
      <xsd:element name="Parameter" minOccurs="0" type="tns:Rrxw3tquery" />
      <xsd:element name="Query" minOccurs="0" type="n0:char30" />
      <xsd:element name="ViewId" minOccurs="0" type="n0:char30" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
    + <xsd:element name="GetQueryViewDataResponse">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="AxisData" type="tns:RrwsThxAxisData" />
      <xsd:element name="AxisInfo" type="tns:RrwsThxAxisInfo" />
      <xsd:element name="CellData" type="tns:RrwsTCell" />
      <xsd:element name="TextSymbols" type="tns:RrwsTTextSymbols" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    + <wsdl:message name="GetQueryViewData">
      <wsdl:part name="parameters" element="tns:GetQueryViewData" />
      </wsdl:message>
    + <wsdl:message name="GetQueryViewDataResponse">
      <wsdl:part name="parameters" element="tns:GetQueryViewDataResponse" />
      </wsdl:message>
    + <wsdl:message name="exception00">
      <wsdl:part name="exception00" element="tns:GetQueryViewData.Exception" />
      </wsdl:message>
    + <wsdl:portType name="query_view_data">
    + <wsdl:operation name="GetQueryViewData">
      <wsdl:input message="tns:GetQueryViewData" />
      <wsdl:output message="tns:GetQueryViewDataResponse" />
      <wsdl:fault name="exception00" message="tns:exception00" />
      </wsdl:operation>
      </wsdl:portType>
    + <wsdl:binding name="query_view_dataSoapBinding" type="tns:query_view_data">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetQueryViewData">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
    - <wsdl:fault name="exception00">
      <soap:fault name="exception00" use="literal" />
      </wsdl:fault>
      </wsdl:operation>
      </wsdl:binding>
    + <wsdl:service name="query_view_dataService">
    - <wsdl:port name="query_view_dataSoapBinding" binding="tns:query_view_dataSoapBinding">
      <soap:address location="http://sdhpbwa1.gdc.mycompany.com:8023/sap/bw/xml/soap/queryview?sap-client=100" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

  • Writing OR query for fetching records

    Hi,
    I have dowloaded a custom wsdl and generated a java client from it using Jdeveloper.
    I have a method named customObject1QueryPage(QueryInputObj) which is used to query the CRM oD to fetch records.
    I have successfully queried using the above method for one condition:-
    QueryInputObj param= new QueryInputObj();
    QueryType q = new QueryType();
    q.set_value("='" + "ABC'");
    //q.set_value("LIKE 'A*'");
    param.setAccountName(q);
    customObject1QueryPage(param);
    But now I want to query using "OR" condition with multiple names in the condition and I don't know how to
    write query for that.
    SQL query would be like "Select * from table where name='ABC' OR name='PQR' OR name ='XYZ' ";
    I want to execute same query for CRM oD but have no idea how to write it.
    Can somebody please help me as soon as possible.
    Thanks.

    Hi,
    If your intent to Use OR Condition on a field with multiple Values
    say, AccountName = 'xyz' OR AccountName= 'abc' the syntax would be *(='xyz') OR (='abc')*
    say, AccountName = 'xyz' OR AccountName= 'abc' OR AccountName = 'pqr' the syntax would be *((='xyz') OR (='abc'))OR(='pqr')*
    You can find similar example under On Demand Web Service Documentation
    Regards
    Deepak H Andeli

Maybe you are looking for

  • Blurry Titles in Premiere CS6

    Is Adobe doing anything to correct the problems that Premiere CS6 has when creating titles that look great until they are rendered, at which point they become blurry...titles created in Photoshop and/or AfterEffects render out the same way in Premier

  • Capped zones not getting discovered automatically after global zone discovr

    On solaris 10. We have global zones with capped and uncapped zones. Zones which are uncapped getting discovered under global zone. But zones which are capped are not getting discovered. As per all documents:http://docs.oracle.com/cd/E27363_01/doc.121

  • Software-updater

    software-updater

  • Android menu from adobe air

    Hi everyone, Maybe this the wrong place for this, or I'm dumb, but could someone explain to me, or give me a link to somewhere that can explain how I can give my android app I wrote in flash a menu in android? If this is not possible, I'm sorry to wa

  • Import from SD chip new iMac

    The iPhoto Library shows the EOS_DIGITAL under ▼ DEVICES -But, when highlighted and click <Import to Library> the window that pops up is a <Finder> window titled "Import Photos" with either <Applications> or <Desktop> in the box. Sidebar lists again