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. Iframe Issue.

Iframe Issue.

Scheduled Pinned Locked Moved Web Development
helpdatabase
7 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.
  • R Offline
    R Offline
    raghu g
    wrote on last edited by
    #1

    Hi.. I'm retrieving a word document from database and saving it in local path,after that showing it inside an iframe. when i run the application in localhost ,word document is shown properly. but when accessing from a virtual directory.iframe is not displayed. :( Please help me on this issue..

    A 1 Reply Last reply
    0
    • R raghu g

      Hi.. I'm retrieving a word document from database and saving it in local path,after that showing it inside an iframe. when i run the application in localhost ,word document is shown properly. but when accessing from a virtual directory.iframe is not displayed. :( Please help me on this issue..

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      raghu.g wrote:

      but when accessing from a virtual directory.iframe is not displayed.Frown

      I guess this is related with the Path that you have used. Please Use Server.MapPath to locate the file.

      Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

      R 1 Reply Last reply
      0
      • A Abhijit Jana

        raghu.g wrote:

        but when accessing from a virtual directory.iframe is not displayed.Frown

        I guess this is related with the Path that you have used. Please Use Server.MapPath to locate the file.

        Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

        R Offline
        R Offline
        raghu g
        wrote on last edited by
        #3

        hi.. Thanks for your reply..I'm using server.mappath to retrieve the path. But the problem is same...and i'm showing the iframe inside update panel...please suggest me if there are any other ways to do this.. Thank you..

        A 1 Reply Last reply
        0
        • R raghu g

          hi.. Thanks for your reply..I'm using server.mappath to retrieve the path. But the problem is same...and i'm showing the iframe inside update panel...please suggest me if there are any other ways to do this.. Thank you..

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          Did you checked that path ? Is that path is returning valid path for the file ? Please check View Source For the IFrame Content. It may give you some hints. Thanks !

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

          R 1 Reply Last reply
          0
          • A Abhijit Jana

            Did you checked that path ? Is that path is returning valid path for the file ? Please check View Source For the IFrame Content. It may give you some hints. Thanks !

            Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

            R Offline
            R Offline
            raghu g
            wrote on last edited by
            #5

            Thanks for your reply.. I'll work on that.

            A 1 Reply Last reply
            0
            • R raghu g

              Thanks for your reply.. I'll work on that.

              A Offline
              A Offline
              Abhijit Jana
              wrote on last edited by
              #6

              Sure. Let me know if you need any more help !! Thanks !:thumbsup:

              Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

              R 1 Reply Last reply
              0
              • A Abhijit Jana

                Sure. Let me know if you need any more help !! Thanks !:thumbsup:

                Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

                R Offline
                R Offline
                raghu g
                wrote on last edited by
                #7

                Hi.. The problem was due to permission levels when accessing from a virtual directory.I have added "Identity" tag in web.config.The problem was solved. Thanks for your suggestions.:thumbsup:

                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