lundi 12 janvier 2015

Unable to download .exe from SharePoint 2013 programmatically



We have a web application which allow users to download documents from SharePoint. Recently we have received a requirement to enable downloading .exe file. But on clientContext.ExecuteQuery(); I am getting following error. Moreover, while retrieving file extension is coming as aspx instead of .exe.



FileUrl: http://domainname/Shared Documents/Forms/DispForm.aspx?ID=14394


Error


Access denied. You do not have permission to perform this action or access this resource.


Can anyone please suggest me how we can enable users to download .exe files directly using web application.








0 commentaires:

Enregistrer un commentaire