cant see images when running web site from localhost

Discussion in 'ASP.NET / ASP.NET Core' started by jekain314, Jan 19, 2008.

  1. I seem to have lost the ability to see my images stored in App_Data when I run the web site from the local host. I can see the images fine when I am in the design mode -- but I get the small red ex when I run the site from Visual Studio 2008.

    any suggestions?

    ---Jim
     
  2. If you don't have IIS installed, and the images aren't serviced via virtual folders, Casini won't work with all local images.
    This includes background images.

    For me it's easier to test those things on-line, but if you have to, which I can understand...
    You'll need to install IIS locally and have virtual folders.

    Testing remotely bypasses this and keeps your system cleaner, if you can.
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    app_data is a special directory. If you put your image in there, neither IIS or VS development server will display it when you access it through the browser.


    simple solution is: move the images out from the app_data directory.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page