Hi there!
It is a known difference between IIS in its default configuration and UltiDev Cassini. UltiDev Cassini authenticates all requests, regardless whether the request is for an ASP.NET resource like .apsx page, or an image. IIS by default (but not always) does not pass requests for images and some other resources to ASP.NET handler, which leads to those requests never getting authenticated. One of many possible workarounds would be to place resources that don't need authentication in one folder, and place a web.config in that folder allowing non-authenticated requests for resources in the folder. For example, you could create a folder structure like this
Code:/-Root
|-FILES
| |- IMAGES
| |- STYLESHEETS
| |- SCRIPTS
| +- web.config
|
|-Default.aspx
+-web.config
The second web.config, located in the FILES folder, would look like this:
Code:<configuration>
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</configuration>
This, of course, is just one way to do that. You could instead keep your existing folder structure and either simply put the web.config shown above in each folder with static resources, or modify your main web.config as
described in this post.
Please let us know if this information has helped.
Best regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.