vcplearner
Programmer
Hi Everyone,
I have a simple ASP.NET code that lists all the .txt and .dat files in a directory with links. On clicking one of the links, it simple opens the file through the browser.
For e.g., if we click on a file called sample.txt, it opens up the link where the url is the exact path.
Now, I am able to display the .txt files without any problems. But when it is the .dat file, the link fails, with "page not found".
I ve verified the path and also the .dat files are not corrupt as I am able to open with wordpad and read.
I also tried to browse the .dat file, through IIS 6.0, and get the same error.
Any inputs in this regards? is it that it may be trying to download the file and hit upon some permisson problem?
Thanks in advance.
I have a simple ASP.NET code that lists all the .txt and .dat files in a directory with links. On clicking one of the links, it simple opens the file through the browser.
For e.g., if we click on a file called sample.txt, it opens up the link where the url is the exact path.
Now, I am able to display the .txt files without any problems. But when it is the .dat file, the link fails, with "page not found".
I ve verified the path and also the .dat files are not corrupt as I am able to open with wordpad and read.
I also tried to browse the .dat file, through IIS 6.0, and get the same error.
Any inputs in this regards? is it that it may be trying to download the file and hit upon some permisson problem?
Thanks in advance.