Image doesn't load and security on folder is the cause??

From: donotspam (filip_de_backer_at_hotmail.com.(donotspam))
Date: 01/27/05


Date: Thu, 27 Jan 2005 00:07:02 -0800

hi everyone,

On the webserver, all the websites are in folders on the d-drive.
eg: my test website is 'd:\dir1\dir2\websites\asptest'.
The IIS is configurated that all th esite sare in the d:\...\websites\
directory

I want to show a picture in the Image control.
The images are in 'd:\dir1\dir2\websites\asptest\pictures'.

when I said ImageUrl= "/asptest/pictures/picture1.jpg, it doesn't work.
All the domain users and the asp .net machine user have full control to this
folder, and still it doesn't work.

But when I've created a share for thedirectory, it works fine.
so ImageUrl="\\servername\sharename$\pictures\picture1.jpg" works fine.

How does this come?

thanks for the answers,

Filip



Relevant Pages

  • Re: Image doesnt load and security on folder is the cause??
    ... Does the src= attribute appear to contain a valid URL? ... all the websites are in folders on the d-drive. ... > I want to show a picture in the Image control. ... > All the domain users and the asp .net machine user have full control to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Problem with security and images
    ... all the websites are in folders on the d-drive. ... I want to show a picture in the Image control. ... All the domain users and the asp .net machine user have full control to this ...
    (microsoft.public.dotnet.framework.aspnet)