Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Debugging an Exception - ToString()?
Message
From
10/11/2009 08:04:04
 
 
To
All
General information
Forum:
ASP.NET
Category:
Testing and debugging
Title:
Debugging an Exception - ToString()?
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01433972
Message ID:
01433972
Views:
88
Hi,

I am investigating the CSLA Silverlight framework and have downloaded and installed and built everything as described. When I run the InventoryDemo I am getting this error when I click on the Products (or Warehouses or Customers) button:

DataPortal.Fetch failed (The type initializer for 'InvDal.MockDb' threw an exception.)

Now I am very new to this whole VS .NET C# thing so debugging this is proving to be a problem. I have been told:

If you get the exception, just do a ToString() on it - that'll get you the stack trace.

So, can anybody explain to me how I do this, please?

Thanks
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Reply
Map
View

Click here to load this message in the networking platform