If I run in Visual studio the command works and the file is downloaded. If I run on the server I get this error
return File(path, "application/msexcel",trimmedPath);
If I copy that path into explorer it opens on the server
Could not find a part of the path 'r:\results\19262\19262-BA-T1\19262-BA-T1-19262-BA-T1-2_12_11_2014_32C_CST_8870.xlsx'.
|Files dragged into WordPress Media Library don't show up. 500 internal server error||10||53|
|Use System DSN||6||84|
|MVC5 App runs on development machine but gives HTTP 404.0 or 403.14 when deployed to http://w.x.y.z/Default Web Site/Application||4||95|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
28 Experts available now in Live!