Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with files in subfolder
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Problem with files in subfolder
Miscellaneous
Thread ID:
00843487
Message ID:
00843487
Views:
52
Nevermind. The problem is solved.

Why am I having a problem referring in my ASP.NET pages to the files in a subfolder to the virtual directory.

Here is the gist of the problem:

I manually created a folder IMAGES as a subfolder to the virtual directory (e.g. "c:\inetpub\wwwroot\MyProg\images"). I copied bunch of .gif files to this folder.

But when I refer to any file in the "images" folder as for example "\images\mypic.gif" or "images\mypic.gif" the images are not displayed. If I use absolute location of the image "c:\inetpub\wwwroot\MyProg\images\mypic.gif" the image is shown.

What am I missing?

TIA.

P.S. The same problem happens when I refer to a CSS file in a folder \MyProg\includes.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Reply
Map
View

Click here to load this message in the networking platform