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