|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problem with images in VS2005Hello,
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 ! -- Daniel TIZON MCP - MCSD.NET - MCT "Miguel Dias Moura" <md*REMOVE*moura@gmail*NOSPAM*.com> a écrit dans le message de news: uJO4jSmAGHA.***@TK2MSFTNGP12.phx.gbl...Show quoteHide quote > 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 >
Other interesting topics
Dynamic DropDownList
Basics of Forma Layout Client Validation (JavaScript) for CustomValidator Control Eliminate postback effect? Long Running Process VS 2003 and 2005 on same machine GridView DataKey SQL-ASP.NET datetime format problem ??? WebPart Personalization -Default layout question Caching architecture question. |
|||||||||||||||||||||||