Re: Image doesn't load and security on folder is the cause??
From: Ken Schaefer (kenREMOVE_at_THISadopenstatic.com)
Date: Thu, 27 Jan 2005 23:37:35 +1100
Please do a "view source" in your browser, and post the relevant HTML that
isn't working. You are looking for an
<img src="...." >
tag. Does the src= attribute appear to contain a valid URL?
"Filip De Backer" <email@example.com.(donotspam)> wrote in message
> 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\
> 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
> 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,