ASP.NET Image problems with Forms Authentication
Posted on 2004-09-02
I have two applications, side by side in localhost, identical except one is sized for 800x600 and the other 1024x768.
Both versions were developed on another machine and the forms etc. copied/added into the current machine.
It is an N-tier configuration, with separate WebServices and SQL Server machines working without problem.
Application uses Forms Authentication.
The Problem: The 1024 version is working fine but the 800 version won’t display simple jpg gif or bmp images.
Some particular problems:
In VS.net IDE, Image control (ASP or HTML) won’t display selected image when Windows Authentication is turned off.
Image appears when Windows Auth is turned on in IIS, but still doesn’t display at runtime from another machine over internet.
Red X appears even before image is selected, when a new image control is dropped on form when Windows Auth is turned off.
Red X appears in the Image control at runtime either way.
I sometimes get “A failure occurred writing to the resource file. Access is denied.” message on rebuild, but usually not, and the specific resource file varies.
There is also an ImageButton on a form, with an ICO graphic which likewise doesn’t display.
In the IDE the View > Refresh option is not visible.
I have deleted Temporary Internet files in IE.
I have manually deleted VSWebCache folder.