I am using forms authentication, and for some reason it shuts off my images. I have tried putting them in the same directoy, and still nothing.
If I turn off forms authentication, they come back alive so I know my urls are correct.
Any hlep would be very much appreciated!
Yes i know this issue. Probably the images do appear when the user is logged in?. And they don't appear when the user is not in session?
Check your security settings to see if everybody also anonymous users are able to access your image directory.
f.i. i have my logon page directly beneath my project(no folders) and then all other pages are in the folder web and subfolder.
the web foleder can only be accessded by users which are logged in. I had the same with my images folder, so all users entering my logon page didn't see images. So i change the images folders to allow access for all users.
<?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --> <configuration> <appSettings/> <connectionStrings/> <system.web> <authorization> <deny users="?"/> </authorization> </system.web> </configuration>
Thanks for the quick reply as well as assistance. I'll give some time for some more posts and then check the Mark as Answer for you.