Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Help me to load xml file

Help me to load xml file

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netxmlquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zeeshan Ahmed Memon
    wrote on last edited by
    #1

    Dear Programmers, I am facing a problem in the loading of a xml file in ASP.NET 2.0. One thing else that the file is on a remote location. It is displayed in Internet Explorer but when the page load is show a message to press yes. If I don't press yes button then it will not show me the remote file otherwise it show me. How can I remove that message and secondly the file is not loading in FireFox. For FireFox i am using the following code: if (document.implementation && document.implementation.createDocument) { xmlDoc=document.implementation.createDocument("","",null); xmlDoc.async="false"; xmlDoc.load(xmlFile); xmlDoc.onload=xmlFile; } It show me the following error in firefox: "Error: uncaught exception: Permission denied to call method XMLDocument.load" What shall i do. Please help me in this regard. Thankyou to all those who give a reply.

    S 1 Reply Last reply
    0
    • Z Zeeshan Ahmed Memon

      Dear Programmers, I am facing a problem in the loading of a xml file in ASP.NET 2.0. One thing else that the file is on a remote location. It is displayed in Internet Explorer but when the page load is show a message to press yes. If I don't press yes button then it will not show me the remote file otherwise it show me. How can I remove that message and secondly the file is not loading in FireFox. For FireFox i am using the following code: if (document.implementation && document.implementation.createDocument) { xmlDoc=document.implementation.createDocument("","",null); xmlDoc.async="false"; xmlDoc.load(xmlFile); xmlDoc.onload=xmlFile; } It show me the following error in firefox: "Error: uncaught exception: Permission denied to call method XMLDocument.load" What shall i do. Please help me in this regard. Thankyou to all those who give a reply.

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      Check this URL might be helpfull http://forums.asp.net/t/1155866.aspx[^]

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      Z 1 Reply Last reply
      0
      • S Sandeep Akhare

        Check this URL might be helpfull http://forums.asp.net/t/1155866.aspx[^]

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        Z Offline
        Z Offline
        Zeeshan Ahmed Memon
        wrote on last edited by
        #3

        Thanks for replying me sundeep. The code has still a problem. It is still giving me the following error: "Permission Denied to call Method XMLDocument.load" Can you please help me in this regard. Thanks Note: I am trying to open xml file in Mozilla FireFox. Waiting for your reply

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups