I have developed a web application in asp.net 2.0 with
Access as back end i am trying to gereate report/export
data in excel. After hosting the site i am not getting any
error or such exported excel file. but using the source
code from my system it works fine.
Could any one tell me why it is happening and what is its
solution.
Answers were Sorted based on User's Feedback
Answer / shrikant
Could you please let me know what error you are facing?
The most possible error while exporting data thru asp.net
is COM exception.
Use reflection to achieve this, whenever we use Microsoft
com component line MS-Excel we do code for any particular
version instead use generalize way for handling excel or
any other MS component.
Please refer:
http://www.codeproject.com/KB/cs/Simple_Excel_Automation.asp
x
http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?
ThreadID=49886
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / chetan singh
this problem is related to permission.just note you are
uploading excel file in Inetpub folder and which will not
allow you.So to solve this you need to give access
permission.If you are using XP then give permission to
ASPNET user and for windows 2000/2003 give permission to
Network services.
Is This Answer Correct ? | 2 Yes | 0 No |
What are the layouts of ASP.NET Pages?
What is the use Membership in asp.net? and What is the use profiler in asp.net?
What is the name of the base class that all web forms will be inherited?
What is the biggest disadvantage of “Other Return Types” in Web API?
What are the types of session in asp.net?
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
what does Page.IsValid in asp.net
6 Answers Infosys, Net Solution,
What Is ASPNET_WP.exe? What Is The Use Of It? In Which Place Inproc Session Stored ? Explain Session State ?
2 Answers Phoenix Technologies,
which method marks a config file section for encryption?
What are Session states available and its Uses?
What is clr? Difference between clr & cts?
What are query strings used for?