GetAppletContext().showDocument fails to open XML file on WIN XP SP2

Hi all,
I am working on WINDOWS XP SP2, jre 1.4.2_07. I am trying to launch an XML file on the local machine through an applet using
getAppletContext().showDocument(docURL, "_blank");
The docURL is of form "file:////D:\temp\doc.xml"
This fails to open an XML file. There is no traceback in JAVA console or any exception being thrown.
However, if I try to open "html" or "htm" file with the same applet, it succeeds.
Is it a known issue on WinXP? Or am I missing any setting or something?
Thanks
Rohit

Does anyone has a alternative solution for this? How to create the files on the server and have the applet display them using showDocument?

Similar Messages

  • Error 25541 failed to open xml file c:\windows\microsoftnet\framework\v2.0.50727\config\machine.config, system error -2147024786

    Can someone help me resolve this error which is encountered while installing office 2010. So far support for my issue has been weak to non responsive!

    Hi,
    The .NET Framework 3.5 can fail to install on a system where MSXML is not properly registered.  There is a custom action that runs during .NET Framework 3.5 setup that tries to use some APIs in MSXML to modify some information in the web_mediumtrust.config
    file that is a part of the .NET Framework 2.0.  In the cases that we've seen of this issue so far, one of the MSXML CLSID values was somehow unregistered on the system, and that causes this custom action to fail.
    You can use one of the following options to work around this issue if you encounter it during .NET Framework 3.5 setup.  Note that these workarounds are only useful for this exact error and HRESULT value.  They will not help fix all possible .NET
    Framework 3.5 setup failures.
    Re-register msxml3.dll by running regsvr32 msxml3.dll
    Re-install MSXML3 by downloading and installing the package from
    http://www.microsoft.com/downloads/details.aspx?familyid=28494391-052b-42ff-9674-f752bdca9582
    For more information about details about the root cause of this issue, you can refer to this article:
    http://blogs.msdn.com/b/astebner/archive/2007/11/01/5826719.aspx
    Hope that helps.

  • Failed to open package file due to error 0x800C0006 "The system cannot locate the file in C# code.

    Hi, Am facing issue when I try to run SSIS package via C# code, I have given full access to all the folder in which the package is available.
    In the below line am getting error,
    using Microsoft.SqlServer.DTS.Runtime;
    Application app=new Application();
    Package package=null;
    package=app.LoadPackage("PackageFullPath",null) --error line
    Failed to open package file "C:\SSIS\Package.dtsx" due to error 0x800C0006 "The system
    cannot locate the object specified.".  This occurs when loading a
    package and the file cannot be opened or loaded correctly into the XML document

    Are you trying to run this code from job or something? Check if account executing the package has access to the path. Also check if path value passed is correct. If its a remote system path pass it in UNC format (ie //machine/...)
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • "Failed to open package file ..." when modifying job step on remote server

    I have SSIS package setup on a remote SQL Server to run on schedule via SQL Server Agent. It was setup initially by remote desktop-ing to the server and connecting to it via SSMS running on the same machine where SQL Server is running. Package source is
    "File System" and absolute path is specified (D:\Folder1\Package1.dtsx). There is just one step in the job - to run SSIS package. Everything works as it should.
    Now I want to modify this job - change number of retry on failure attempts. I can successfully connect to this SQL Server instance via SSMS from my developer workstation. I can then go to "Advanced Settings" for this job step and change "Retry attempts"
    to some other number. However, when I press "OK" I get this error message:
    TITLE: SSIS Execution Properties
    Failed to open package file "D:\Folder1\Package1.dtsx" due to error 0x80070003 "The system cannot find the path specified.".  This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can
    be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.
     ({105912C7-6345-42B4-99B4-58566291867B})
    ADDITIONAL INFORMATION:
    Failed to open package file "D:\Folder1\Package1.dtsx" due to error 0x80070003 "The system cannot find the path specified.".  This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can
    be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.
     ({105912C7-6345-42B4-99B4-58566291867B})
    Interestingly enough, in spite of this error message the number of retries is successfully changed.
    I understand it happens because SSMS tries to locate package on my local hard drive and the same folder doesn't exist on my development PC. It still doesn't make sense to me. Does SSMS not know I am accessing remote server? How come I don't get any errors
    when I just execute this job via SSMS when SSMS runs on my development PC?

    Hi, Am facing same issue, but I am trying run SSIS package via C# code, I have given full access to all the folder in which the package is available.
    In the below line am getting error,
    using Microsoft.SqlServer.DTS.Runtime;
    Application app=new Application();
    Package package=null;
    package=app.LoadPackage("PackageFullPath",null) --error line
    Failed to open package file "C:\SSIS\Package.dtsx" due to error 0x800C0006 "The system
    cannot locate the object specified.".  This occurs when loading a
    package and the file cannot be opened or loaded correctly into the XML document
    full access to which account? also trying to run from where? In the same machine where package resides?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to open XML file in Netscape

    How to open XML file in Netscape.....
    XML file is opening correctly in IE, but giving error in Netscape.Error is
    Error loading stylesheet: Parsing and XSLT stylesheet failed....
    Reply me soon..............

    You may check these tips:
    How to Access Local File Systems from J2ME devices using FileConnection API
    http://www.java-tips.org/content/view/109/73/
    Opening and reading a file on the mobile device
    http://www.java-tips.org/content/view/352/73/

  • Error message in .docx : 'Open XML file cannot be opened because there are problems with the contents. Details Unspecific error Location: 2'

    I have put a lot of work into a docx document on my Mac, but now can't open it as it gives the error message: 'the Open XML file cannot be opened because there are problems with the contents. Details, Unspecific
    error, Location: 2'
    When opening the original file the message said: 'this file contains word 2007 for Windows equations' etc. but I managed to track changes fine, and saved, closed and re-opened it numerous times without problem. Some graphs seemed moved, and various formulas
    were illegible, but no other weirdness was observed.
    I have microsoft 2008 installed on my Mac OS X version 10.6.8.
    I've tried to fix it using various solutions suggested here, but am afraid am too IT illiterate to have had any luck, please help I'm new to all this!
    I've uploaded it to https://www.dropbox.com/s/hkw9k6lyihzoxpc/SittwayPauktawSQUEACREPORT_KD%2BCH.docx

    Hi,
    This issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation.
    Please use the "Fix it" tool in the following KB article to resolve the problem. See:
    http://support.microsoft.com/kb/2528942
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • The Open XML file cannot be opened?

    Hello there,
    I tried to open my novel that I had been writing on Word Document but I cannot. A box pops up with this wording...
    The Open XML file Villain.docx cannot be opened because there are problems with the contents or the file name migh contain invalid characters.
    Details
    No error detail available
    And then when I click 'OK', another message pops up...
    Word found unreadable content in Villain.docx.
    Do you want to recover the contents of this document? If you trust the source of this document, click Yes.
    But just as I begin to think I have solved it...
    The Open XML file Villain.docx cannot be opened because there are problems with the contents or the file name migh contain invalid characters.
    Details
    No error detail available
    Location: 2
    I don't understand this! What does it mean? And how can I re-open it? I can't lose this data!

    So... nobody knows how to possibly fix this?

  • "Extraction Failed: Cannot Open Output File" error message when installing new drivers

    Hello, I'm trying to install new drivers for my HP Photosmart C4385 Printer.  I downloaded the full feature drivers for Windows XP 32-bit, and when I start to install (extract), I get the error message:
    Extraction Failed
    Cannot Open Output File
    And the process closes.  It happens at about 85% extraction every time.
    Any idea why?  I called HP but since it is out of warranty they wanted money, which I think as absolutely ridiculous - won't even give me basic support??  Poor, poor customer service.
    This question was solved.
    View Solution.

    Hi,
    If you haven't still got the  Full Feature software installer, download it from the link below and save it to your Desktop.  If you already have it, place it on your Desktop.
    ftp://ftp.hp.com/pub/softlib/software10/COL20274/mp-53147-4/100_228_PS_AIO_02_Full_USW_enu_NB.exe
    Make sure the Printer is disconnected from your PC.
    Download and install 7-ZIP.  Once installed, right click on the software installer for your printer, select 7-Zip and choose extract files, then click Ok.
    Open the newly extracted folder and double click the setup application to start the installation ( the setup application will probably have the same icon as the original software installer you downloaded ).  Connect the printer to your PC when the software asks.
    Hope this helps.
    Best wishes,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Failed to open XML document. Failed to retrieve Public ID

    I have a client posting to Weblogic 6.1 server with the help of Apache
    SOAP 2.2. The posting works fine if the contents of the SOAP message
    is small. But when the contents of SOAP reached more than 11KB, the
    following error occurs:
    Error: Failed to open XML document. Failed to retrieve PUBLIC id or
    SYSTEM id from the document. Decrease the number of char between the
    beginning of the document and its root element.
    The SOAP document looks like:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <mn:sMethodName xmlns:mn="sMethodURI">
    <batch appid="1">
    <employee>
    <name>...</name>
    <address>...</address>
    </employee>
    <employee>
    <name>...</name>
    <address>...</address>
    </employee>
    </batch>
    </mn:sMethodName>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The Max Post Size in Weblogic is set to (-1).
    The program is able to handle less than 50 items of
    <employee>.....</employee>. The error occurs when more than 50 items
    are used. The problem is that our application should be able to handle
    more than 1000 items of <employee>....</employee>.
    My questions are:
    1. How should I configure weblogic to solve the problem?
    2. How should I configure the deployment of Apache SOAP to solve the
    problem?
    Pls advise. Thanks.

    One can deduce from the error message that the parser is looking for the
    <?XML...?> portion of the document because that is where the SYSTEM and
    PUBLIC ids are found in the document.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Grace" <[email protected]> wrote in message
    news:[email protected]...
    >
    Sorry, but I didn't get what you mean. I thought that was handled by theApache
    SOAP API already? And if it couldn't see the XML document header, then whydoes
    this only happens when the document size is large? It doesn't haveproblems whenever
    the document size is small.
    "Cameron Purdy" <[email protected]> wrote:
    It's looking for the XML document header "<?XML" ....
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Grace" <[email protected]> wrote in message
    news:[email protected]...
    I have a client posting to Weblogic 6.1 server with the help of Apache
    SOAP 2.2. The posting works fine if the contents of the SOAP message
    is small. But when the contents of SOAP reached more than 11KB, the
    following error occurs:
    Error: Failed to open XML document. Failed to retrieve PUBLIC id or
    SYSTEM id from the document. Decrease the number of char between the
    beginning of the document and its root element.
    The SOAP document looks like:
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <mn:sMethodName xmlns:mn="sMethodURI">
    <batch appid="1">
    <employee>
    <name>...</name>
    <address>...</address>
    </employee>
    <employee>
    <name>...</name>
    <address>...</address>
    </employee>
    </batch>
    </mn:sMethodName>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The Max Post Size in Weblogic is set to (-1).
    The program is able to handle less than 50 items of
    <employee>.....</employee>. The error occurs when more than 50 items
    are used. The problem is that our application should be able to handle
    more than 1000 items of <employee>....</employee>.
    My questions are:
    1. How should I configure weblogic to solve the problem?
    2. How should I configure the deployment of Apache SOAP to solve the
    problem?
    Pls advise. Thanks.

  • SP2-0310: Failed to open the file "coreins.sql"

    Hi, when i try to install apex 3.0... on oraclexe , in the file install****.log show this error SP2-0310: Failed to open the file "coreins.sql"

    You will find the answer to your problem in this forum..
    Database Installation

  • Pls Help!-'Failed to open the file'

    what do you do when an error 'failed to open the file' shows
    up when you try to open something...?
    i'm pretty sure that i am using the same version of flash as
    the one i used before to create this file.. but just on a different
    mac.
    please
    help!!!! (ノ△・。)

    yumibobcat wrote:
    > what do you do when an error 'failed to open the file'
    shows up when you try to
    > open something...?
    > i'm pretty sure that i am using the same version of
    flash as the one i used
    > before to create this file.. but just on a different
    mac.
    > please help!!!!?(????)
    >
    If you are using the same version the file was made in then
    the only thing
    left which give such error is a corrupted FLA. Beyond
    recovery once fail to
    open.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Libre ~ Error 2038 "failed to open the file"

    Good morning.
    I have a Libre-eBook reader Pro.
    I have downloaded and synced from Kobo to my Libre with no problems.
    But when I try to download ebooks from the public library they download and open in Digital Editions just fine.  I drag and drop them into the bookshelf marked Libre-eBook Reader Pro.
    They show up when I turn on my ebook, but when I try to open them I get the 'failed to open the file'.
    I was also getting the Error 2038 in Digital Editions when I did the drag and drop thing.  I read through the forum and went through the steps recommended for the Nook ~ deleting the digital editions folder on my ebook and having Adobe reauthorize it.  I no longer get the 2038 error message in Adobe, but I am still unable to open the books from the library.
    I have tried deleting the books from ereader and ADE and redownloading from the Library.  Didn't help.
    Any other suggestions?
    Thanks.
    Heather

    Hi Ambs101010,
    Based on my research, the error can be caused by that the machine.config file is incorrect or corrupted. Please use the following steps to troubleshoot the issue and check if the error still occurs.
    1. Open the machine.config in Visual Studio and check if there is any syntax errors. If syntax errors exist, modify the machine.config file directly. For more details, please review this similar
    thread.
    2. If the error still persists, please follow the steps to replace the machine.config file. Another alternative method is to replace the current machine.config with the machine.config file from another computer.
          a.  Go to the folder C:\windows\Microsoft.NET\Framework\v2.0.50727\CONFIG
          b.  Rename the file machine.config to machine.config.old
          c.  Make a copy of the file machine.config.default and rename the copy to be machine.config
          d.  If your Operating System is 64-bit, go to the folder C:\windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG and repeat the above steps
          e.  Reboot your computer
    Thanks,
    Lydia Zhang

  • After Effects CS3 error: file not found -43 and TIFFIO failed to open the file

    Hello
    I am experiencing a problem with AE CS3.
    I have several TIFF sequences (with alphas) that are giving me a headache. When I import them into AE, I get an "AEGP Plugin TIFFIO: Failed to open the file" error.
    I researched the forums and found that this could be related to odd formatting of the source media (my TIFF sequence). I created these TIFFs in Maya 2008 and I have imported other sequences made with Maya into AE with no issues.
    Just to be sure, I created a Photoshop droplet that re-saved my TIFFs as Photoshop TIFFs with the same names.
    I re-imported the new Photoshop TIFF sequences (still with alphas) into AE CS3, and I get the same error.
    Any ideas? I don't know what to do next.
    Thanks,
    -------------S

    Your USB drive may have had a weird character in it's name.
    AE can't read CMYK images, that is usually the problem.
    Imported images do not have to conform to any specific sizes (unless you want to go over 30,000 x 30,000 pixels.)
    - Jonas Hummelstrand
    http://generalspecialist.com/

  • 'failed to open the file'

    what do you do when an error 'failed to open the file' shows
    up when you try to open something...?
    i'm pretty sure that i am using the same version of flash as
    the one i used before to create this file.. but just on a different
    mac.
    please
    help!!!! (ノ△・。)

    You will find the answer to your problem in this forum..
    Database Installation

  • Fail to open PDF file. Error for trying to paste in object.

    So occasionaly, i will paste in a PDF into my InDesign document and this error will pop up, Fail to open PDF file.  It's not like im opening
    the file im just trying to paste it in.  I try other pdf files and the same error comes up.  Usually this error does not happen when i am pasting in
    PDF's into my document but when one error comes up, no PDF's will work.  I have to resave my file into another format and then it will work.
    What is up with these errors that happen sometimes?
    CS5 ID 7.0.3
    P.C.

    Try it again...this time click the show options check box in the place dialog.
    Bob

Maybe you are looking for

  • Do you need adobe photoshop or elements for the ipod with video?

    I am so very frustrated. It took me three days to get quicktime and itunes installed. Finally figured that out. I go to hook up my ipod and it is not working. Ipod has not shown up at all. Instead I get the Windows Hardware finder trying to find the

  • Unable to write trace files in Background dump destination in oracle 10g

    Hi All, OS version : RHEL 5.7 DB version : 10.2.0.4 cluster : 2 node RAC database Today I faced a strange behaviour for one of our production database. Its a 2-node rac database. On the first node there is no auto generation of trace files in the BAc

  • Help in Swing

    Hi I am trying to create a demo field set with three textfields and three buttons a Up Arrow ,Down Arrow and Delete button. However my problem is that creation is fine... but clicking on the Up Arrow button should add one row above and the three text

  • How to give manual font path location when document opening?

    Hi, I want to know how to give manual path location for fonts when document opening like LinoType FontExplorerX, Font Book, UTS. Please Help me its very urgent Thanks

  • Function module to Delimit the roles assigned to the user

    Hi All, I am working on security role automation process abap report.My requirement is to delimit the roles assigned to the user on account of employee termination or retirement. I have used the function module "BAPI_USER_ACTGROUPS_ASSIGN"  to delimi