Web Connection
Not able to Download file
Gravatar is a globally recognized avatar based on your email address. Not able to Download file
  Abhay Sobti
  All
  Apr 9, 2019 @ 07:47am

My application is using Excel.Application object to generate an XLS file and then use the Response.DownloadFile(cTempFile,"application/vnd.ms-excel") code to allow the file to be downloaded at the Client's browser.

Now the Client gets the response :

The file you requested on the server was not found.

from the application

Help

++ Abhay

Gravatar is a globally recognized avatar based on your email address. re: Not able to Download file
  Rick Strahl
  Abhay Sobti
  Apr 9, 2019 @ 12:11pm

Not sure but I would make sure that hte path you are actually sending is indeed pointing at a valid file. Check the filename in cTempFile and make sure it's actually what you think it is and that that file actually exists on disk.

+++ Rick ---

© 1996-2024