Insert / Retrieve Unicode for XMLType

Hi,
I have a problem inserting unicode characters (chinese, japanese, korean, etc) into an XMLType column.
I am currently using the Spring Framework's (JDBCTemplate) to perform all my SQL inserts / queries.
The code snipplet that I used for inserting the XML is shown below.
String sql = "INSERT INTO ComplexProductDesc (ComplexProductDescId, "
          + "OrderId, ProductDescription) VALUES (?, ?, XMLType(?))";
OracleLobHandler lobHandler = new OracleLobHandler();
lobHandler.setNativeJdbcExtractor(new CommonsDbcpNativeJdbcExtractor());
Object[] params = new Object[] {
     complexProductDescSequence.nextLongValue(),
     orderId,
     new SqlLobValue( xmlString, lobHandler)
int[] types = new int[] {
     Types.NUMERIC,
     Types.NUMERIC,
     Types.CLOB     
jdbcTemplate.update(sql, params, types);
Thanks,

Pathfinder225 wrote:
>
DO NOT PUT JDBC CODE INTO JSPS.
IS THAT CLEAR?First I can't understand why?...after googling it i came to Know Some Facts.........Many Thank for the INFO.The Reason for this anti-practice is that beginning JSP books do this in their examples. Similarly for college courses. We wrote JDBC code in JSPs in the web development class I took. Of course I know better now - but how is a new developer to know?
If you are new to JSPs you shouldn't be writing Java code at all, let alone JDBC. Any book or any person who claims differently is a fool.
If you have JSPs with JDBC then you might as well have PHP, there's just no point at all in it. If you are new to JDBC then work on some simple, stand-alone programs first. Then learn JSP/Servlets and go read Balus's blog which he linked to a few times now I think for you.
And please. Stop using ... and the random capitalization, it really annoys people.
This is like the fourth or fifth time you've been told most of it. If you don't understand a post do some research and/or ask a question, don't just continue on a bad path.

Similar Messages

  • Unable to insert and retrieve Unicode data using Microsoft OLE DB Provider

    Hi,
    I have an ASP.NET web application that uses OLEDB connection to Oracle database.
    Database: Oracle 11g
    Provider: MSDAORA
    ConnectionString: "Provider=MSDAORA;Data Source=localhost;User ID=system; Password=oracle;*convertNcharLiterals*=true;"
    When I use SQL Develeoper client and add convertNcharLiterals=true; in sqldeveloper.conf then I am able to store and retrieve Unicode data.
    The character sets are as follows:
    Database character set is: WE8MSWIN1252
    National Language character set: AL16UTF16
    Select * from nls_database_parameters where parameter in ('NLS_CHARACTERSET','NLS_LENGTH_SEMANTICS','NLS_NCHAR_CHARACTERSET');
    PARAMETER VALUE ---------------------------------------
    NLS_CHARACTERSET WE8MSWIN1252
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    I have a test table:
    desc TestingUni
    Name Null Type
    UNI1 VARCHAR2(20)
    UNI2 VARCHAR2(20)
    UNI3 NVARCHAR2(20)
    I execute the below mentioned query from a System.OleDb.OleDbCommand object.
    Insert into TestingUni(UNI3 ) values(N'汉语漢語');
    BUT when retrieving the same I get question marks (¿¿¿¿) instead of the Chinese characters (汉语漢語)
    Is there any way to add the above property(convertNcharLiterals) when querying the Oracle database from OLEDB connection?
    OR is there any other provider for Oracle which would help me solve my problem?
    OR any other help regarding this?
    Thanks

    using OraOLEDB Provider.
    set the environment variable ORA_NCHAR_LITERAL_REPLACE to TRUE. Doing so transparently replaces the n' internally and preserves the text literal for SQL processing.
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/sql_elements003.htm#i42617

  • Error while trying to retrieve text for error ORA-03113"

    We face an error saying "Error while trying to retrieve text for error ORA-03113" in our Mail trigger application.
    This error happens randomly
    This is the below error i am getting
    I see from the logs
    DBD::Oracle::st execute failed: Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute) [for State ment " insert into matrix_tbl (created_tm, tran_id, matrix_id, client_id, mailing_id, block_id, slist_id, profile_blob, profil e_id, plist_id, profile_key, email_addr, mail_pref, mail_pref_mask, alt_email_addr, num_ftd, pct_id )  SELECT sysdate, 0 , 619
    70818 , 7180280 , 39868792 , ?, 0 ,   substr( 'MT' || chr(1) || ''   || chr(1) || 'PAPER_USAGE' || chr(1) || s.C26 || chr(1) |
    | 'GARDEN' || chr(1) || s.C17 || chr(1) || 'TAG' || chr(1) || s.C34 ||
    | chr(1) || 'PASS_MAILING' || chr(1) || s.C27 || chr(1) | 'MS' || chr(1) || s.C24 || chr(1) || 'OPTIN_SOURCE' || chr(1) || s.C25 || chr(1) || 'DAILY' || chr(1) || s.C7 || chr(1) || '
    PROFILE_LIST' || chr(1) || s.C28 || chr(1) || 'HI' || chr(1) || s.C20 || chr(1) || 'EXIST_MAILING' || chr(1) || s.C11 || chr(1
    ) || 'RPASS2' || chr(1) || s.C30 || chr(1) || 'FORWARD_MAILING' || chr(1) || s.C15 || chr(1) || 'ACCESS' || chr(1) || s.C1 ||
    chr(1) || 'TRAVCON' || chr(1) || s.C35 || chr(1) || 'RPASS1' || chr(1) || s.C29 || chr(1) || 'FINANCE' || chr(1) || s.C12 || c
    hr(1) || 'CONFIRM_MAILING' || chr(1) || s.C5 || chr(1) || 'VENT' || chr(1) || s.C38 || chr(1) || 'SRC' || chr(1) || s.C32 || c
    hr(1) || 'DELIVERY' || chr(1) || s.C8 || chr(1) || 'SALUTATION' || chr(1) || s.C31 || chr(1) || 'UNTITLEDY' || chr(1) || s.C37  || chr(1) || 'CU18' || chr(1) || s.C6 || chr(1) || 'BIRTH_DATE' || chr(1) || s.C3 || chr(1) || 'BIRTH_YEAR' || chr(1) || s.C4  || chr(1) || 'DOWNLOAD' || chr(1) || s.C9 || chr(1) || 'LN' || chr(1) || s.C22 || chr(1) || 'VIRAL_LIST' || chr(1) || s.C39 |
    | chr(1) || 'GENDER' || chr(1) || s.C18 || chr(1) || 'WEEKLY' || chr(1)
    | || s.C40 || chr(1) || 'UNTITLEDX' || chr(1) || s.C36 |
    | chr(1) || 'ENTERTAINMENT' || chr(1) || s.C10 || chr(1) || 'HEALTH' ||
    | chr(1) || s.C19 || chr(1) || 'INCOME' || chr(1) || s.C
    21 || chr(1) || 'FN' || chr(1) || s.C13 || chr(1) || 'ZIP' || chr(1) || s.C41 || chr(1) || 'AGE' || chr(1) || s.C2 || chr(1) |
    | 'FOOD' || chr(1) || s.C14 || chr(1) || 'SUPPRESS' || chr(1) || s.C33
    | || chr(1) || 'FTD_REVAL_DATE' || chr(1) || s.C16 || chr
    (1) || 'MOVIE' || chr(1) || s.C23 , 0,3999) , s.profile_id, s.plist_id, s.profile_key, s.email_addr , s.mail_pref, s.mail_pref _mask, s.alt_email_addr, srt.num_ftd, s.block_id FROM subscriber_tbl s, sub_report_tbl srt WHERE s.plist_id = ?
    and s.block_id
    = ? and srt.plist_id = ? and srt.block_id = ?  and s.profile_id = srt.profile_id
        and nvl(srt.num_optout, 0) = 0 and nvl(srt.num_ftd, 0) <= 3 and srt.optin_mask like '%N01%'"
        with ParamValues: :p5='1941860', :p3='1941860', :p1=1, :p4='28895423', :p2='28895423'] at hcommon.pm line 1277.
    AJC MAILTRIGGER STH Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute)

    An ORA-03113 error would mean that the connection to the database no longer exists so any attempt to get the error message from the the database would result in an error. I think the real issue might be why was the session interrupted.
    03113, 00000, "end-of-file on communication channel"
    Depending on the front-end tool a pointer error or failure to properly terminate a string could result in corrupting the message to Oracle.
    There have been numerous bugs over the years that have resulted in this error message being returned. I notice that the Oracle version, platform, edition, and client tool set are not mentioned in the post. All this would potentially be important information for someone to recognize what might be the problem.
    I would look very closely at the code " at hcommon.pm line 1277 "
    HTH -- Mark D Powell --

  • ORA-07445 in the alert log when inserting into table with XMLType column

    I'm trying to insert an xml-document into a table with a schema-based XMLType column. When I try to insert a row (using plsql-developer) - oracle is busy for a few seconds and then the connection to oracle is lost.
    Below you''ll find the following to recreate the problem:
    a) contents from the alert log
    b) create script for the table
    c) the before-insert trigger
    d) the xml-schema
    e) code for registering the schema
    f) the test program
    g) platform information
    Alert Log:
    Fri Aug 17 00:44:11 2007
    Errors in file /oracle/app/oracle/product/10.2.0/db_1/admin/dntspilot2/udump/dntspilot2_ora_13807.trc:
    ORA-07445: exception encountered: core dump [SIGSEGV] [Address not mapped to object] [475177] [] [] []
    Create script for the table:
    CREATE TABLE "DNTSB"."SIGNATURETABLE"
    (     "XML_DOCUMENT" "SYS"."XMLTYPE" ,
    "TS" TIMESTAMP (6) WITH TIME ZONE NOT NULL ENABLE
    ) XMLTYPE COLUMN "XML_DOCUMENT" XMLSCHEMA "http://www.sporfori.fo/schemas/www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd" ELEMENT "Object"
    ROWDEPENDENCIES ;
    Before-insert trigger:
    create or replace trigger BIS_SIGNATURETABLE
    before insert on signaturetable
    for each row
    declare
    -- local variables here
    l_sigtab_rec signaturetable%rowtype;
    begin
    if (:new.xml_document is not null) then
    :new.xml_document.schemavalidate();
    end if;
    l_sigtab_rec.xml_document := :new.xml_document;
    end BIS_SIGNATURETABLE2;
    XML-Schema (xmldsig-core-schema.xsd):
    =====================================================================================
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Schema for XML Signatures
    http://www.w3.org/2000/09/xmldsig#
    $Revision: 1.1 $ on $Date: 2002/02/08 20:32:26 $ by $Author: reagle $
    Copyright 2001 The Internet Society and W3C (Massachusetts Institute
    of Technology, Institut National de Recherche en Informatique et en
    Automatique, Keio University). All Rights Reserved.
    http://www.w3.org/Consortium/Legal/
    This document is governed by the W3C Software License [1] as described
    in the FAQ [2].
    [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
    [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
    -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xdb="http://xmlns.oracle.com/xdb"
    targetNamespace="http://www.w3.org/2000/09/xmldsig#" version="0.1" elementFormDefault="qualified">
    <!-- Basic Types Defined for Signatures -->
    <xs:simpleType name="CryptoBinary">
    <xs:restriction base="xs:base64Binary">
    </xs:restriction>
    </xs:simpleType>
    <!-- Start Signature -->
    <xs:element name="Signature" type="ds:SignatureType"/>
    <xs:complexType name="SignatureType">
    <xs:sequence>
    <xs:element ref="ds:SignedInfo"/>
    <xs:element ref="ds:SignatureValue"/>
    <xs:element ref="ds:KeyInfo" minOccurs="0"/>
    <xs:element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Id" type="xs:ID" use="optional"/>
    </xs:complexType>
    <xs:element name="SignatureValue" type="ds:SignatureValueType"/>
    <xs:complexType name="SignatureValueType">
    <xs:simpleContent>
    <xs:extension base="xs:base64Binary">
    <xs:attribute name="Id" type="xs:ID" use="optional"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <!-- Start SignedInfo -->
    <xs:element name="SignedInfo" type="ds:SignedInfoType"/>
    <xs:complexType name="SignedInfoType">
    <xs:sequence>
    <xs:element ref="ds:CanonicalizationMethod"/>
    <xs:element ref="ds:SignatureMethod"/>
    <xs:element ref="ds:Reference" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Id" type="xs:ID" use="optional"/>
    </xs:complexType>
    <xs:element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
    <xs:complexType name="CanonicalizationMethodType" mixed="true">
    <xs:sequence>
    <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
    <!-- (0,unbounded) elements from (1,1) namespace -->
    </xs:sequence>
    <xs:attribute name="Algorithm" type="xs:anyURI" use="required"/>
    </xs:complexType>
    <xs:element name="SignatureMethod" type="ds:SignatureMethodType"/>
    <xs:complexType name="SignatureMethodType" mixed="true">
    <xs:sequence>
    <xs:element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
    <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
    <!-- (0,unbounded) elements from (1,1) external namespace -->
    </xs:sequence>
    <xs:attribute name="Algorithm" type="xs:anyURI" use="required"/>
    </xs:complexType>
    <!-- Start Reference -->
    <xs:element name="Reference" type="ds:ReferenceType"/>
    <xs:complexType name="ReferenceType">
    <xs:sequence>
    <xs:element ref="ds:Transforms" minOccurs="0"/>
    <xs:element ref="ds:DigestMethod"/>
    <xs:element ref="ds:DigestValue"/>
    </xs:sequence>
    <xs:attribute name="Id" type="xs:ID" use="optional"/>
    <xs:attribute name="URI" type="xs:anyURI" use="optional"/>
    <xs:attribute name="Type" type="xs:anyURI" use="optional"/>
    </xs:complexType>
    <xs:element name="Transforms" type="ds:TransformsType"/>
    <xs:complexType name="TransformsType">
    <xs:sequence>
    <xs:element ref="ds:Transform" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="Transform" type="ds:TransformType"/>
    <xs:complexType name="TransformType" mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:any namespace="##other" processContents="lax"/>
    <!-- (1,1) elements from (0,unbounded) namespaces -->
    <xs:element name="XPath" type="xs:string"/>
    </xs:choice>
    <xs:attribute name="Algorithm" type="xs:anyURI" use="required"/>
    </xs:complexType>
    <!-- End Reference -->
    <xs:element name="DigestMethod" type="ds:DigestMethodType"/>
    <xs:complexType name="DigestMethodType" mixed="true">
    <xs:sequence>
    <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Algorithm" type="xs:anyURI" use="required"/>
    </xs:complexType>
    <xs:element name="DigestValue" type="ds:DigestValueType"/>
    <xs:simpleType name="DigestValueType">
    <xs:restriction base="xs:base64Binary"/>
    </xs:simpleType>
    <!-- End SignedInfo -->
    <!-- Start KeyInfo -->
    <xs:element name="KeyInfo" type="ds:KeyInfoType"/>
    <xs:complexType name="KeyInfoType" mixed="true">
    <xs:choice maxOccurs="unbounded">
    <xs:element ref="ds:KeyName"/>
    <xs:element ref="ds:KeyValue"/>
    <xs:element ref="ds:RetrievalMethod"/>
    <xs:element ref="ds:X509Data"/>
    <xs:element ref="ds:PGPData"/>
    <xs:element ref="ds:SPKIData"/>
    <xs:element ref="ds:MgmtData"/>
    <xs:any processContents="lax" namespace="##other"/>
    <!-- (1,1) elements from (0,unbounded) namespaces -->
    </xs:choice>
    <xs:attribute name="Id" type="xs:ID" use="optional"/>
    </xs:complexType>
    <xs:element name="KeyName" type="xs:string"/>
    <xs:element name="MgmtData" type="xs:string"/>
    <xs:element name="KeyValue" type="ds:KeyValueType"/>
    <xs:complexType name="KeyValueType" mixed="true">
    <xs:choice>
    <xs:element ref="ds:DSAKeyValue"/>
    <xs:element ref="ds:RSAKeyValue"/>
    <xs:any namespace="##other" processContents="lax"/>
    </xs:choice>
    </xs:complexType>
    <xs:element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
    <xs:complexType name="RetrievalMethodType">
    <xs:sequence>
    <xs:element ref="ds:Transforms" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="URI" type="xs:anyURI"/>
    <xs:attribute name="Type" type="xs:anyURI" use="optional"/>
    </xs:complexType>
    <!-- Start X509Data -->
    <xs:element name="X509Data" type="ds:X509DataType"/>
    <xs:complexType name="X509DataType">
    <xs:sequence maxOccurs="unbounded">
    <xs:choice>
    <xs:element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
    <xs:element name="X509SKI" type="xs:base64Binary"/>
    <xs:element name="X509SubjectName" type="xs:string"/>
    <xs:element name="X509Certificate" type="xs:base64Binary"/>
    <xs:element name="X509CRL" type="xs:base64Binary"/>
    <xs:any namespace="##other" processContents="lax"/>
    </xs:choice>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="X509IssuerSerialType">
    <xs:sequence>
    <xs:element name="X509IssuerName" type="xs:string"/>
    <xs:element name="X509SerialNumber" type="xs:integer"/>
    </xs:sequence>
    </xs:complexType>
    <!-- End X509Data -->
    <!-- Begin PGPData -->
    <xs:element name="PGPData" type="ds:PGPDataType"/>
    <xs:complexType name="PGPDataType">
    <xs:choice>
    <xs:sequence>
    <xs:element name="PGPKeyID" type="xs:base64Binary"/>
    <xs:element name="PGPKeyPacket" type="xs:base64Binary" minOccurs="0"/>
    <xs:any namespace="##other" processContents="lax" minOccurs="0"
    maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:sequence>
    <xs:element name="PGPKeyPacket" type="xs:base64Binary"/>
    <xs:any namespace="##other" processContents="lax" minOccurs="0"
    maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:choice>
    </xs:complexType>
    <!-- End PGPData -->
    <!-- Begin SPKIData -->
    <xs:element name="SPKIData" type="ds:SPKIDataType"/>
    <xs:complexType name="SPKIDataType">
    <xs:sequence maxOccurs="unbounded">
    <xs:element name="SPKISexp" type="xs:base64Binary"/>
    <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <!-- End SPKIData -->
    <!-- End KeyInfo -->
    <!-- Start Object (Manifest, SignatureProperty) -->
    <xs:element name="Object" type="ds:ObjectType"/>
    <xs:complexType name="ObjectType" mixed="true">
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:any namespace="##any" processContents="lax"/>
    </xs:sequence>
    <xs:attribute name="Id" type="xs:ID" use="optional"/>
    <xs:attribute name="MimeType" type="xs:string" use="optional"/> <!-- add a grep facet -->
    <xs:attribute name="Encoding" type="xs:anyURI" use="optional"/>
    </xs:complexType>
    <xs:element name="Manifest" type="ds:ManifestType"/>
    <xs:complexType name="ManifestType">
    <xs:sequence>
    <xs:element ref="ds:Reference" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Id" type="xs:ID" use="optional"/>
    </xs:complexType>
    <xs:element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
    <xs:complexType name="SignaturePropertiesType">
    <xs:sequence>
    <xs:element ref="ds:SignatureProperty" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="Id" type="xs:ID" use="optional"/>
    </xs:complexType>
    <xs:element name="SignatureProperty" type="ds:SignaturePropertyType"/>
    <xs:complexType name="SignaturePropertyType" mixed="true">
    <xs:choice maxOccurs="unbounded">
    <xs:any namespace="##other" processContents="lax"/>
    <!-- (1,1) elements from (1,unbounded) namespaces -->
    </xs:choice>
    <xs:attribute name="Target" type="xs:anyURI" use="required"/>
    <xs:attribute name="Id" type="xs:ID" use="optional"/>
    </xs:complexType>
    <!-- End Object (Manifest, SignatureProperty) -->
    <!-- Start Algorithm Parameters -->
    <xs:simpleType name="HMACOutputLengthType">
    <xs:restriction base="xs:integer"/>
    </xs:simpleType>
    <!-- Start KeyValue Element-types -->
    <xs:element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
    <xs:complexType name="DSAKeyValueType">
    <xs:sequence>
    <xs:sequence minOccurs="0">
    <xs:element name="P" type="ds:CryptoBinary"/>
    <xs:element name="Q" type="ds:CryptoBinary"/>
    </xs:sequence>
    <xs:element name="G" type="ds:CryptoBinary" minOccurs="0"/>
    <xs:element name="Y" type="ds:CryptoBinary"/>
    <xs:element name="J" type="ds:CryptoBinary" minOccurs="0"/>
    <xs:sequence minOccurs="0">
    <xs:element name="Seed" type="ds:CryptoBinary"/>
    <xs:element name="PgenCounter" type="ds:CryptoBinary"/>
    </xs:sequence>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
    <xs:complexType name="RSAKeyValueType">
    <xs:sequence>
    <xs:element name="Modulus" type="ds:CryptoBinary"/>
    <xs:element name="Exponent" type="ds:CryptoBinary"/>
    </xs:sequence>
    </xs:complexType>
    <!-- End KeyValue Element-types -->
    <!-- End Signature -->
    </xs:schema>
    ===============================================================================
    Code for registering the xml-schema
    begin
    dbms_xmlschema.deleteSchema('http://xmlns.oracle.com/xdb/schemas/DNTSB/www.sporfori.fo/schemas/www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd',
    dbms_xmlschema.DELETE_CASCADE_FORCE);
    end;
    begin
    DBMS_XMLSCHEMA.REGISTERURI(
    schemaurl => 'http://www.sporfori.fo/schemas/www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd',
    schemadocuri => 'http://www.sporfori.fo/schemas/www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd',
    local => TRUE,
    gentypes => TRUE,
    genbean => FALSE,
    gentables => TRUE,
    force => FALSE,
    owner => 'DNTSB',
    options => 0);
    end;
    Test program
    -- Created on 17-07-2006 by EEJ
    declare
    XML_TEXT3 CLOB := '<Object xmlns="http://www.w3.org/2000/09/xmldsig#">
                                  <SignatureProperties>
                                       <SignatureProperty Target="">
                                            <Timestamp xmlns="http://www.sporfori.fo/schemas/dnts/general/2006/11/14">2007-05-10T12:00:00-05:00</Timestamp>
                                       </SignatureProperty>
                                  </SignatureProperties>
                             </Object>';
    xmldoc xmltype;
    begin
    xmldoc := xmltype(xml_text3);
    insert into signaturetable
    (xml_document, ts)
    values
    (xmldoc, current_timestamp);
    end;
    Platform information
    Operating system:
    -bash-3.00$ uname -a
    SunOS dntsdb 5.10 Generic_125101-09 i86pc i386 i86pc
    SQLPlus:
    SQL*Plus: Release 10.2.0.3.0 - Production on Fri Aug 17 00:15:13 2007
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning and Data Mining options
    Kind Regards,
    Eyðun

    You should report this in a service request on http://metalink.oracle.com.
    It is a shame that you put all the effort here to describe your problem, but on the other hand you can now also copy & paste the question to Oracle Support.
    Because you are using 10.2.0.3; I am guessing that you have a valid service contract...

  • Update query for XMLTYPE column

    Hello everyone,
    I have inserted xml data into XMLTYPE column of my table,xml data is something like this
    <Data type="FYI">                         
    <ID xmlns="http://orcl.com">T-1-1</ID>
    <Category>FRAME</Category>
    <ProductID>1</ProductID>
    <Name xmlns="http://orcl.com">Frame </Name>
    <Type>BASIC</Type>
    <Code>INSTALL</Code>
    <NodeID>1</NodeID>
    </Data>
    Now i need to update the values inside the <Data> element,like
    ID == T-2-2
    Category == IFRAME
    ProductID == 1.1
    Name == IFRAME
    We are using oracle 10g R2.
    Please help me out how to update. It would be very thankfull for your valuble suggestions
    Thanks in advance

    <Services>
    <DataService type="FRLY">
    <ID xmlns="http://www.openapplications.org/oagis/9">T-1-1-FRLY</ID>
    <CategoryCode>FRAME</CategoryCode>
    <ProductOfferingID>1</ProductOfferingID>
    <Name xmlns="http://www.openapplications.org/oagis/9">Frame Relay</Name>
    <SubType>FRLY - BASIC</SubType>
    <ActionCode>INSTALL</ActionCode>
    <NodeID>1</NodeID>
    <Contract>
    <ID xmlns="http://www.openapplications.org/oagis/9" schemeName="Networx Universal">00000</ID>
    <Category name="Contract Type">U</Category>
    </Contract>
    <Contract>
    <Type xmlns="http://www.openapplications.org/oagis/9">Routine</Type>
    </Contract>
    <CustomerParty>
    <Location/>
    </CustomerParty>
    <ProvisioningStatus type="BillingSetup">
    <Description xmlns="http://www.openapplications.org/oagis/9">C</Description>
    </ProvisioningStatus>
    <MileStone>
    <ID xmlns="http://www.openapplications.org/oagis/9">CWD</ID>
    <Date>2007-01-29</Date>
    </MileStone>
    <ActivityStatus>
    <Code xmlns="http://www.openapplications.org/oagis/9" name="DueDate"/>
    <EffectiveDateTime xmlns="http://www.openapplications.org/oagis/9">2007-01-29T00:00:00Z</EffectiveDateTime>
    </ActivityStatus>
    <AssociatedIDs>
    <ID xmlns="http://www.openapplications.org/oagis/9">1</ID>
    </AssociatedIDs>
    <AssociatedIDs>
    <TemporaryID schemeName="OPKEY">34908</TemporaryID>
    </AssociatedIDs>
    <Location>
    <ID xmlns="http://www.openapplications.org/oagis/9">T-510092</ID>
    </Location>
    <OrderID>RequestID</OrderID>
    <Accessory>
    <ActionCode>ADD</ActionCode>
    <Description xmlns="http://www.openapplications.org/oagis/9">IBM ESERVER-XSERIES306</Description>
    <CategoryCode>5</CategoryCode>
    <InstallVendorParty>
    <Name xmlns="http://www.openapplications.org/oagis/9">MCI</Name>
    </InstallVendorParty>
    </Accessory>
    <Circuit>
    <ID xmlns="http://www.openapplications.org/oagis/9">T-1-1-FRLY</ID>
    <AssociatedIDs/>
    </Circuit>
    </DataService>
    </Services>
    This was my xml which i have inserted into DB for the column XMLTYPE.Now i need to update few values in this whole file like values of
    ID under<DataService>
    Name under <DataService>
    ID under <Contract>
    Description under <ProvisioningStatus>
    i was using the UPDATEXML query to update those it's saying i row updated but when i extract it says null.
    Please help me out to solve this problem.
    Thanks in advance.

  • Unable to install SQL Server Express 2008 R2 - Errors "Failed to retrieve data for this request"

    As domain admin I am attempting to install "SQL Server 2008 R2 with SP2" but it keeps failing with "Failed to retrieve data for this request".
    The installation never actually starts, it errors before then.
    It displays the same error even if I run the System Configuration Checker.
    The summary.txt for the install displays the following text:
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -1554760125
      Exit facility code:            852
      Exit error code:               15939
      Exit message:                  Failed to retrieve data for this request.
      Start time:                    2014-08-15 16:49:52
      End time:                      2014-08-15 16:50:06
      Requested action:              RunRules
    Machine Properties:
      Machine name:                  servername
      Machine processor count:       8
      OS version:                    Windows Server 2008 R2
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  Yes
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       1
      Installation location:         c:\84122ef5b6d9cdcd3b2ac48cec\x64\setup\
      Installation edition:          EXPRESS
    User Input Settings:
      ACTION:                        RunRules
      CONFIGURATIONFILE:             
      ENU:                           True
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTANCENAME:                  <empty>
      PASSPHRASE:                    *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      RULES:                         GLOBALRULES,SqlUnsupportedProductBlocker,PerfMonCounterNotCorruptedCheck,Bids2008InstalledCheck,BlockInstallSxS,AclPermissionsFacet,FacetDomainControllerCheck,SSMS_IsInternetConnected,FacetWOW64PlatformCheck,FacetPowerShellCheck
      UIMODE:                        AutoAdvance
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140815_164944\ConfigurationFile.ini
    Detailed results:
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               The rule result report file is not available.
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
        Message:
            Failed to retrieve data for this request.
        Data:
          HelpLink.ProdName = Microsoft SQL Server
          HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
          HelpLink.LinkId = 20476
          DisableWatson = true
        Stack:
            at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
            at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
            at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
            at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
        Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
            Message:
                    The network path was not found.
            Data:
              WatsonData = [email protected]rror
            Stack:
                    at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.CreateBaseKey(ServiceContainer ctx, String machineName, IntPtr hKey, String keyName, RegistryAccess access, RegistryView
    view)
                    at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocalMachine(ServiceContainer ctx, String machineName, RegistryAccess access, RegistryView view)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
                    at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
                    at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
                    at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)

        Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
            Message:
                    The network path was not found.
            Data:
              WatsonData = [email protected]rror
    Above message says that your registry is not consistent and some of the parameters are missing from registry.Or
    Account installing SQL server does not have permission to access this. I think case can be here that account with which you logged into your system to install SQL Server might not have certain privileges. Can you take help
    of domain admin account add it as a local administrator in this machine always right click on setup file and select run as administrator. Before this make sure you  remove all SQL Server components from add remove program
    I strongly recommend you to have a good look at below thread
    http://support.microsoft.com/kb/2000257/en-us
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Err "Couldn't retrieve binding for the given channelId" in receiver SOAP CC

    Hello.
    We have increase the support package level of our XI 3.0 system from level 17 to 23. After this "upgrade" all interfaces using a receiver SOAP channel communication are getting the next error:
    SOAP: response message contains an error XIServer/UNKNOWN/ADAPTER.JAVA_EXCEPTION - com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldnt retrieve binding for the given channelId: Binding:CID=8cb6335a548730ea9ca27aaa78034109; at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBindingByChannelId(AbstractLookupManager.java:361) at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:421) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    We have done the next steps:
    - Run SXI_CACHE and start a complete cache refresh,
    - http://<Host>:<portNo.>/CPACache/refresh?mode=full
    - Restart J2EE server.
    The problem isn't solved.
    any idea?

    Probably you need to ask your BASIS team if they have done it or not.
    Secondly you can just see if something has been done under SWCV SAP BASIS --- http://sap.com/xi/XI/System --- Adapter Metadata, just by oping any adapter and then by looking at Properties or Hisotry from menu "Adapter Metadata". Here you can see the date under "Changed on", so if this matches with your upgrade date then something has been done. But this check will not help you know about the SP level. So better to ask with BASIS.

  • STRUTS - Cannot retrieve definition for form bean null -aaaarrrrgh

    Hi Folks,
    my head hurts and i become crazy... i know that a lot of people asked this question before, but i did not found any suitable solution.
    I have simple a jsp page, containing a form which should be handled by struts. I tried everything, but i did not found my mistake.
    Can anyone help me please?
    JSP:
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html:html locale="true">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Anmeldung f?r GOLEM Quickplayout</title>
    </head>
    <body>
    <html:errors/>
    <html:form action="checkLogin.do">
      <table cellspacing="3" cellpadding="2" border="0" width="100%" align="left">
        <tr>
          <td>
            <bean:message key="prompt.username"/>
          </td>
          <td>
            <html:text property="username"/>
          </td>
        </tr>
        <tr>
          <td>
            <bean:message key="prompt.password"/>
          </td>
          <td>
            <html:text property="password"/>
          </td>
        </tr>
      </table>
    </html:form>i tryed a lot for the FORM -Tag, for instance:
    <html:form action="checkLogin.do"> or
    <html:form action="/checkLogin.do"> or
    <html:form action="/checkLogin"> but all throws the same exception. :(
    struts-config.xml
      <form-beans>
        <form-bean name="loginForm" type="de.orb.quick.view.LoginForm"/>
      </form-beans>
      <action-mappings>
      <action path="/login" type="de.orb.quick.view.LoginAction" name="loginForm" input="/login.jsp" scope="session" unknown="true">
        <forward name="success" path="/showData.jsp"/>
      </action>
        <action path="/checkLogin" type="de.orb.quick.view.CheckLogonAction" unknown="false" input="/login.jsp">
          <forward name="success" path="/storeRequestData.do"/>
          <forward name="failure" path="/login.do"/>
        </action>
    Exception:
    javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null
         at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
         at _login._jspService(login.jsp:11)     [/login.jsp]
    LoginAction:
      public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
        return mapping.findForward("success");
    LoginForm:
    public class LoginForm extends ActionForm  {
      private String password = "";
      private String username = "";
      public void reset(ActionMapping mapping, HttpServletRequest request) {
        super.reset(mapping, request);
      public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        return super.validate(mapping, request);
      public String getPassword() {
        return password;
      public void setPassword(String password) {
        this.password = password;
      public String getUsername() {
        return username;
      public void setUsername(String username) {
        this.username = username;
      }Sorry for this stupid question, but how can i avoid this exception while using struts TagLibs?
    I tried to face the jsp with another action, but this does not change anything.
    Thank you in advance
    Mirko

    javax.servlet.jsp.JspException: Cannot retrieve definition for form bean myfrom
         at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:831)
         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
         at jsp_servlet.__index._jspService(__index.java:155)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

  • Cannot retrieve definition for form bean null

    Hi,
              I have a page jsp which contains a form. This form contains an action
              towards (page.do ).
              I configured struts-config.xml file in whom I put a configuration of
              action ( type=xxx.pageAction ) but not form because I have not need of
              it.
              During the execution it show that it tries to instantiate a bean of form
              corresponding to a configuration of action and post this error message
              " Root causes of ServletException javax.servlet.jsp. JspException:
              Cannot retrieve definition for form bean null "
              Could you indicate to me where is the problem ?
              Here is my configuration :
              < html:form action = " page.do " method = " post " >
              </html:form >
              <action path="/page"
              type="xxx.pageAction">
              <forward name="show" path="/page.jsp"/>
              </action>
              Thanks in advance
              Rachid.
              

    There's little reason to use Struts infrastructure to set this up since you have no model, and the controller aspect is well-defined (just go to "NewProject"!). You're basically providing a link from one page to another, akin to doing an <a href>, and you wouldn't use Struts to do a simple link :).
    I would just just use standard HTML.
    If you're okay with using Javascript, this is the simplest:
    <input type="button" onClick="document.location='NewProject'">
    Or you can use a standard HTML form, as you've basically done already:
    <form action="NewProject" method="get">
    <input type="submit" value="Create">
    </form>

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • Java.sql.SQLException: Error while trying to retrieve text for error ORA-24

    Hi All,
    Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which surprised me was when I use type � 3 driver while starting weblogic I get ORA �24327 but when I use Type �4 it starts properly. If you could kindly provide solution it would be great help. I would also appreciate if u can provide information which driver to use where performance is the major concern. I would also appreciate if u could provide feed-back from the industry about booth the driver. Apart from that I have couple have environment where it occurs when 10/12 user access simultaneously. All the open connection is closed in program properly still am getting the error.
    Thanks in anticipation.
    Cheers,
    Tapas
    Environment
    OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
    JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
    Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
    Oracle � 8.1.6
    Delaying 10 seconds before making a beuatpool pool connection.
    Pool 1 (Type �3 )
    weblogic.jdbc.connectionPool.beuatpool=\
    url=jdbc:weblogic:oracle,\
    driver=weblogic.jdbc.oci.Driver,\
    loginDelaySecs=10,\
    initialCapacity=10,\
    maxCapacity=20,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=10,\
    refreshMinutes=10,\
    testTable=dual,\
    props=user=xxx;password=xxx;server=xxxx
    Pool 2(Type �4)
    weblogic.jdbc.connectionPool.thinPool=\
    url=jdbc:oracle:thin:@xxx:1521:xxx,\
    driver=oracle.jdbc.driver.OracleDriver,\
    loginDelaySecs=1,\
    initialCapacity=1,\
    maxCapacity=10,\
    capacityIncrement=1,\
    allowShrinking=true,\
    shrinkPeriodMins=15,\
    refreshMinutes=15,\
    testTable=dual,\
    props=user=xxx;password=xxx;server=xxx:1521:xxx
    allow=everyone
    ---------- LOGIN ERROR CODE: 24327
    java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 �
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:43)
    at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:149)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:109)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    ---------- LOGIN ERROR CODE: 24327
    ---------- LOGIN ERROR CODE: 24327
    Fri Aug 31 00:57:22 GMT-05:00 2001:<I> <JDBC Pool> Sleeping in createResource()
    Fri Aug 31 00:57:23 GMT-05:00 2001:<E> <JDBC Pool> Failed to create connection p
    ool "beuatpool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:43)
    at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:137)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:172)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:109)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at weblogic.common.ResourceException.<init>(ResourceException.java:18)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:182)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:109)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at weblogic.common.ResourceException.<init>(ResourceException.java:18)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:125)
    at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
    e)
    at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
    ava:330)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
    :62)

    Hi,
    I guess you can try some of these:
    - Make sure you're not missing an entry inside your tnsnames.ora file. Thin driver does not require the information inside that file, as opposed to Weblogic's OCI driver. If you are able to connect to the DB using a thin driver, then the problem is most probably (WL)driver-related.
    - Make sure you've properly configured the DB user / password inside your weblogic.properties (config.xml if WL6+).
    - Make sure you're able to access all drivers and classes required (PATH, CLASSPATH, etc...)
    - Make sure the OCI driver version you are using is fully compatible with the Oracle (server) version you are pointing to.
    - Try to access the DB user through some other client (for instance, SQLPlus*).
    Hope this is of some help,
    Freddy.

  • Error while trying to retrieve text for error ORA-12705

    I am getting the message "Error while trying to retrieve text for error ORA-12705" when trying to connect to a remote oracle database on the network.
    I can access this database using:
    sqlplus username/password@database
    from a dos prompt.
    For some reason I can't connect when using PHP (through my local Apache2 server on Windows XP).
    'phpinfo' says oracle in enabled (installed as per: http://www.oracle.com/technology/pub/notes/technote_php_instant.html), so I'm pretty sure the problem isn't with php itself.
    My guess is it's something with Apache, and maybe environment variables or user permissions or instantclient (10).
    All the folders, from instantclient to the Apache server have full permissions set for "Everyone" which I would assume includes this mysterious "nobody" user I've read about.
    As for instantclient, I have placed that "tnsnames.ora" file from the oracle server there, and that hasn't changed much.
    I've tried setting, unsetting, editing (environment variables):
    LD_LIBRARY_PATH
    ORACLE_HOME
    ORACLE_SID
    TNS_ADMIN
    NLS_LANG
    ORA_NLS33
    in both the system environment, and even with PHP's "putenv" function. (Note: and restarting each time I changed a system var.)
    In PHP i'm using:
    $c = oci_connect("username","pasword", "database")
    I've tried OCILogon instead of oci_connect
    For "database" I've tried:
    - using the path to the oracle db: //Oracle1/e/oracle/ora81
    - mapping the path to x: drive and using: x:/oracle/ora81
    - using the name of the database by itself
    - using the name of the database underscored with the database name
    - using "(ADDRESS=(PROTOCOL=TCP)(HOST = host)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=database)))"
    I have tried everything I can find from:
    the Oracle installation page: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
    the Oracle troubleshooting page: http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#connect
    and these forumswith no results, just the same error.
    I have also spent about 16 hours Googling for help, and nothing.
    Can someone please tell me, what exactly does a user using:
    Windows XP
    Apache 2
    PHP
    intantclient10
    Oracle 8i (on a remote server)
    need to do to connect to Oracle before jumping off a bridge?

    Turns out Oracle was previously installed on this company laptop :(
    I deleted any 'Oracle' mention in the registry with 'regedit' (from the command line) using the Find option. Not sure if it's always a good idea to do that, but I backed up the important stuff first anyway.
    I uninstalled and reinstalled everything using the same guide mentioned above, and then it worked.
    Now I can be friends with Oracle again.
    Would be nice if the "Deinstall" removed the registry entries that caused this issue...

  • An error occured while retrieving policy for this computer 0x80092004

    Good morning!
    I have recently been having some issues getting my OSD working correctly.
    It all started after the server which houses DPM and SCCM was refusing to start the SQL service because of an invalid certificate that was missing the private key. After I finally removed the key and all the registry value for it in SQL server, I could finally
    fire up SQL server again.
    However, since then, I am unable to perform an OSD and I have been troubleshooting this issue for many weeks now.
    I have low level knowledge of SCCM 2012 R2, but I did set this box up myself and had all aspects (OSD, Software deployment, driver deployment etc) working perfectly fine in native mode and was just about ready to start deploying images out when SQL
    died.
    I am still able to push out the client in native mode perfectly fine, I just can't deploy an OS task sequence.
    When I pxe boot the client, it boots fine and then prompts for the admin password, as soon as I enter the admin password, it fails with "An error occured while retrieving policy for this computer 0x80092004".
    This is the SMSTS.log associated with this machine:
    <![LOG[LOGGING: Finalize process ID set to 748]LOG]!><time="09:29:58.510+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="752" file="tslogging.cpp:1495">
    <![LOG[==============================[ TSBootShell.exe ]==============================]LOG]!><time="09:29:58.510+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="752"
    file="bootshell.cpp:1055">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL']LOG]!><time="09:29:58.510+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="752" file="util.cpp:964">
    <![LOG[Debug shell is enabled]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="752" file="bootshell.cpp:1066">
    <![LOG[Waiting for PNP initialization...]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:60">
    <![LOG[RAM Disk Boot Path: NET(0)\SMSIMAGES\SJS00004\BOOT.SJS00004.WIM]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="configpath.cpp:302">
    <![LOG[Booted from network (PXE)]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="configpath.cpp:317">
    <![LOG[Network(PXE) path: X:\sms\data\]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="configpath.cpp:319">
    <![LOG[Found config path X:\sms\data\]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:548">
    <![LOG[Booting from removable media, not restoring bootloaders on hard drive]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:582">
    <![LOG[X:\sms\data\WinPE does not exist.]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:599">
    <![LOG[X:\_SmsTsWinPE\WinPE does not exist.]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:613">
    <![LOG[Executing command line: wpeinit.exe -winpe]LOG]!><time="09:29:58.525+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:860">
    <![LOG[The command completed successfully.]LOG]!><time="09:30:09.615+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:942">
    <![LOG[Starting DNS client service.]LOG]!><time="09:30:09.615+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:666">
    <![LOG[Executing command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\]LOG]!><time="09:30:10.139+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756"
    file="bootshell.cpp:860">
    <![LOG[The command completed successfully.]LOG]!><time="09:30:10.139+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:942">
    <![LOG[==============================[ TSMBootStrap.exe ]==============================]LOG]!><time="09:30:10.249+480" date="02-11-2014" component="TSMBootstrap" context="" type="1" thread="1164"
    file="tsmbootstrap.cpp:1165">
    <![LOG[Command line: X:\sms\bin\i386\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\]LOG]!><time="09:30:10.249+480" date="02-11-2014" component="TSMBootstrap" context="" type="0" thread="1164"
    file="tsmbootstrap.cpp:1166">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL']LOG]!><time="09:30:10.249+480" date="02-11-2014" component="TSMBootstrap" context="" type="1" thread="1164" file="util.cpp:964">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\i386\TSRESNLC.DLL']LOG]!><time="09:30:10.249+480" date="02-11-2014" component="TSMBootstrap" context="" type="1" thread="1164" file="resourceutils.cpp:169">
    <![LOG[Current OS version is 6.2.9200.0]LOG]!><time="09:30:10.265+480" date="02-11-2014" component="TSMBootstrap" context="" type="1" thread="1164" file="util.cpp:3094">
    <![LOG[Adding SMS bin folder "X:\sms\bin\i386" to the system environment PATH]LOG]!><time="09:30:10.269+480" date="02-11-2014" component="TSMBootstrap" context="" type="0" thread="1164"
    file="tsmbootstrap.cpp:963">
    <![LOG[PXE Boot with Root = X:\]LOG]!><time="09:30:10.269+480" date="02-11-2014" component="TSMBootstrap" context="" type="1" thread="1164" file="tsmbootstrap.cpp:1062">
    <![LOG[Executing from PXE in WinPE]LOG]!><time="09:30:10.269+480" date="02-11-2014" component="TSMBootstrap" context="" type="1" thread="1164" file="tsmbootstrap.cpp:1077">
    <![LOG[Loading TsPxe.dll from X:\sms\bin\i386\TsPxe.dll]LOG]!><time="09:30:10.269+480" date="02-11-2014" component="TSMBootstrap" context="" type="0" thread="1164" file="tsmbootstraputil.cpp:1363">
    <![LOG[TsPxe.dll loaded]LOG]!><time="09:30:10.269+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmbootstraputil.cpp:1373">
    <![LOG[Device has PXE booted]LOG]!><time="09:30:10.269+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tspxe.cpp:122">
    <![LOG[Variable Path: \SMSTemp\2014.02.10.15.30.26.0003.{5B220EC9-4C51-4520-BDE7-778CB44701B0}.boot.var]LOG]!><time="09:30:10.269+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164"
    file="tspxe.cpp:134">
    <![LOG[Succesfully added firewall rule for Tftp]LOG]!><time="09:30:10.285+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="fwopen.cpp:123">
    <![LOG[Executing: X:\sms\bin\i386\smstftp.exe -i 10.105.88.35 get \SMSTemp\2014.02.10.15.30.26.0003.{5B220EC9-4C51-4520-BDE7-778CB44701B0}.boot.var X:\sms\data\variables.dat]LOG]!><time="09:30:10.285+480" date="02-11-2014" component="TSPxe"
    context="" type="0" thread="1164" file="tspxe.cpp:177">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="09:30:10.363+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="commandline.cpp:228">
    <![LOG[Set command line: "X:\sms\bin\i386\smstftp.exe" -i 10.105.88.35 get \SMSTemp\2014.02.10.15.30.26.0003.{5B220EC9-4C51-4520-BDE7-778CB44701B0}.boot.var X:\sms\data\variables.dat]LOG]!><time="09:30:10.363+480" date="02-11-2014"
    component="TSPxe" context="" type="0" thread="1164" file="commandline.cpp:731">
    <![LOG[Executing command line: "X:\sms\bin\i386\smstftp.exe" -i 10.105.88.35 get \SMSTemp\2014.02.10.15.30.26.0003.{5B220EC9-4C51-4520-BDE7-778CB44701B0}.boot.var X:\sms\data\variables.dat]LOG]!><time="09:30:10.363+480" date="02-11-2014"
    component="TSPxe" context="" type="1" thread="1164" file="commandline.cpp:827">
    <![LOG[Process completed with exit code 0]LOG]!><time="09:30:10.461+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="commandline.cpp:1123">
    <![LOG[Succesfully removed firewall rule for Tftp]LOG]!><time="09:30:10.461+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="fwopen.cpp:146">
    <![LOG[Successfully downloaded pxe variable file.]LOG]!><time="09:30:10.461+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tspxe.cpp:187">
    <![LOG[we are booted using PXE]LOG]!><time="09:30:10.461+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsmediawizardcontrol.cpp:2673">
    <![LOG[we are booted using PXE and we don't use a password or the password is provided by the user]LOG]!><time="09:30:10.461+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164"
    file="tsmediawizardcontrol.cpp:2689">
    <![LOG[Found network adapter "Realtek PCIe GBE Family Controller" with IP Address 10.35.116.176.]LOG]!><time="09:30:10.461+480" date="02-11-2014" component="TSPxe" context="" type="0"
    thread="1164" file="tsmbootstraputil.cpp:517">
    <![LOG[Run PXE Interactive]LOG]!><time="09:30:10.461+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediawizardcontrol.cpp:2824">
    <![LOG[Running Wizard in Interactive mode]LOG]!><time="09:30:10.461+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsmediawizardcontrol.cpp:2826">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="09:30:10.476+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsremovablemedia.cpp:322">
    <![LOG[CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,165)]LOG]!><time="09:30:10.476+480" date="02-11-2014" component="TSPxe" context=""
    type="0" thread="1164" file="windes.cpp:165">
    <![LOG[SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\tscore\tsremovablemedia.cpp,387)]LOG]!><time="09:30:10.476+480"
    date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsremovablemedia.cpp:387">
    <![LOG[Activating Welcome Page.]LOG]!><time="09:30:10.476+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediawelcomepage.cpp:131">
    <![LOG[Loading bitmap]LOG]!><time="09:30:10.488+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsmbootstrap.cpp:1271">
    <![LOG[WelcomePage::OnWizardNext()]LOG]!><time="09:30:12.625+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediawelcomepage.cpp:340">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="09:30:12.625+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsremovablemedia.cpp:322">
    <![LOG[CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,165)]LOG]!><time="09:30:12.625+480" date="02-11-2014" component="TSPxe" context=""
    type="0" thread="1164" file="windes.cpp:165">
    <![LOG[SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\tscore\tsremovablemedia.cpp,387)]LOG]!><time="09:30:12.625+480"
    date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsremovablemedia.cpp:387">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="09:30:12.625+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsremovablemedia.cpp:322">
    <![LOG[CryptDecrypt (hKey, 0, 1, 0, pData, &dwDecryptedLen), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,165)]LOG]!><time="09:30:12.625+480" date="02-11-2014" component="TSPxe" context=""
    type="0" thread="1164" file="windes.cpp:165">
    <![LOG[SMS::Crypto::DES::DecryptBuffer( (BYTE*)pszPassword, (DWORD)(wcslen(pszPassword)*sizeof(WCHAR)), encryptedBuffer.getBuffer(), (DWORD)encryptedBuffer.size(), pbDecryptedBuffer, dwDecryptedBufferSize ), HRESULT=80090005 (e:\nts_sccm_release\sms\framework\tscore\tsremovablemedia.cpp,387)]LOG]!><time="09:30:12.625+480"
    date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsremovablemedia.cpp:387">
    <![LOG[Verifying media password.]LOG]!><time="09:30:12.625+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsmediawizardcontrol.cpp:271">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="09:30:12.625+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsremovablemedia.cpp:322">
    <![LOG[Spawned thread 1200 to download policy.]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsmediawelcomepage.cpp:405">
    <![LOG[Entering TSMediaWizardControl::GetPolicy.]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1200" file="tsmediawizardcontrol.cpp:527">
    <![LOG[Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00350031004100300031003600420036002D0046003000440045002D0034003700350032002D0042003900370043002D003500340045003600460033003800360041003900310032007D00']LOG]!><time="09:30:12.649+480"
    date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="environmentscope.cpp:263">
    <![LOG[Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200"
    file="environmentscope.cpp:623">
    <![LOG[Creating key 'Software\Microsoft\SMS\47006C006F00620061006C005C007B00420041003300410033003900300030002D0043004100360044002D0034006100630031002D0038004300320038002D003500300037003300410046004300320032004200300033007D00']LOG]!><time="09:30:12.649+480"
    date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="environmentscope.cpp:263">
    <![LOG[Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200"
    file="environmentscope.cpp:623">
    <![LOG[Setting LogMaxSize to 1000000]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:555">
    <![LOG[Setting LogMaxHistory to 1]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:556">
    <![LOG[Setting LogLevel to 0]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:557">
    <![LOG[Setting LogEnabled to 1]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:558">
    <![LOG[Setting LogDebug to 1]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:559">
    <![LOG[UEFI: false]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:569">
    <![LOG[Loading variables from the Task Sequencing Removable Media.]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:584">
    <![LOG[Loading Media Variables from "X:\sms\data\variables.dat"]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsremovablemedia.cpp:322">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL']LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="util.cpp:964">
    <![LOG[Setting SMSTSMP TS environment variable]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSMediaGuid TS environment variable]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSBootMediaPackageID TS environment variable]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSHTTPPort TS environment variable]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSHTTPSPort TS environment variable]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSIISSSLState TS environment variable]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSLaunchMode TS environment variable]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSMediaPFX TS environment variable]LOG]!><time="09:30:12.649+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSPublicRootKey TS environment variable]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSRootCACerts TS environment variable]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSSiteCode TS environment variable]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSSiteSigningCertificate TS environment variable]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSUseFirstCert TS environment variable]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSx64UnknownMachineGUID TS environment variable]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Setting _SMSTSx86UnknownMachineGUID TS environment variable]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:604">
    <![LOG[Root CA Public Certs=3082037C30820264A00302010202103AB236E7EC0B619F4375F21CB1D3737C300D06092A864886F70D0101050500304631153013060A0992268993F22C64011916056C6F63616C31193017060A0992268993F22C640119160953744A6F7365706873311230100603550403130953544A4F50544C4931301E170D3131303130333232313132395A170D3136303130333232323132375A304631153013060A0992268993F22C64011916056C6F63616C31193017060A0992268993F22C640119160953744A6F7365706873311230100603550403130953544A4F50544C493130820122300D06092A864886F70D01010105000382010F003082010A0282010100C494DD769F2EFD6326DAEEE78D984484230C866E96493B54AC80322D78739C175153F050CC7A044855266075996618FC3EB04E7E472A8E1E9AF5BD8EB2736CF04B7EED975CBDF74656896E387DF32F445DA4B67EE1EB7D4A20FCD7C90257DF8BC0050D7704D53E1F269BE63828BE53897351C5120B84D6BD20F7AE695A80EE0DA4A64A7BAD696106C03E345DBF38CBEBE071D742859B25F41A8A87A4932C9254BB2EE372D71821A2965AAA5DB825DAC2CAF46CF989658C28ADD1E1A499225E2320095B91D9D38C4406E9AF6A8B6206902088D7C4ACA2EC6B62DF6FD04546E166449269BF6B0CA6984E09A2EDDDE4B8A841A2FC47B38D264DB6C42F0798E4CC090203010001A3663064301306092B060104018237140204061E0400430041300B0603551D0F040403020186300F0603551D130101FF040530030101FF301D0603551D0E04160414DF37636BE793EA17208BD2D266A2E2147072235C301006092B06010401823715010403020100300D06092A864886F70D01010505000382010100A13033E2B66CF2F5F291BDECE3AAF5517A3EC33F426BC1825F0398AFFA1FB3DB653591573866EE3D604DB816EA4D9205F4CD923150B26AED0FF73EFD639A3EB20DE46DE3905D448CB5465E2FCB52F212F68A3D2CFBB52FAB6A8CA76CE202A8588745BC60A652C4361E54D5B6F08066915FE7193F8E8505AED5BC39D60F0E6B2D583EF167798A9F76CB14C36012A2D3AD9D652C8A1B3FA52BBC6FA0CEA422006AF7EDA855A879276DC6D2A6326045DB0398A38A73CA5AB7BDF338E39989A164252D03664F03A24D9EB5494B5B6E24B901CC61D85824B94A8D2F640F06213612DEBBFC2B7C70801A637CEBE3B3A2A1F829F9EDB70D3504A578DFBECB978CA0A366]LOG]!><time="09:30:12.665+480"
    date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:615">
    <![LOG[Importing certificates to root store]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="utils.cpp:5349">
    <![LOG[Added certificate to store or replaced matching certificate in store.]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="utils.cpp:5405">
    <![LOG[Support Unknown Machines: 0]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:632">
    <![LOG[Custom hook from X:\\TSConfig.INI is ]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:675">
    <![LOG[No hook is found to be executed before downloading policy]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:699">
    <![LOG[Authenticator from the environment is empty.]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:838">
    <![LOG[Need to create Authenticator Info using PFX]LOG]!><time="09:30:12.665+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1200" file="tsmediawizardcontrol.cpp:850">
    <![LOG[*ppCertContext, HRESULT=80092004 (e:\nts_sccm_release\sms\framework\osdmessaging\libcrypt.cpp,1518)]LOG]!><time="09:30:12.812+480" date="02-11-2014" component="TSPxe" context="" type="0"
    thread="1200" file="libcrypt.cpp:1518">
    <![LOG[Out of 2 certs, there is none that has valid keys.]LOG]!><time="09:30:12.812+480" date="02-11-2014" component="TSPxe" context="" type="3" thread="1200" file="libcrypt.cpp:1518">
    <![LOG[CreateCertificateContextFromPfx (pbEncodedCert, dwEncodedCertSize, psPfxPassword, pCertStore, ppCertContext, szOID), HRESULT=80092004 (e:\nts_sccm_release\sms\framework\osdmessaging\libcrypt.cpp,1623)]LOG]!><time="09:30:12.812+480"
    date="02-11-2014" component="TSPxe" context="" type="0" thread="1200" file="libcrypt.cpp:1623">
    <![LOG[CCM::SMSMessaging::CreateCertificateContextFromPfx(sMediaPfx, sMediaGuid, &hCertStore, &pClientCertContext), HRESULT=80092004 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,852)]LOG]!><time="09:30:12.812+480"
    date="02-11-2014" component="TSPxe" context="" type="0" thread="1200" file="tsmediawizardcontrol.cpp:852">
    <![LOG[Exiting TSMediaWizardControl::GetPolicy.]LOG]!><time="09:30:12.812+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1200" file="tsmediawizardcontrol.cpp:1419">
    <![LOG[pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=80092004 (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,303)]LOG]!><time="09:30:12.812+480" date="02-11-2014" component="TSPxe"
    context="" type="0" thread="1200" file="tsmediawelcomepage.cpp:303">
    <![LOG[Setting wizard error: An error occurred while retrieving policy for this computer  (0x80092004). For more information, contact your system administrator or helpdesk operator.]LOG]!><time="09:30:12.812+480" date="02-11-2014"
    component="TSPxe" context="" type="0" thread="1164" file="tsmediawizardcontrol.cpp:1588">
    <![LOG[WelcomePage::OnWizardNext()]LOG]!><time="09:30:12.812+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediawelcomepage.cpp:340">
    <![LOG[Skipping Confirmation Page.]LOG]!><time="09:30:12.812+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediaconfirmationpage.cpp:170">
    <![LOG[Skipping Task Sequence Selection Page.]LOG]!><time="09:30:12.828+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediataskselectionpage.cpp:118">
    <![LOG[Skipping Variables Selection Page.]LOG]!><time="09:30:12.828+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediavariablesselectionpage.cpp:155">
    <![LOG[Skipping Resolve Progress Page.]LOG]!><time="09:30:12.828+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediaresolveprogresspage.cpp:96">
    <![LOG[Activating Finish Page.]LOG]!><time="09:30:12.828+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediafinishpage.cpp:107">
    <![LOG[Initializing the countdown timer.]LOG]!><time="09:30:12.828+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediafinishpage.cpp:197">
    <![LOG[Loading bitmap]LOG]!><time="09:30:12.828+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsmbootstrap.cpp:1271">
    <![LOG[Executing command line: X:\WINDOWS\system32\cmd.exe /k]LOG]!><time="09:30:13.973+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="752" file="bootshell.cpp:860">
    <![LOG[The command completed successfully.]LOG]!><time="09:30:13.973+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="752" file="bootshell.cpp:942">
    <![LOG[Successfully launched command shell.]LOG]!><time="09:30:13.973+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="752" file="bootshell.cpp:432">
    <![LOG[Suspending the countdown timer.]LOG]!><time="09:30:15.829+480" date="02-11-2014" component="TSPxe" context="" type="0" thread="1164" file="tsmediafinishpage.cpp:384">
    <![LOG[Exiting task sequence wizard.]LOG]!><time="09:30:17.065+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsmediawizardcontrol.cpp:2388">
    <![LOG[Exiting with return code 0x00000000]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSPxe" context="" type="1" thread="1164" file="tsmbootstrap.cpp:1238">
    <![LOG[Execution complete.]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:693">
    <![LOG[hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493)]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="0"
    thread="756" file="environmentscope.cpp:493">
    <![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335)]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="0"
    thread="756" file="environmentlib.cpp:335">
    <![LOG[this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,553)]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="0"
    thread="756" file="environmentlib.cpp:553">
    <![LOG[::RegOpenKeyExW (HKEY_LOCAL_MACHINE, sKey.c_str(), 0, KEY_READ, &hSubKey), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,809)]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell"
    context="" type="0" thread="756" file="utils.cpp:809">
    <![LOG[RegOpenKeyExW is unsuccessful for Software\Microsoft\SMS\Task Sequence]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="2" thread="756"
    file="utils.cpp:809">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="2" thread="756" file="utils.cpp:842">
    <![LOG[End program: ]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="bootshell.cpp:725">
    <![LOG[Finalizing logging from process 748]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="tslogging.cpp:1741">
    <![LOG[Finalizing logs to root of first available drive]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="tslogging.cpp:1583">
    <![LOG[LOGGING: Setting log directory to "D:\SMSTSLog".]LOG]!><time="09:30:17.081+480" date="02-11-2014" component="TSBootShell" context="" type="1" thread="756" file="tslogging.cpp:1808">
    I am stumped with this issue. As I said, this is new to me, but I have so far been able to set it all up to a working state, up until this SQL issue occurred.
    I look forward to your responses.
    Cheers,
    Kyle.

    Untick the "Use PKI Client Certificate when available" in the Site Properties. I would create a self-signed certificate for the DP. Don't forget to Update DP for all your boot images when you are finished.
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Failed to Run Task Sequence (error ocurred while retrieving policy for the computer)

    Hi, all of sudden we're getting an issue with SCCM when attempting to deploy an image we get a Failed to Run Task Sequence. Used to work previously, now suddenly it isn't working for any.
    Full error:
    Failed to Run Task Sequence
    An Error occurred while retrieving policy for this computer (0x8009310B). For more information....
    Log:
    Reading Policy Body. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Parsing Policy Body. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Downloading policy body EAB200A4-EAB00066-6F6BCC28. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Preparing Policy Body Request. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
        Setting transport. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
        Setting policy location = ttp://<mp>/SMS_MP/.sms_pol?EAB200A4-EAB00066-6F6BCC28.11_00. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Executing Policy Body Request. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    CLibSMSMessageWinHttpTransport::Send: URL: servername.bla.com.au:80  GET /SMS_MP/.sms_pol?EAB200A4-EAB00066-6F6BCC28.11_00 TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Error. Status code 404 returned TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Found a secure policy. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Trying to decode policy. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    CryptDecryptMessage ( &DecryptParams, pbEncrypted, nEncryptedSize, 0, &nPlainSize, 0 ), HRESULT=8009310b (e:\nts_sccm_release\sms\framework\smscrypt\windes.cpp,339) TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Decoding in non ssl mode failed. Checking if decoding was really needed. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Failed to verify a properly formed XML. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    oPolicy.RequestPolicy((GetPolicyFlags() & POLICY_SECURE) != 0, (GetPolicyFlags() & POLICY_COMPRESS) != 0), HRESULT=8009310b (e:\nts_sccm_release\sms\framework\tscore\tspolicy.cpp,2067) TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Failed to download policy EAB200A4-EAB00066-6F6BCC28 (Code 0x8009310b). TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    (*iTSPolicyAssignment)->GetObjects(pszClassName, aTSPolicyObjectArray ), HRESULT=8009310b (e:\nts_sccm_release\sms\framework\tscore\tspolicy.cpp,1224) TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    m_pPolicyManager->GetObjects( TS::Policy::TaskSequence::GetClassNameW(), TS::Policy::TaskSequence::GetPolicyCategory(), TS::Policy::TSPolicyAssignment::POLICY_TS_FOR_CD_AND_PXE, aTSPolicyObjectArray ), HRESULT=8009310b (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1205) TSPxe 16/01/2015
    2:54:40 PM 1176 (0x0498)
    Exiting TSMediaWizardControl::GetPolicy. TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=8009310b (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,303) TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Setting wizard error: An error occurred while retrieving policy for this computer  (0x8009310B). For more information, contact your system administrator or helpdesk operator. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    WelcomePage::OnWizardNext() TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Skipping Confirmation Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Skipping Task Sequence Selection Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Skipping Variables Selection Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Skipping Resolve Progress Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Activating Finish Page. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Initializing the countdown timer. TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Loading bitmap TSPxe 16/01/2015 2:54:40 PM 1124 (0x0464)
    Suspending the countdown timer. TSPxe 16/01/2015 2:54:49 PM 1124 (0x0464)
    Exiting task sequence wizard. TSPxe 16/01/2015 2:54:51 PM 1124 (0x0464)
    Exiting with return code 0x00000000 TSPxe 16/01/2015 2:54:51 PM 1124 (0x0464)
    Execution complete. TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515) TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337) TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,549) TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    ::RegOpenKeyExW (HKEY_LOCAL_MACHINE, c_szSMSTSKey, 0, KEY_READ, &hSubKey), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,258) TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    RegOpenKeyExW failed for Software\Microsoft\SMS\Task Sequence TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    GetTsRegValue() failed. 0x80070002. TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    End program:  TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    Finalizing logging from process 840 TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    Finalizing logs to root of first available drive TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    Successfully finalized logs to C:\SMSTSLog TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)
    Cleaning up task sequencing logging configuration. TSBootShell 16/01/2015 2:54:51 PM 856 (0x0358)

    CLibSMSMessageWinHttpTransport::Send: URL: servername.bla.com.au:80  GET /SMS_MP/.sms_pol?EAB200A4-EAB00066-6F6BCC28.11_00 TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    Error. Status code 404 returned TSPxe 16/01/2015 2:54:40 PM 1176 (0x0498)
    6 (0x0358)
    Is the management point still working? Examine mpcontrol.log. Do mplist and mpcert work?
    Torsten Meringer | http://www.mssccmfaq.de

  • Error occurred while retrieving policy for this computer (0x8009310b)

    Hey I was wondering if someone could help me out. I applied the CU3 to SCCM SP1 CU2 and since then I'm having issues with OSD I keep getting the error..
    Error occurred while retrieving policy for this computer (0x8009310b)
    here is the log files..
    Retrieving Policy Assignments: TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {4bf8faa2-5d00-4a90-b9e5-383b0871efb0}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {cc26aff9-ab59-4984-a3ac-f008380f048f}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {f08e9723-d51a-416d-82ff-d2f1d6fcfc58}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {50feec00-f6cf-4805-97ab-5a228fdd873a}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {0acbe4de-ab99-472b-8d7a-de75bc10e6d1}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {2ccc1bec-7f9c-48bd-b94f-262ffa9711af}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {8ffdf237-4b86-41e7-ad68-a80ca1ddbe99}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {69456004-d3af-4f66-b425-8bb09d98a6a1}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {2fd8694e-bec7-41a6-ab25-fb8f0a275489}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {f032b175-e84a-4a4b-b2e5-3e804b66a528}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {e37f6b90-a1ff-4ce1-849d-936c8be4fc2b}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {c54e27c2-233b-454d-a277-8514b5e0ae8d}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {926ae109-a321-4826-90a9-577f565225a3}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {a9516dcf-f248-46af-b051-0367a0134e65}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {509b6c13-4fd3-443e-98c7-4703a9fb338c}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {050b9a4e-0776-439d-8d7c-e54cca9091f3}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {5b8d7b35-86f7-42b6-945f-faa62701421c}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {1fd389bc-2825-4e6a-a8fe-c3e50150818b}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {76aa3bc7-1c40-4415-b533-8b20c914afe0}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {a5eaed00-afb8-48ab-b030-e7809f0dd432}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {10054616-84aa-4f21-8b74-f6ae6142b794}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {a16430b4-b87c-4450-862d-3ee632df4db9}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {211060af-cae0-41a2-847c-ce08245d5900}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {ba947774-81a4-4ebf-a86d-1f05a7c5bc9a}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {2ad8b520-3701-4a07-ba92-09c25c9ee970}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {8ff1fc52-f1aa-44de-ab31-7fc3f7ed7266}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {279361f7-9750-473a-9ca9-f82b5b19f047}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {a64b913a-2318-4f57-b223-6af3b82bac3a}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {6a762475-f76c-4b91-bb00-3550fec86c4c}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {09c0bb21-01c0-41eb-a39e-5d8274ed2b99}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {730b6fe3-103a-4f65-866a-36eab232610e}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {d500add8-54c9-4c9f-a08f-9a84715d5ea8}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {cd900a7b-8469-4b35-93ba-d0d15c37b689}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment B0120000-B0100004-3B5BFFE2. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment SRC10000. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {947a63da-65e5-41bc-8a3c-1ee201618fbd}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment {SMS000US}. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment B0120059-B01000AD-6F6BCC28. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment DEP-B0120059-B0100003-6F6BCC28. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment DEP-B0120059-B0100005-6F6BCC28. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Processing Policy Assignment DEP-B0120059-B0100022-6F6BCC28. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Successfully read 41 policy assignments. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Downloading policy body B0120059-B01000AD-6F6BCC28. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Preparing Policy Body Request. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Setting transport. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Setting policy location = http://<mp>/SMS_MP/.sms_pol?B0120059-B01000AD-6F6BCC28.1_00. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Executing Policy Body Request. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    CLibSMSMessageWinHttpTransport::Send: URL: MZINFCCMPRD01.brownell.local:80 GET /SMS_MP/.sms_pol?B0120059-B01000AD-6F6BCC28.1_00 TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Error. Status code 404 returned TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Found a secure policy. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Trying to decode policy. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    CryptDecryptMessage ( &DecryptParams, pbEncrypted, nEncryptedSize, 0, &nPlainSize, 0 ), HRESULT=8009310b (e:\qfe\nts\sms\framework\smscrypt\windes.cpp,339) TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Decoding in non ssl mode failed. Checking if decoding was really needed. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Failed to verify a properly formed XML. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    oPolicy.RequestPolicy((GetPolicyFlags() & POLICY_SECURE) != 0, (GetPolicyFlags() & POLICY_COMPRESS) != 0), HRESULT=8009310b (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,2067) TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Failed to download policy B0120059-B01000AD-6F6BCC28 (Code 0x8009310b). TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    (*iTSPolicyAssignment)->GetObjects(pszClassName, aTSPolicyObjectArray ), HRESULT=8009310b (e:\qfe\nts\sms\framework\tscore\tspolicy.cpp,1224) TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    m_pPolicyManager->GetObjects( TS::Policy::TaskSequence::GetClassNameW(), TS::Policy::TaskSequence::GetPolicyCategory(), TS::Policy::TSPolicyAssignment::POLICY_TS_FOR_CD_AND_PXE, aTSPolicyObjectArray ), HRESULT=8009310b (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,1205) TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Exiting TSMediaWizardControl::GetPolicy. TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=8009310b (e:\nts_sccm_release\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,303) TSPxe 2/18/2014 1:48:19 PM 836 (0x0344)
    Setting wizard error: An error occurred while retrieving policy for this computer (0x8009310B). For more information, contact your system administrator or helpdesk operator. TSPxe 2/18/2014 1:48:19 PM 728 (0x02D8)
    WelcomePage::OnWizardNext() TSPxe 2/18/2014 1:48:19 PM 728 (0x02D8)
    Skipping Confirmation Page. TSPxe 2/18/2014 1:48:19 PM 728 (0x02D8)
    Skipping Task Sequence Selection Page. TSPxe 2/18/2014 1:48:19 PM 728 (0x02D8)
    Skipping Variables Selection Page. TSPxe 2/18/2014 1:48:19 PM 728 (0x02D8)
    Skipping Resolve Progress Page. TSPxe 2/18/2014 1:48:19 PM 728 (0x02D8)
    Activating Finish Page. TSPxe 2/18/2014 1:48:19 PM 728 (0x02D8)
    Initializing the countdown timer. TSPxe 2/18/2014 1:48:19 PM 728 (0x02D8)
    Loading bitmap TSPxe 2/18/2014 1:48:19 PM 728 (0x02D8)
    Executing command line: X:\WINDOWS\system32\cmd.exe /k TSBootShell 2/18/2014 1:48:23 PM 780 (0x030C)
    The command completed successfully. TSBootShell 2/18/2014 1:48:23 PM 780 (0x030C)
    Successfully launched command shell. TSBootShell 2/18/2014 1:48:23 PM 780 (0x030C)
    What I've done for troubleshooting tips so far.
    Deleted the Machines I'm trying to image
    Re-created all the Task sequences
    Disabled PXE, rebooted the machine and after 45minutes enabled PXE again.
    I've checked the certificates its all unblocked.
    is there anything?

    Hopefully this other thread helps you:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/631086ac-3b59-4437-a6af-0f1a834edcc2/problems-with-pxe-booted-pe-environment?forum=configmgrosd
    The marked answer in this thread is saying check the certificates? Would this be under Administration ->Security-> Certificates? I haven't tried re-installing the MP yet I'll give it a shot

Maybe you are looking for