Errorduring downloading a file (1 Viewer)

stevejhon

New member
Local time
Yesterday, 16:48
Joined
Oct 7, 2008
Messages
4
Hi,
I'm building a website using asp.net 2.0.
I wanna have a mechanism, so the users will be able to view a list of all the files in a specific folder on the server and download the files. I did it, but the problem is that when the client tries to open an htm file - the 'File Download' dialog opens, the client press 'open' and then en error appears: The resource cannot be found


For any other kind of file it works just fine, but only for htm files I'm getting that error, Unless the htm file is located under the application's root directory.
 

shazzmerc

New member
Local time
Yesterday, 16:48
Joined
Oct 13, 2008
Messages
1
Hi Steve,

I think the Shared_files folder is not Accessible by IIS, make sure the Shared_files directory's HTM files can individually be opened by Opening it from IIS.
Hope this helps you.

Regards;
shazz
 

Users who are viewing this thread

Top Bottom