Problem with images in VS2005

  • Thread starter Thread starter Miguel Dias Moura
  • Start date Start date
M

Miguel Dias Moura

Hello,

I just moved from Visual Studio 2003 to Visual Studio 2005.
I am creating a web site and all the images are in App_GlobalResources.

In Design View I can see all the images but as soon as I preview the
web site in Internet Explorer i can't see any image.

In my browser I checked the url of one of the images and the url is:
http://localhost:1270/BonsAlunos_v200/App_GlobalResources/logo.jpg

Do you know what might be going on?

My web site is in MyDocuments/My Web Projects

Thank You Very Much,
Miguel
 
Hi Miguel,
ASP.NET 2.0 comes with new reserved folders. These folders begins with
App_xxx.
These folders are protected from HTTP download, because are supposed to be
used server side only
For example, the App_GlobalResources folder is used to contain resources
files (.resx) that are automaticaly compiled into typed classes, that are
accessibles from all Pages of your site.

So, you should use another folder to place your images, sorry !
 
Back
Top