ChewDoggie
Programmer
Hi Fellow programmers!
I'm deploying a .NET web application (my first). My code-behind file is reading a directory of images (jpg files), grabbing the file names and then displaying the images in a placeholder on the aspx page.
This works like a charm in my local development environment but when I deploy the application out to the production server, the images don't show up. Hard coded images do, but not dynamically loaded images.
I noticed when I was reading the files, that they ALL had fully qualified names, such as "C:\Folder1\Folder2\fileName1.jpg", so I have to remove the "C:\Folder1\Folder2" from the string before I do anything with it. Trouble is, I don't know what the fully qualified names look like on the production server, I don't know what to "replace".
I "THINK" this is the problem but don't know for sure. I'm trying to display a fully qualified name on a web page to find out what it says but I can't seem to get it running.
Any help would be appreciated.
AMACycle
American Motorcyclist Association
I'm deploying a .NET web application (my first). My code-behind file is reading a directory of images (jpg files), grabbing the file names and then displaying the images in a placeholder on the aspx page.
This works like a charm in my local development environment but when I deploy the application out to the production server, the images don't show up. Hard coded images do, but not dynamically loaded images.
I noticed when I was reading the files, that they ALL had fully qualified names, such as "C:\Folder1\Folder2\fileName1.jpg", so I have to remove the "C:\Folder1\Folder2" from the string before I do anything with it. Trouble is, I don't know what the fully qualified names look like on the production server, I don't know what to "replace".
I "THINK" this is the problem but don't know for sure. I'm trying to display a fully qualified name on a web page to find out what it says but I can't seem to get it running.
Any help would be appreciated.
AMACycle
American Motorcyclist Association