Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving SQL Errors
Message
 
To
21/08/2007 11:51:04
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01249398
Message ID:
01249501
Views:
15
Jeff,

>Occasionally, I will get an error when saving a business object. There are no broken rules. When I trace through, it turns out that SQL threw the error and MM "handled" it for me. When I get the RulesNotPassed returned value, how can I check to see what the error message is from SQL Server?

You can check the business object's Exception property.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform