Click here to Skip to main content
16,015,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am trying to export data from dataset or datatable to excel and download it.This is working in my local machine but when i deployed the project to server side i am able to export and download the excel file when the user is logged in the server but couldnt perform the same operation when the user is logged out.

I have set the

identity impersonate="true" usernname="xxx" password="yyy"

also in web.config file
even though i couldnt export and download excel file.

so please help me.
Posted
Updated 28-Aug-13 20:05pm
v4
Comments
Prasad Khandekar 29-Aug-13 1:15am    
Hello Rahul,

Just follow this link (http://www.codeproject.com/search.aspx?q=excel+export&x=0&y=0&sbo=kw). It will present you with a list of nice articles and libraries elaborating how it can be done.

Regards,

1 solution

You could try to give full access to the required folder(read-write), to the user who runs through the application pool(Network Service?)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900