Can any one explain with the example how to capture the
application error in Aplication_Error() method?



Can any one explain with the example how to capture the application error in Aplication_Error() me..

Answer / shalini kondapalli

httpServerUtility.GetLastError()

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Explain how cookies work. Give an example of cookie abuse.

0 Answers  


Is web config mandatory?

0 Answers  


What is server objects in asp.net?

5 Answers  


You need to be able to retrieve data from DataSet object that has four DataTable objects. There are currently UniqueConstraint and ForeignKeyConstraint Object on the DataTable objects to enforce the data rules. You find that you can retrieve the data from the individual DataTable objects, but you are not able to retrieve the data from the combination of DataTable objects in a Parent/Child manner. What should you do to able to retrieve the data in a Parent/Child manner? a) Set the EnforceParentChild parameter of the DataSet to True. b) Set the EnforceRelation parameter of the Relations collection to True. c) Add DataRelation objects to the Relations Collection to make the DataSet present the data in Parent/Child manner. d) Add a primary key and a foreign key to each of the DataTable objects that should present the data in a Parent/Child manner.

1 Answers   Syntax Softtech,


What is the Global.asax used for?

7 Answers   Siebel Systems,






How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File.

3 Answers   Consagous, Phoenix Technologies,


What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?

0 Answers  


Is asp.net easy to learn?

0 Answers  


Asp.Net Source :- In my project i have gridview control - item template. Its have asp:button control. my requirement is while click this button i need to display some alert message. Could you please help me which gridview event i need to write source code? Please give me a quick response. Thanks

6 Answers  


What is the difference between session and viewstate?

0 Answers  


Explain what a diffgram is, and a good use for one?

1 Answers  


In which event are the controls fully loaded?

0 Answers  


Categories