Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Please Help
When i am clicking on export button getting this error
 
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Posted 23-May-12 2:55am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
This means that there was some exception which you failed to trap (probably you were not anticipating that scenario).
 
Put a Try-Catch block around the code line where the exception is being raised to track it. Handle the scenario such that exception does not happen or log the exception for tracking it in your catch block. Stack trace will help you to spot the line of code & method involved.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.150302.1 | Last Updated 23 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100