Server Error in Application

Tips submitted by ASP.NET Maker users

Server Error in Application

Postby jcrick » Thu Jun 09, 2016 6:48 pm

Whilst this error message gives some information it is not that helpful.

But if you get something that indicates a database issue. e.g.
String or binary data would be truncated.

Try running SQL profiler, run a trace and then run your app up to the point of where it fails, checl the profiler timestamps, run the app where it fails, then see in SQL profiler the subsequent trace to find some clues.

The INSERT statement can be cut and pasted into SSMS and run it - then debug that to find the error.

Worked for me....

Posts: 16
Joined: Tue Mar 18, 2014 10:26 pm

Return to User Submited Tips (ASP.NET Maker)