How to Debug an Application

If you get errors when running your application, consider the following to determine the exact cause of the error:

If you are getting the data displayed, but you cannot save the data, most likely this is because your security settings for the application folder does not include Modify permissions for the ASPNET user.   If you have this problem, using Windows Explorer, navigate to the application folder, right-mouse click to launch the Properties dialog, go to the Security tab and add ASPNET user with modify (or full) permissions.  Make sure the permissions apply to all sub-folders and files.

Look in the Event Viewer on the machine.  Specifically look at the Application section.  If you see multiple errors or warnings within a short period of time, look at the first one to see the root cause.  Sometimes errors have a cascading impact, so always looking at the first one will give you information about the root cause.

Enable Tracing and Event Logging.  See Tracing and Event Logging for details.

See Also

Debugging Applications

Tracing and Event Logging

Debugging Database Errors

Debugging Inside Iron Speed Base Classes

Debugging with Visual Studio .NET

Testing Iron Speed Designer Applications