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. Images not visible after publishing the web application

Images not visible after publishing the web application

Scheduled Pinned Locked Moved ASP.NET
javascriptwindows-adminhelptutorial
4 Posts 3 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.
  • S Offline
    S Offline
    stambekar
    wrote on last edited by
    #1

    hi all, i have built a webapplication using VS08 and IIS 5.1 then i published it to IIS but now i have noticed that the images the application has are not visible. also the Javascript that i have added are not being added. this was not the case when i was developing the application. i was sure that i was path problem but i changed it <img alt="Loading" src="images/progress.gif" /> still the image is not being shown. also if i try to browse the path http://localhost/MyApplication/images/progress.gif then i see this message You are not authorized to view this page can some one guide me on this. Thanks Sandeep

    S 1 Reply Last reply
    0
    • S stambekar

      hi all, i have built a webapplication using VS08 and IIS 5.1 then i published it to IIS but now i have noticed that the images the application has are not visible. also the Javascript that i have added are not being added. this was not the case when i was developing the application. i was sure that i was path problem but i changed it <img alt="Loading" src="images/progress.gif" /> still the image is not being shown. also if i try to browse the path http://localhost/MyApplication/images/progress.gif then i see this message You are not authorized to view this page can some one guide me on this. Thanks Sandeep

      S Offline
      S Offline
      surender m
      wrote on last edited by
      #2

      Check whether images folder is copied properly and whether the images are referenced properly. Check whether any heavy resource activities are happening on server. You can uncheck directory browing option on iis and browse the image.. Hope this will help u.. No Defeat Is Final Until You Stop Trying!.......

      S 1 Reply Last reply
      0
      • S surender m

        Check whether images folder is copied properly and whether the images are referenced properly. Check whether any heavy resource activities are happening on server. You can uncheck directory browing option on iis and browse the image.. Hope this will help u.. No Defeat Is Final Until You Stop Trying!.......

        S Offline
        S Offline
        stambekar
        wrote on last edited by
        #3

        hi Surender, Thanks for reply well for ur questions Check whether images folder is copied properly and whether the images are referenced properly. Checked and is there Check whether any heavy resource activities are happening on server. NO You can uncheck directory browing option on iis and browse the image.. even if i check or uncheck that checkbox it is not being visible By default when u make virtual directory it has anonymous access to the application and directory browsing is turned off. only when i published the application inside the www root of the IIS then the application worked correctly. initially the application was posted on other folder other than the WWW root of the IIS. i m sure it has something to do with the path outside the home directory of the IIS but wht it is im not sure of. there is no probs with the path of Images as the same application is running well whn is hosted in WWW root ne help will be appreciated Thanks & regards Sandeep

        L 1 Reply Last reply
        0
        • S stambekar

          hi Surender, Thanks for reply well for ur questions Check whether images folder is copied properly and whether the images are referenced properly. Checked and is there Check whether any heavy resource activities are happening on server. NO You can uncheck directory browing option on iis and browse the image.. even if i check or uncheck that checkbox it is not being visible By default when u make virtual directory it has anonymous access to the application and directory browsing is turned off. only when i published the application inside the www root of the IIS then the application worked correctly. initially the application was posted on other folder other than the WWW root of the IIS. i m sure it has something to do with the path outside the home directory of the IIS but wht it is im not sure of. there is no probs with the path of Images as the same application is running well whn is hosted in WWW root ne help will be appreciated Thanks & regards Sandeep

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Try giving everyone full permission to that folder read + write. Check your browser settings if javascript is off and images off

          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