问题
I get the below error when i try to export excel from web browser based lightswitch using office integration pack :
File Operation not permitted. Access is denied
Is there is any way to export the excel from the lightswitch running in the browser?
回答1:
It is not possible to use the Office Integration Pack in a browser based app. You will need to write custom code to write out a .csv
or an OpenXML Spreadsheet. Alternatively you could use SQL Server Reporting Services.
See this MSDN thread for more details.
来源:https://stackoverflow.com/questions/21646208/office-integration-pack-on-web-browser