Not able to download a big xml file through Http

Hi
I am trying to download a large file around 8 MB, but I am  not able to download this file through Http or WebClient. can anyone please let me know how can I download the large file in Windows Phone 8 through Http or WebClient.
When I trying to download the file then System got hang for some time and after that connection break type of popup shown the  nothing happened.
sandeep chauhan

Hi Sandeep,
I used
this code snippet to download
the sample file (9.9M) in windows phone 8, it seems work fine. Since you’ve not posted anything about your code, I suggest you test the above code to see if the problem is caused by your code snippet.
Windows phone silverlight 8.1 provides an effective way to download large file.
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.networking.backgroundtransfer.backgrounddownloader.aspx. Please consider if you can upgrade to silverlight 8.1
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey.

Similar Messages

  • SQL*Loader problem - not efficient, parsing error for big xml files

    Hi Experts,
    First of all, I would like to store xml files in object relation way. Therefore I created a schema and a table for it (see above).
    I wants to propagate it (by using generated xml files), hence I created a control file for sql loader (see above).
    I have two problems for it.
    1, It takes a lot of time. It means I can upload a ~80MB file in 2 hours and a half.
    2, At bigger files, I got the following error messages (OCI-31011: XML parsing failed OCI-19202: Error occurred in XML processing LPX-00243: element attribute value must be enclosed in quotes). It is quite interesting because my xml file is generated and I could generated and uploaded the first and second half of the file.
    Can you help me to solve these problems?
    Thanks,
    Adam
    Control file
    UNRECOVERABLE
    LOAD DATA
    CHARACTERSET UTF8
    INFILE *
    APPEND
    INTO TABLE coll_xml_objrel
    XMLTYPE(xml)
    FIELDS
    ident constant 2
    ,file_name filler char(100)
    ,xml LOBFILE (file_name) TERMINATED BY EOF
    BEGINDATA
    generated1000x10000.xml
    Sql Loader command
    sqlldr.exe username/password@//localhost:1521/SID control='loader.ctl' log='loadr.log' direct=true
    Schema
    <?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://www.something.com/shema/simple_searches" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.something.com/shema/simple_searches">
        <element name="searches" type="tns:searches_type"></element>
        <element name="search" type="tns:search_type"></element>
        <element name="results" type="tns:results_type"></element>
        <element name="result" type="tns:result_type"></element>
        <complexType name="searches_type">
            <sequence>
                <element ref="tns:search" maxOccurs="unbounded"></element>
            </sequence>
        </complexType>
        <complexType name="search_type">
            <sequence>
                <element ref="tns:results"></element>
            </sequence>
            <attribute ref="tns:id" use="required"></attribute>
            <attribute ref="tns:type" use="required"></attribute>
        </complexType>
        <complexType name="results_type">
            <sequence maxOccurs="unbounded">
                <element ref="tns:result"></element>
            </sequence>
        </complexType>
        <complexType name="result_type">
            <attribute ref="tns:id" use="required"></attribute>
        </complexType>
        <simpleType name="type_type">
            <restriction base="string">
                <enumeration value="value1"></enumeration>
                <enumeration value="value2"></enumeration>
            </restriction>
        </simpleType>
        <attribute name="type" type="tns:type_type"></attribute>
        <attribute name="id" type="string"></attribute>
    </schema>
    Create table
    create table coll_xml_objrel
    ident Number(20) primary key,
    xml xmltype)
    Xmltype column xml
    store as object relational
    xmlschema "http://www.something.com/schema/simple_searches.xsd"
    Element "searches";

    Hi Odie_63,
    Thanks for your answer.
    I will post this question in the XML DB forum too (edit: I realized that you have done it. Thanks for it).
    1, Version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    2, see above
    3, I have registered my schema with using dbms_xmlschema.registerSchema function.
    Cheers,
    Adam
    XML generator:
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import javax.xml.stream.XMLOutputFactory;
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamWriter;
    public class mainGenerator {
        public static void main(String[] args) throws FileNotFoundException, XMLStreamException {
            // TODO Auto-generated method stub
            final long numberOfSearches = 500;
            final long numberOfResults = 10000;
            XMLOutputFactory xof = XMLOutputFactory.newFactory();
            XMLStreamWriter writer = xof.createXMLStreamWriter(new FileOutputStream("C:\\Working\\generated500x10000.xml"));
            writer.writeStartDocument();
            writer.writeStartElement("tns","searches", "http://www.something.com/schema/simple_searches");
            writer.writeNamespace("tns", "http://www.something.com/schema/simple_searches");
            for (long i = 0; i < numberOfSearches; i++){
                Long help = new Long(i);
                writer.writeStartElement("tns","search", "http://www.something.com/schema/simple_searches);
                writer.writeAttribute("tns", "http://www.something.com/schema/simple_searches", "type", "value1");
                writer.writeAttribute("tns", "http://www.something.com/schema/simple_searches", "id", help.toString());
                writer.writeStartElement("tns","results", "http://www.something.com/schema/simple_searches");
                for (long j = 0; j < numberOfResults; j++){
                    writer.writeStartElement("tns","result", "http://www.something.com/schema/simple_searches");
                    Long helper = new Long(i*numberOfResults+j);
                    writer.writeAttribute("tns", "http://www.something.com/schema/simple_searches", "id", helper.toString());
                    writer.writeEndElement();
                writer.writeEndElement();
                writer.writeEndElement();
            writer.writeEndElement();
            writer.writeEndDocument();
            writer.close();
    registerSchema:
    begin
    dbms_xmlschema.registerSchema(
    'http://www.something.com/schema/simple_searches',
    '<?xml version="1.0" encoding="UTF-8"?>
    <schema targetNamespace="http://www.something.com/schema/simple_searches" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.something.com/schema/simple_searches">
        <element name="searches" type="tns:searches_type"></element>
        <element name="search" type="tns:search_type"></element>
        <element name="results" type="tns:results_type"></element>
        <element name="result" type="tns:result_type"></element>
        <complexType name="searches_type">
            <sequence>
                <element ref="tns:search" maxOccurs="unbounded"></element>
            </sequence>
        </complexType>
        <complexType name="search_type">
            <sequence>
                <element ref="tns:results"></element>
            </sequence>
            <attribute ref="tns:id" use="required"></attribute>
            <attribute ref="tns:type" use="required"></attribute>
        </complexType>
        <complexType name="results_type">
            <sequence maxOccurs="unbounded">
                <element ref="tns:result"></element>
            </sequence>
        </complexType>
        <complexType name="result_type">
            <attribute ref="tns:id" use="required"></attribute>
        </complexType>
        <simpleType name="type_type">
            <restriction base="string">
                <enumeration value="value1"></enumeration>
                <enumeration value="value2"></enumeration>
            </restriction>
        </simpleType>
        <attribute name="type" type="tns:type_type"></attribute>
        <attribute name="id" type="string"></attribute>
    </schema>',
    TRUE, TRUE, FALSE, FALSE);
    end

  • Firefox 5 is not able to download and open PDF files as Firefox 3.6 was able to. This looks like a bug to me. When will it be fixed?

    There are many web sites that I visit to download statements that are in PDF format. In Firefox 3.6, when I selected a statement to download, Firefox opened a new window that indicated that the PDF is being downloaded. When the download is complete Firefox either opens the document or the document is opened outside of Firefox by Adobe Reader. In both Firefox 4 and 5, the PDF file download never occurs. This functionality has always worked in Internet Explorer and Google Chrome. I currently use Adobe Reader X 10.1.0. I tried going back to Adobe Reader 9.4.5, but this did not make a difference. So I think the problem is in Firefox.

    it is not your ISP BT Retail that owns/repairs the lines it is openreach which although part of the BT Group has no more direct contact then any other ISP
    you can check your exchange here  http://usertools.plus.net/exchanges/mso.php
    http://usertools.plus.net/exchanges/?
    http://btbusiness.custhelp.com/app/service_status
    http://bt.custhelp.com/app/answers/detail/a_id/15036
    http://community.plus.net/exchange-information/
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Not able to download latest SQL developer

    Hi ,
    I am not able to download latest SQL
    THE URL IS
    http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-1.5.4.59.40.zip
    ERROR MESSAGE:
    Oops! This link appears broken.

    I almost tried 100 times
    Still I am facing the same issue
    Please let me if any magic spell makes it work

  • Not able to map contents of xml to output using file adapter

    Hi
    i m not able to map the output of file adapter to a variable when reading an xml. the data is coming in the file adapter output variable but it is not mapping to other variable in assign or transform activity.I m using jdeveloper 11.1.1.4.0.Can anbody help me plz.
    Regards
    Sourbh

    i am using file adapter as reference to synchronously read an xml file. i am able to see the flow trace in em console. the output variable of file adapter contains the data but when i m trying to assign the value to a variable i getting error. saying that some xpath is not returing any value.
    i tried with transform activity also but same case is there.

  • Microsoft Do you have any shame???? What for that SDM is when it is not able to download anything or Produce ISO files?????

    Microsoft Do you have any shame???? What for that SDM is when it is not able to download anything or Produce ISO files????? You have wasted a lot of our precious time . . . Can't you fix a single problem . . . I am downloading windows 8.1 using your SDM
    but it gives errors while downloading , and when download completes 100% , it s not able to unpack and produce an ISO file from it . . . 

    Please see this post:
    http://social.msdn.microsoft.com/Forums/en-US/27085f1c-daf4-4ee3-99eb-5f1ac715d959/dreamspark-students-using-the-sdm-please-read?forum=msdnfeedback
    Moving to off topic.
    Thanks,
    Mike
    MSDN and TechNet Subscriptions Support

  • HT204406 I am not able to download my files from iCloud to my iPad using iTunes Match, my internet connection is alive as I tested with Safari, I have enabled iTunes Match on and off to be usre is active..but still  cannot download....my music

    I am not able to download my files from iCloud to my iPad using iTunes Match, my internet connection is alive as I tested with Safari, I have enabled iTunes Match on and off to be usre is active..but still  cannot download....my music

    I have the same problem on my Windows 7 computer. In the right-click menu for a song one option is DELETE. However when I click that option the next window is to HIDE instead of DELETE. Apple, please help us with this.

  • PDF PROBLEMS!  Not able to download PDF files into Safari anymore?!?

    I was always able to download PDF files into Adobe Reader from the internet. I can't download them anymore...My MacBook keeps trying to load and reload the page, but never does it. I downloaded the most recent Adobe Reader 9, but this did not fix the problem. I can open PDF files I have saved, but can' t download them in Safari. Any ideas? Thanks-

    Hi Jes,
    I get an error message saying
    "The page cannot be found"
    infact when i hover the mouse over the link i am able to see the correct path and the correct correct values as follows
    schema.procedure?V=04&C=001
    but when i click on it, i get the error as above.
    i am not sure whether it is any permissions issue in linux. or is the procedure not getting executed properly at all.
    but iam able to read those pdfs and insert them into an oracle table.
    but just not able to download them back again.
    but exactly the same code and same tables etc work in windows.
    Thanks,
    Philip.

  • Not able to download  10.5 file corrupted ja.lprog - file is empty error code 2330. Not able to unistall itunes to reinstall-same info given. Not able to dowloag on another drive or under another user account.  same info given,  Using windows vista 32bit.

    Not able to download itunes 10.5..says file ja.lprog is corrupted (its empty) and error code 2330. Not able to download/install on another drive...even external drive-same reason given.  Not able to uninstall itunes to reinstall...same reason given.  Using windows vista 32 bit.  Please help.  Difficult to upgrade apps.

    Yeah...I think I found that one out the hard way already. I'll cross that bridge when I get to it. I want to get this issue fixed before I start thinking about the license issue.
    ciscoasa#
    ciscoasa#
    ciscoasa#
    ciscoasa# sh flash
    --#--  --length--  -----date/time------  path
    2403  0           Apr 30 2008 02:00:56  test
    2285  196         Apr 30 2008 01:28:20  upgrade_startup_errors_200804300128.log
    2283  0           Apr 30 2008 01:28:20  coredumpinfo
    2284  59          Apr 30 2008 01:28:20  coredumpinfo/coredump.cfg
    2280  0           Apr 30 2008 01:27:56  crypto_archive
    2267  0           Apr 30 2008 01:27:38  log
    0 bytes total (0 bytes free)
    ciscoasa#
    ciscoasa#
    ciscoasa#
    ciscoasa# sh disk0
    --#--  --length--  -----date/time------  path
    2403  0           Apr 30 2008 02:00:56  test
    2285  196         Apr 30 2008 01:28:20  upgrade_startup_errors_200804300128.log
    2283  0           Apr 30 2008 01:28:20  coredumpinfo
    2284  59          Apr 30 2008 01:28:20  coredumpinfo/coredump.cfg
    2280  0           Apr 30 2008 01:27:56  crypto_archive
    2267  0           Apr 30 2008 01:27:38  log
    0 bytes total (0 bytes free)
    ciscoasa#

  • I am not able to download the music files i purchased several days ago

    My account hacked. I know that because person changed the security question but not the password. I made a purchased recently. Purchased songs and there was a previous two book purchase from Apple Store. When i try to download them to my Mac, i am receiving this error message:" This computer is already associated with an Apple ID. You can download past purchases on this computer with just one Apple ID every 90 days. This computer can be used with a different Apple ID in 90 days. " I downloaded the music files on my windows and my mini ipod. Nowhere else.
    I have two more Apple ID i use to purchase products.
    Also is there a way to combine these two Apple IDs so all my purchases will be under one Apple ID.
    Thanks for any help

    Hi Suchvas,
    Thanks for visiting Apple Support Communities.
    If you are not able to download an iBooks update from the App Store, start with these troubleshooting steps:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Regards,
    Jeremy

  • I am not able to download mp4 files (video and audio) to iTunes since I updated to iTunes 11.  Thanks for your help.

    I am not able to download mp4 files (video and audio) to iTunes since I updated to iTunes 11.  Thanks for your help.

    Thank you for clarifying. Your question is in your browser, not in iTunes. Each download link is different, and it has nothing to do with the File menu. You can save media files by secondary-clicking on the link to the media file and selecting Save File to "[your downloads folder".

  • Not able to download stack using MOPZ (There is no OS/DB dependent file)

    Hi,
    I want to download ERP 6.0 EHP4 Stack 8. I am having solution manager 7 with EHP1, so once I select the Target enhancement package product version & Target enhancement package stack. I get option of selecting the Technical Usage, In that I select Central Application & HCM, but when I continue to next step 2.3 Select OS/DB-Dependent files, I get message "There is no OS/DB dependent file" along with below mentioned messaged
    EA-IPPE 400 SAPKGPID19 is not available for user S0003575872
    SAP_APPL 604 SAPKH60409 is not available for user S0003575872
    Please suggest, as I am stuck and not able to download the stack.
    Regads,
    Manish Sharma

    Hi
    ERP 6.0 EHP4 SPS09 not yet released, see the sap note Note 1064635 - SAP ERP Enhancement Packages: SP Stacks Release Info Note
    please again check what you done on step 2.1 in MOPZ, have you selected proper target stack version?
    if you not sure on the steps info pls read the help link here
    [http://help.sap.com/saphelp_smehp1/helpdata/en/30/1fea80d9b44f5a88fc0038d3dabb76/content.htm|http://help.sap.com/saphelp_smehp1/helpdata/en/30/1fea80d9b44f5a88fc0038d3dabb76/content.htm]
    Jansi

  • Save link as option vanished in firefox 17.0.So now not able to download mp3 files.Instead click on mp3 files starts playing in some black player in firefox

    Save link as option vanished in firefox 17.0.So now not able to download mp3 files.Instead click on mp3 files starts playing in some black player in firefox.
    Earlier i was able to download mp3 files by pressing on link for some time and menu popus up "Save link as" but after recent update that option is gone.
    That option is desperately needed.
    One more thing is MP3 file start playing in black player on firefox when i actually want to download them and then play it.
    fix this issue ASAP.

    I still have the "Save link as" option in my context menu with FF 17. Maybe something went wrong with the update?

  • Not able to download image from database

    not able to download image from database am in jdeveloper 11g release 2 am using this example
    : http://tompeez.wordpress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-2/
    hi am not able to down load my image my jsp xml is
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document title="sms4200.jspx" id="d1">
    <af:messages id="m1"/>
    <af:form id="f1" usesUpload="true">
    <af:panelStretchLayout topHeight="211px" id="psl1" inlineStyle="width:1338px; background-color:Navy;">
    <f:facet name="top">
    <af:panelHeader text="Sms Intergration Sources" id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <af:panelStretchLayout id="psl2" inlineStyle="height:178px; width:1018px;" topHeight="22px"
    endWidth="589px" startWidth="55px" bottomHeight="33px">
    <f:facet name="end">
    <af:panelHeader text="Office" id="ph2"
    inlineStyle="width:900px; background-color:Navy;">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <af:panelFormLayout id="pfl3" inlineStyle="background-color:Navy;" rows="1">
    <f:facet name="footer"/>
    <af:inputText label="#{bindings.Name1.hints.label}"
    required="#{bindings.Name1.hints.mandatory}"
    columns="20"
    maximumLength="#{bindings.Name1.hints.precision}"
    shortDesc="#{bindings.Name1.hints.tooltip}" id="it2">
    <f:validator binding="#{bindings.Name1.validator}"/>
    </af:inputText>
    <af:inputText
    label="#{bindings.LocalUpDirectory1.hints.label}"
    required="#{bindings.LocalUpDirectory1.hints.mandatory}"
    columns="20"
    maximumLength="#{bindings.LocalUpDirectory1.hints.precision}"
    shortDesc="#{bindings.LocalUpDirectory1.hints.tooltip}"
    id="it3">
    <f:validator binding="#{bindings.LocalUpDirectory1.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    </af:panelHeader>
    </f:facet>
    <f:facet name="top">
    <af:inputText value="#{bindings.IntegrationTypeName1.inputValue}"
    label="#{bindings.IntegrationTypeName1.hints.label}"
    required="#{bindings.IntegrationTypeName1.hints.mandatory}"
    columns="#{bindings.IntegrationTypeName1.hints.displayWidth}"
    maximumLength="#{bindings.IntegrationTypeName1.hints.precision}"
    shortDesc="#{bindings.IntegrationTypeName1.hints.tooltip}" id="it1">
    <f:validator binding="#{bindings.IntegrationTypeName1.validator}"/>
    </af:inputText>
    </f:facet>
    </af:panelStretchLayout>
    </af:panelHeader>
    </f:facet>
    <f:facet name="center">
    <!-- id="af_one_column_header_stretched" -->
    <af:decorativeBox theme="dark" id="db1" inlineStyle="width:1050px; background-color:Navy;">
    <f:facet name="center">
    <af:panelGroupLayout layout="scroll" id="pgl3" inlineStyle="background-color:Navy;">
    <af:panelStretchLayout id="psl3" inlineStyle="width:1012px; height:502px;"
    topHeight="133px" startWidth="0px">
    <f:facet name="center">
    <af:panelStretchLayout id="psl5" endWidth="659px" startWidth="171px">
    <f:facet name="center"/>
    <f:facet name="start"/>
    <f:facet name="end">
    <af:panelGroupLayout layout="scroll" id="pgl2">
    <af:inputFile label="Select Image" id="if1" autoSubmit="true"
    valueChangeListener="#{ImageBean.uploadFileValueChangeEvent}"/>
    <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
    text="Restart Load Image Process"
    disabled="#{!bindings.CreateInsert.enabled}"
    id="cb2"/>
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    text="Save"
    disabled="#{!bindings.Commit.enabled}"
    id="cb3"/>
    <af:commandButton text="View" id="cb1"
    partialSubmit="true"
    unsecure="#{ImageBean.downloadButton}"
    action="#{image.downloadImage}"
    binding="#{image2.downloadButton}"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </f:facet>
    <f:facet name="start"/>
    <f:facet name="top">
    <af:panelStretchLayout id="psl4" startWidth="232px" endWidth="296px"
    bottomHeight="18px" topHeight="11px">
    <f:facet name="bottom"/>
    <f:facet name="center"/>
    <f:facet name="start">
    <af:panelFormLayout id="pfl1" labelAlignment="top">
    <f:facet name="footer"/>
    <af:inputText label="File from PC to be Transfered" id="it4"/>
    </af:panelFormLayout>
    </f:facet>
    <f:facet name="end">
    <af:panelFormLayout id="pfl2" labelAlignment="top" maxColumns="10">
    <f:facet name="footer">
    <af:inputText value="#{bindings.DocumentName.inputValue}"
    label="File Transfered to Database"
    required="#{bindings.DocumentName.hints.mandatory}"
    columns="50"
    rows="1"
    maximumLength="#{bindings.DocumentName.hints.precision}"
    shortDesc="#{bindings.DocumentName.hints.tooltip}"
    id="it5" simple="false">
    <f:validator binding="#{bindings.DocumentName.validator}"/>
    </af:inputText>
    </f:facet>
    </af:panelFormLayout>
    </f:facet>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:panelGroupLayout>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    and my log file is
    <ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
    the method am calling is
        public BlobDomain downloadImage() {
            FacesContext facesContext = null;
            OutputStream outputStream = null;
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
            // get an ADF attributevalue from the ADF page definitions
            AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Documentimage");
            if (attr == null) {
                return null;
            // the value is a BlobDomain data type
            BlobDomain blob = (BlobDomain)attr.getInputValue();
            try { // copy hte data from the BlobDomain to the output stream
                IOUtils.copy(blob.getInputStream(), outputStream);
                // cloase the blob to release the recources
                blob.closeInputStream();
                // flush the outout stream
                outputStream.flush();
            } catch (IOException e) {
                // handle errors
                e.printStackTrace();
                FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, e.getMessage(), "");
                FacesContext.getCurrentInstance().addMessage(null, msg);
            return blob;
        }i get this error when clicking the button
    error when not able to download image
    <BeanHandler> <getStructure> Failed to build StructureDefinition for : sms4200.ImageBean
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
    Edited by: Tshifhiwa on 2012/06/03 10:53 AM
    Edited by: Tshifhiwa on 2012/06/03 10:56 AM
    Edited by: Tshifhiwa on 2012/06/03 10:57 AM

    hi i try to run your sample am geting this error
    Error 500--Internal Server Error
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/HRDS
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1453)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8972)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:487)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1318)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:247)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1020)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1645)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
         at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2748)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2796)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1478)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1608)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
         at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3319)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:514)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:465)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:541)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:531)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding$1JUAttributeDefHintsMap.(JUCtrlValueBinding.java:4104)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeHintsMap(JUCtrlValueBinding.java:4211)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHints(JUCtrlValueBinding.java:2564)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2389)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:275)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
         at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.getLabel(LabelLayoutRenderer.java:929)
         at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:213)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:215)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1088)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:50)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1604)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1523)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1500(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:734)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:637)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:879)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1294)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:351)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:316)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.access$400(RegionRenderer.java:50)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer$ChildEncoderCallback.processComponent(RegionRenderer.java:707)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer$ChildEncoderCallback.processComponent(RegionRenderer.java:692)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:297)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:186)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:323)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:879)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1294)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:351)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:316)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1277)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655)
         at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1027)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'jdbc.HRDS' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/HRDS'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1439)
         ... 190 more
    my connection.xml is
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <References xmlns="http://xmlns.oracle.com/adf/jndi">
    <Reference name="HRDS" className="oracle.jdeveloper.db.adapter.DatabaseProvider" credentialStoreKey="HRDS" xmlns="">
    <Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="sid">
    <Contents>smsdev</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="subtype">
    <Contents>oraJDBC</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="port">
    <Contents>1521</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="hostname">
    <Contents>localhost</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="user">
    <Contents>hr</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="password"/>
    <StringRefAddr addrType="oraDriverType">
    <Contents>thin</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    </References>
    Edited by: Tshifhiwa on 2012/06/04 2:20 PM

  • Not able to download updates on client after migration Win2012 to Win2012 R2

    Recently we Migrated WSUS from Windows Server 2012 to Windows Server 2012 R2.
    Refer for detailed steps: http://ininformationtechnologyworld.blogspot.in/2014/02/wsus-migration-from-windows-server-2012.html
    Now we realized that clients are not able to download any updates.
    Following are the errors on the Client Machine WindowsUpdate.log file.We
    tried to hit
    URL (http://wsus/Content/3C/7341F638359D917F23397C81EE8A71771ED3DC3C.cab)
    We are getting following error: The page cannot be displayed because an internal server error has occurred.
    Log Name:      Application
    Source:        Windows Server Update Services
    Date:          14-03-2014 19:52:57
    Event ID:      12072
    Task Category: 9
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      WSUS
    Description:
    The WSUS content directory is not accessible.
    System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices.CheckContentDirWebAccess(EventLoggingType type, HealthEventLogger logger)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Server Update Services" />
        <EventID Qualifiers="0">12072</EventID>
        <Level>2</Level>
        <Task>9</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-14T14:22:57.000000000Z" />
        <EventRecordID>7801</EventRecordID>
        <Channel>Application</Channel>
        <Computer>WSUS</Computer>
        <Security />
      </System>
      <EventData>
        <Data>The WSUS content directory is not accessible.
    System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
       at System.Net.HttpWebRequest.GetResponse()
       at Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices.CheckContentDirWebAccess(EventLoggingType type, HealthEventLogger logger)</Data>
      </EventData>
    </Event>
    14-03-14    19:20:28:499     916    528    Agent    Setting download properties on call BF070EC3-DA14-4AA7-8A40-0B988231E471: priority=3, interactive=1,
    owner
    is system=1, proxy settings=1, proxy session id=2
    2014-03-14    19:20:28:530     916    528    AU    UpdateDownloadProperties: download priority has changed from 2 to 3.
    2014-03-14    19:20:28:530     916    528    Agent    Setting download properties on call 8B154D1B-B646-459D-9790-466EBC03C224: priority=3, interactive=1,
    owner
    is system=1, proxy settings=1, proxy session id=2
    2014-03-14    19:20:28:561     916    528    AU    UpdateDownloadProperties: download priority has changed from 2 to 3.
    2014-03-14    19:20:28:561     916    528    Agent    Setting download properties on call 9A132168-CAA2-4946-94BA-4298E9C197DF: priority=3, interactive=1,
    owner
    is system=1, proxy settings=1, proxy session id=2
    2014-03-14    19:20:28:592     916    528    AU    UpdateDownloadProperties: download priority has changed from 2 to 3.
    2014-03-14    19:20:28:592     916    528    Agent    Setting download properties on call FBF3FD3C-12E5-445D-B39B-D717CC6D30FD: priority=3, interactive=1,
    owner
    is system=1, proxy settings=1, proxy session id=2
    2014-03-14    19:20:28:624     916    528    AU    #############
    2014-03-14    19:20:28:624     916    528    AU    ## START ##  AU: Download updates
    2014-03-14    19:20:28:624     916    528    AU    #########
    2014-03-14    19:20:28:624     916    528    AU      # Found no download approved updates.
    2014-03-14    19:20:28:624     916    528    AU    #########
    2014-03-14    19:20:28:624     916    528    AU    ##  END  ##  AU: Download updates
    2014-03-14    19:20:28:624     916    528    AU    #############
    2014-03-14    19:20:28:624     916    e38    DnldMgr    BITS job {85E54903-8597-4E35-84B5-57EEB675334E} hit a transient error,
    updateId
    = {5F9901D7-6638-4510-BFAB-7EB5FABEF24A}.201,
    error = 0x801901F4
    2014-03-14    19:20:28:624     916    e38    DnldMgr      Will not attempt to resume the job as it has reached the maximum number of attempts.
    2014-03-14    19:20:28:624     916    e38    DnldMgr    Error 0x8024401f occurred while downloading update; notifying dependent calls.
    2014-03-14    19:20:30:480     916    1258    DnldMgr    BITS job {925FF5AC-863B-4B6A-9916-3FEA781C1D16} hit a transient error,
    updateId
    = {B3F978E3-C7A9-4F6F-BD60-AAF64E4B2000}.201,
    error = 0x801901F4
    2014-03-14    19:20:30:480     916    1258    DnldMgr      Attempt no. 3 to resume the job
    2014-03-14    19:20:30:652     916    2bc    AU    >>##  RESUMED  ## AU: Download update [UpdateId = {568C1005-5178-4C13-8486-18E2C5AF4834}]
    2014-03-14    19:20:30:652     916    2bc    AU      # WARNING: Download failed, error = 0x8024401F
    2014-03-14    19:20:30:667     916    2bc    AU    AU checked download status and it changed: Downloading is not paused
    2014-03-14    19:20:30:667     916    2bc    AU    Successfully wrote event for AU health state:0
    2014-03-14    19:20:30:667     916    2bc    AU    Currently showing Progress UX client - so not launching any other client
    2014-03-14    19:20:32:227     916    1258    DnldMgr    BITS job {07E52619-9ED8-4C21-A171-A66497D36A41} hit a transient error,
    updateId
    = {524583EB-A9DE-4D19-8BEA-69A702CF8564}.201,
    error = 0x801901F4
    2014-03-14    19:20:32:227     916    1258    DnldMgr      Attempt no. 1 to resume the job
    2014-03-14    19:20:32:243     916    1258    DnldMgr    BITS job {837A4F09-FA41-4440-8C5A-8E08721CD2DC} hit a transient error,
    updateId
    = {9371B37C-D47D-4E56-A7F2-6350D4582388}.202,
    error = 0x801901F4
    2014-03-14    19:20:32:243     916    1258    DnldMgr      Attempt no. 1 to resume the job
    2014-03-14    19:20:32:274     916    1258    DnldMgr    BITS job {783EF0CE-9B49-4CF2-8046-94AA737E4E3E} hit a transient error,
    updateId
    = {8885D85B-FCFF-468B-A677-BF5B17320257}.101,
    error = 0x801901F4
    2014-03-14    19:20:32:274     916    1258    DnldMgr      Attempt no. 1 to resume the job
    2014-03-14    19:20:32:290     916    1258    DnldMgr    BITS job {9F3AABCF-E193-4B24-A460-4770143416AD} hit a transient error,
    updateId
    = {05654332-8613-4B4A-AA7F-9CF2B9650130}.202,
    error = 0x801901F4
    2014-03-14    19:20:32:290     916    1258    DnldMgr      Attempt no. 1 to resume the job
    2014-03-14    19:20:32:321     916    1258    DnldMgr    BITS job {6801AA60-294E-4ACE-9E57-273149C5590A} hit a transient error,
    updateId
    = {9BBBD8F2-72E2-4A58-ACAE-DCC3715715F2}.201,
    error = 0x801901F4
    2014-03-14    19:20:32:321     916    1258    DnldMgr      Attempt no. 1 to resume the job
    2014-03-14    19:20:32:352     916    1258    DnldMgr    BITS job {D78C1668-B619-46F4-8394-3B804ED496F0} hit a transient error,
    updateId
    = {231BDBA2-E51F-4210-BD28-0BAB1BA17E33}.102,
    error = 0x801901F4
    2014-03-14    19:20:32:352     916    1258    DnldMgr      Attempt no. 1 to resume the job
    2014-03-14    19:20:32:368     916    1258    DnldMgr    BITS job {6BF8203C-D789-4ECA-AA90-27C5FF1BF032} hit a transient error,
    updateId
    = {0257C940-6D4B-4278-9B5E-A6D88C06E10F}.105,
    error = 0x801901F4
    2014-03-14    19:20:32:368     916    1258    DnldMgr      Attempt no. 1 to resume the job
    2014-03-14    19:20:32:383     916    e38    DnldMgr    BITS job {925FF5AC-863B-4B6A-9916-3FEA781C1D16} hit a transient error,
    updateId
    = {B3F978E3-C7A9-4F6F-BD60-AAF64E4B2000}.201,
    error = 0x801901F4
    2014-03-14    19:20:32:383     916    e38    DnldMgr      Will not attempt to resume the job as it has reached the maximum number of attempts.
    2014-03-14    19:20:32:383     916    e38    DnldMgr    Error 0x8024401f occurred while downloading update; notifying dependent calls.
    2014-03-14    19:20:34:177     916    2bc    AU    Successfully wrote event for AU health state:0
    2014-03-14    19:20:34:240     916    2bc    AU    AU checked download status and it changed: Downloading is paused
    2014-03-14    19:20:34:240     916    2bc    AU    >>##  RESUMED  ## AU: Download update [UpdateId = {7BB7B30C-351D-4F8C-ABE4-5F7965635A03}]
    2014-03-14    19:20:34:240     916    2bc    AU      # WARNING: Download failed, error = 0x8024401F
    2014-03-14    19:20:34:240     916    2bc    AU    Successfully wrote event for AU health state:0
    2014-03-14    19:20:34:240     916    2bc    AU    Currently showing Progress UX client - so not launching any other client
    2014-03-14    19:20:34:255     916    1258    DnldMgr    BITS job {FE9457D6-9822-4B1F-AE4B-CDB226184FB5} hit a transient error,
    updateId
    = {E1491969-86DC-4CE5-B104-88F4CBB6AA50}.202,
    error = 0x801901F4
    2014-03-14    19:20:34:255     916    1258    DnldMgr      Attempt no. 1 to resume the job
    2014-03-14    19:20:34:255     916    13f4    DnldMgr    BITS job {69B4FCA3-9395-42A2-A2FF-F46B0F5A53D9} hit a transient error,
    updateId
    = {BF53165A-9CDA-4A53-9BAD-D88348B60D2E}.201,
    error = 0x801901F4
    2014-03-14    19:20:34:255     916    13f4    DnldMgr      Attempt no. 1 to resume the job
    2014-03-14    19:20:34:255     916    1148    Report    REPORT EVENT: {8EABBF5E-2E7D-4BA5-A4A7-70BC2B28E605}    2014-03-14 19:20:28:717+0530    1  
     161    101    {568C1005-5178-4C13-8486-18E2C5AF4834}    201    8024401f    AutomaticUpdatesWuApp    Failure    Content Download    Error:
    Download failed.
    2014-03-14    19:20:34:255     916    1148    Report    REPORT EVENT: {8028E0BA-8C40-4862-A3E2-5C25D489CFF2}    2014-03-14 19:20:32:477+0530    1  
     161    101    {7BB7B30C-351D-4F8C-ABE4-5F7965635A03}    201    8024401f    AutomaticUpdatesWuApp    Failure    Content Download    Error:
    Download failed.
    2014-03-14    19:20:34:255     916    1148    Report    CWERReporter::HandleEvents
    - WER report upload completed with status 0x8
    2014-03-14    19:20:34:255     916    1148    Report    WER Report sent: 7.6.7600.256 0x8024401f 568C1005-5178-4C13-8486-18E2C5AF4834 Download 101 Managed
    2014-03-14    19:20:34:271     916    2bc    AU    Successfully wrote event for AU health state:0
    2014-03-14    19:20:34:271     916    1148    Report    CWERReporter::HandleEvents
    - WER report upload completed with status 0x8
    2014-03-14    19:20:34:271     916    1148    Report    WER Report sent: 7.6.7600.256 0x8024401f 7BB7B30C-351D-4F8C-ABE4-5F7965635A03 Download 101 Managed
    2014-03-14    19:20:34:271     916    1148    Report    CWERReporter finishing event handling. (00000000)
    2014-03-14    19:20:35:831     916    2bc    AU    >>##  RESUMED  ## AU: Download update [UpdateId = {BB49CC19-8847-4986-AA93-5E905421E55A}]
    2014-03-14    19:20:35:831     916    2bc    AU      # WARNING: Download failed, error = 0x8024401F
    2014-03-14    19:20:35:847     916    2bc    AU    AU checked download status and it changed: Downloading is not paused
    2014-03-14    19:20:35:847     916    2bc    AU    Successfully wrote event for AU health state:0
    2014-03-14    19:20:35:847     916    2bc    AU    Currently showing Progress UX client - so not launching any other client
    2014-03-14    19:20:35:847     916    1318    DnldMgr    BITS job {07E52619-9ED8-4C21-A171-A66497D36A41} hit a transient error,
    updateId = {524583EB-A9DE-4D19-8BEA-69A702CF8564}.201,
    error = 0x801901F4
    2014-03-14    19:20:35:847     916    1318    DnldMgr      Attempt no. 2 to resume the job
    2014-03-14    19:20:35:894     916    1258    DnldMgr    BITS job {837A4F09-FA41-4440-8C5A-8E08721CD2DC} hit a transient error,
    updateId = {9371B37C-D47D-4E56-A7F2-6350D4582388}.202,
    error = 0x801901F4
    2014-03-14    19:20:35:894     916    1258    DnldMgr      Attempt no. 2 to resume the job
    2014-03-14    19:20:35:925     916    1258    DnldMgr    BITS job {D78C1668-B619-46F4-8394-3B804ED496F0} hit a transient error,
    updateId = {231BDBA2-E51F-4210-BD28-0BAB1BA17E33}.102,
    error = 0x801901F4
    2014-03-14    19:20:35:925     916    1258    DnldMgr      Attempt no. 2 to resume the job
    2014-03-14    19:20:35:925     916    1258    DnldMgr    BITS job {6BF8203C-D789-4ECA-AA90-27C5FF1BF032} hit a transient error,
    updateId = {0257C940-6D4B-4278-9B5E-A6D88C06E10F}.105,
    error = 0x801901F4
    2014-03-14    19:20:35:925     916    1258    DnldMgr      Attempt no. 2 to resume the job
    2014-03-14    19:20:35:956     916    1258    DnldMgr    BITS job {69B4FCA3-9395-42A2-A2FF-F46B0F5A53D9} hit a transient error,
    updateId = {BF53165A-9CDA-4A53-9BAD-D88348B60D2E}.201,
    error = 0x801901F4
    2014-03-14    19:20:35:956     916    1258    DnldMgr      Attempt no. 2 to resume the job
    2014-03-14    19:20:35:972     916    1258    DnldMgr    BITS job {FE9457D6-9822-4B1F-AE4B-CDB226184FB5} hit a transient error,
    updateId = {E1491969-86DC-4CE5-B104-88F4CBB6AA50}.202,
    error = 0x801901F4
    2014-03-14    19:20:35:972     916    1258    DnldMgr      Attempt no. 2 to resume the job
    2014-03-14    19:20:35:987     916    1258    DnldMgr    BITS job {A933932E-0253-43F0-B8C9-4D3F3C9662CA} hit a transient error,
    updateId = {36C637E8-E145-4C7E-B069-BB4AA2F554B8}.201,
    error = 0x801901F4
    2014-03-14    19:20:35:987     916    1258    DnldMgr      Attempt no. 3 to resume the job
    2014-03-14    19:20:36:003     916    1258    DnldMgr    BITS job {76BAA3C5-0E22-4EE8-B996-956440A5C968} hit a transient error,
    updateId = {35F3690E-3EF4-42B2-8E85-98B6AB342BFD}.201,
    error = 0x801901F4
    2014-03-14    19:20:36:003     916    1258    DnldMgr      Attempt no. 3 to resume the job
    Client Debug Output
    WSUS Client Diagnostics Tool
    Checking Machine State
            Checking for admin rights to run tool . . . . . . . . . PASS
            Automatic Updates Service is running. . . . . . . . . . PASS
            Background Intelligent Transfer Service is running. . . PASS
    GetFileVersion(szEngineDir,&susVersion) failed with hr=0x80070002
    The system cannot find the file specified.
    Press Enter to Complete
    .::[ashX]::.

    It started working fine after following below :
    http://technet.microsoft.com/en-us/library/hh852349.aspx
    The WSUS server identity on the destination server must be changed. Performing this step guarantees that WSUS-managed clients are not affected during the migration process. If the source server and
    the destination server run with the same identity, and a change is made to one of the servers, the communication between the client and server will fail.
    To change the WSUS
    server identity
    On the destination server, open a Windows PowerShell session with elevated user rights and run the following script:
    $updateServer = get-wsusserver
    $config = $updateServer.GetConfiguration()
    $config.ServerId = [System.Guid]::NewGuid()
    $config.Save()
    As soon as the server identity is changed, run the following command to generate a new encryption key:
    %ProgramFiles%\Update Services\Tools\wsusutil.exe
    postinstall
    And its done. :)
    .::[ashX]::.

Maybe you are looking for

  • Jdev11g CPU profile and Memory Profile doesn't work for Mac

    I'm running Jdev11g on Mac OSX 10.5.5, CPU Profile and Memory Profile doesn't work. I got following message: Error occurred during initialization of VM Could not find agent library in absolute path: /Shared/jdevjavabase11110/jdeveloper/jdev/lib/profi

  • Does turning off email delivery also turn off text delivery?

    I just got an 8330 when my work switched to Sprint. I am on vacation for the next two weeks and would like to turn off my work email delivery. It comes through a Microsoft Exchange server. I also have two AOL personal accounts on the phone. If I sele

  • How to create chart in excel through labview?

    I have seen some examples for plotting data to excel, however none do exactly what I need. These examples plot the data as a 'data range' the first column is your x values and all columns after are your y values. I have multiple samples of data which

  • How can i import a Numbers'08

    I've just bought Numbers'09 and i need to import my numbers'08 files. Numbers'09 tells me that my file is to much old!!!

  • Thinkvantage system update error thinkpad t41

    hello everyone.... so i'm running (windows server 2008) on thinkpad t41 and when i try to run the (thinkvantage system update) i keep getting this error messge  .    (an error occured while gathering user information).... does anyone no how to fix th