Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



I have developed a web application in asp.net 2.0 with Access as back end i am trying to gereate r..

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

I have developed a web application in asp.net 2.0 with Access as back end i am trying to gereate r..

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

Post New Answer

More ASP.NET Interview Questions

What is ispostback method in asp.net? Why do we use that?

0 Answers  


What is redirectpermanent in asp.net?

0 Answers  


What is scope of an application variable in asp.net?

0 Answers  


what is client back feauture ?

1 Answers  


Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?

0 Answers   MCN Solutions,


What is strong name and which tool is used for this ?

3 Answers   Patni,


3. What goals do you have in your career?

0 Answers   Swatz Oils,


what is CLR?

3 Answers   PrimeLine,


what is webpart? what r the parts in this webpart (zone)

2 Answers  


what is the difference between console.writeline &console.output.writeline?

2 Answers  


what is webservices ? and what is web server ?

1 Answers   Wipro,


How does Garbage collector(GC) works in .net

14 Answers   Accenture, HCL, Kekran Mekran, People Tech, Wipro,


Categories