i want to download this excel file i get this error
The resource cannot be found.
Description:HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed,
or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL:/Attachment/_Attachment_Copy of L.S.T. Medical Consultancy Co. Ltd. - Medical Services Pricelist(38242)
my file name is
_Attachment_Copy of L.S.T. Medical Consultancy Co. Ltd. - Medical Services Pricelist(38242)
And it is served from a controller ? Your controller is checking if the file is found and returns a 404 otherwise? How does it check which extension is used (ie xls, xslx, xlsm or whatever ? this is you which posted about finding files without knowing their
exact full name ?)
Description:HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed,
or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
According to your description, the path of your resource is incorrect, that may cause the error.
I suggest that you could check if the path in your code is right.
If the path is correct and there still exists the issue, please provide the related code so that it will be easier to help with you.
Best Regards,
Jenifer
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
75 Points
513 Posts
download excel file get error
Jul 03, 2019 08:21 AM|zhyanadil.it@gmail.com|LINK
i want to download this excel file i get this error
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Attachment/_Attachment_Copy of L.S.T. Medical Consultancy Co. Ltd. - Medical Services Pricelist(38242)
my file name is
_Attachment_Copy of L.S.T. Medical Consultancy Co. Ltd. - Medical Services Pricelist(38242)
All-Star
48490 Points
18070 Posts
Re: download excel file get error
Jul 03, 2019 09:05 AM|PatriceSc|LINK
Hi,
And it is served from a controller ? Your controller is checking if the file is found and returns a 404 otherwise? How does it check which extension is used (ie xls, xslx, xlsm or whatever ? this is you which posted about finding files without knowing their exact full name ?)
Contributor
2150 Points
705 Posts
Re: download excel file get error
Jul 04, 2019 02:36 AM|Jenifer Jiang|LINK
Hi zhyanadil.it@gmail.com,
According to your description, the path of your resource is incorrect, that may cause the error.
I suggest that you could check if the path in your code is right.
If the path is correct and there still exists the issue, please provide the related code so that it will be easier to help with you.
Best Regards,
Jenifer
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.