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
 WCF interview questions  WCF 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
 
Is it possible to add aspx.vb file in to C# Web Project? If so how can i use the vb file in the C# Web project?  3
what is the differance between .DLL & .EXE Infinite-Computer-Solutions9
I have around 200+ controls in a page. Each of the sets of controls are kept in divs and when header div is clicked, only those div controls pertaining to that header div will be displayed. Rest of the divs are kept invisible. When the page loads, all these 200+ controls are loaded simultaneously, that consumes much of the time. What my requirement is I want to get the div1 controls loaded when the page loads and rest of the div controls should be loaded asynchronously. it should not be loaded with page load, so that time for loading the page can be much minimised. Hope u understood my question and pls help me out with a solution asap....  2
When should we use abtract class and Interface Class?Give an Example Cap-Gemini4
Tell About Web.config ? Keane-India-Ltd2
How does the regular expression validator work? What are two situations when you might want to use one?  2
Define an assembly?  6
What is operator overloading in dotnet  1
what are partial classes and their use? Patni1
what is diffrent between asp & asp.net  2
What is Assembly? Inspira-Technologies3
What is runtime host ? Digital-GlobalSoft2
What is the differances between a abstract calss and interface Patni2
what is manifest? Microsoft3
When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade.. Allsec-Technologies3
Which class provides methods that can be used to manage role membership to be used in user authorization? Wipro3
I have a datagrid of 10 rows and I am updating the fifth row using template column edit. How wil u know that the row is updated, so that it can be send to database for updating the respective table?  3
In asp.net, if a webpage seems too slow to load completely in th ebrowser. In this case what are the checkings or actions you will take to rectify the slowness or which are the factors related to this issue? How we can trace it?  3
What is JIT, what are types of JITS and their purpose ? Infosys3
I create small website, i want accept all the browser this website? what will do?  1
 
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 © 2009  ALLInterview.com.  All Rights Reserved.

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