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                      
tip   SiteMap shows list of All Categories in this site.
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
Asp.net - How to find last error which occurred?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Asp.net - How to find last error which occurred?
Answer
# 1
Exception LastError;
String ErrMessage;
LastError = Server.GetLastError();
if (LastError != null)
ErrMessage = LastError.Message;
else
ErrMessage = "No Errors";
Response.Write("Last Error = " + ErrMessage);
 
Is This Answer Correct ?    7 Yes 0 No
P.ramakrishna
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
version information is mentioned in which file AG-Technologies3
Types of caching. How to implement caching? Microsoft2
What is session tracking & methods? C-Squared-Systems3
what r the Templeats in ASP.net? Intel5
what are the ways to improve performance in .net application? Mind-Tree3
what if we delete web.config or machine.config? will a website work if we delete webconfig....or if we delete machine config? TCS2
what are the events in ASP.net page life cycle?  1
What is the use of location tag in web.config file Karur-Vysya-Bank-KVB1
What is difference between machine.config and Web.Config? Accenture3
Which keyword you should use for class not to extend? Which keyword to be used for making the class accessible within the assembly only what are the authentication mode of ASP.NET How will you call a JavaScript function using code-behind? How will you define the Session Timeout? What are the methods to validate client-side whether the input is a correct Date format? You want to write a log when ASP.NET application starts. Which is the best place to write that peice of code? What are the page load events and what is there order? What is the difference between abstract class and interface? What are the differences between DataSet and DataReader? What are the two properties other than DataSource, which is required to populate the Drop Down Menu? What is difference between String and StringBuilder Classes? What are differences between Custom control and User control? Ignis-Technologies1
What is custom control. What is the difference between custom control and user control ? Microsoft1
Explain Factory pattern? Microsoft1
what is COM Object in Dot net? CTS2
How can we prevent an aspx page get refreshed when any information fetch from the database ? Minecode2
Interface have Default Modifier Is 'Public'.Where We Will Use The KeyWord In Interface? Phoenix-Technologies3
please can any describe 'Master Page' in ASP.Net 2.0  3
write a sample code make use of xmltext writer GCI1
any body help me. Is it possible to convert text in gif images into word document with the same text? thanks in advance.  2
what is caching  3
can u create two Primary key for a table? --Sivaa BirlaSoft8
 
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