Problem with security and images

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top