ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
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.
 Question Submitted By :: Rajesh
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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.
Answer
# 1
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
Shrikant
 
  Re: 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.
Answer
# 2
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 ?    1 Yes 0 No
Chetan Singh
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process Visual-Soft1
What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control? USi2
Can we Run the Application without Build Emphasis2
write a sample code make use of xmltext writer GCI1
I have a DataGrid in which two of the columns are editable...i want to update the backend table with the newly edited data of the datagrid. How to do this please help me. Wipro1
What?s the difference between Response.Write() andResponse.Output.Write()?  2
When web.config is called ? Keane-India-Ltd2
When is validation done on the client? How does client-side validation improve the efficiency of an application?  1
Difference between asp and asp.net ? Accenture3
why many web.config files are used in are project  2
What is session tracking & methods? C-Squared-Systems3
what is client-server architecture in .net? and what is 3-tier architecture?  1
Different type of validation controls in asp.net ? Keane-India-Ltd1
What is web.config. How many web.config files can be allowed to use in an application? Accenture5
Best Institute in india for online training (Dotnet/java/Tibco/Dwh/etc.....)  3
How do you create a permanent cookie?  2
How many types of session in asp.net2.0 HCL17
Way of updating a table other than stored procedure and hard coded query?  2
What is SOAP, UDDI and WSDL ? Infosys1
how can u display multi language (i.e english,spanish...) web site?  2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com