jacktripper
Programmer
This is really frustrating. I thought I had everything working great, but when I test it outside of debug mode in VS.Net, it all craps out.
I am trying to create a simple Intranet site to point to files on a shared drive. The database stores the location of the file on the drive as "\\shared_drive\file.txt". My gridview shows the file as a link, and it opens the file just fine -- IN DEBUG MODE.
I browse to the same site via IP Address, and my link is now " and the link fails.... UGH.
On top of this, when I add a new link to the database IN DEBUG MODE using a FileUpload control to find the path, it works and the whole path is stored. I try the same via IP Address, and it only stores the filename, and not the path at all.
What gives? Ideas? I am desperate. I told people it was working because I thought it was... Stupid debug mode...
I am trying to create a simple Intranet site to point to files on a shared drive. The database stores the location of the file on the drive as "\\shared_drive\file.txt". My gridview shows the file as a link, and it opens the file just fine -- IN DEBUG MODE.
I browse to the same site via IP Address, and my link is now " and the link fails.... UGH.
On top of this, when I add a new link to the database IN DEBUG MODE using a FileUpload control to find the path, it works and the whole path is stored. I try the same via IP Address, and it only stores the filename, and not the path at all.
What gives? Ideas? I am desperate. I told people it was working because I thought it was... Stupid debug mode...