How is this possible?

Posted on 2010-11-10
Last Modified: 2013-11-12
I am trying to get a list of appointments in Groupwise using the interop.Groupware DLL.  Here is a screenshot of what is happening.  How can I have an unhandled exception in a TRY block?

 Try block error
Question by:marketware
  • 2

Accepted Solution

valkyrie_nc earned 500 total points
ID: 34104074
You're only catching SystemException, and that's a TargetException.

// code here
catch (SystemException sysex)
// handle exception
catch (TargetException targex)
// handle exception
catch (Exception ex)
// should catch most of the rest



Author Comment

ID: 34104892
Based on the code above, any idea why I'm getting a TargetException?

Expert Comment

ID: 34105112
To be honest, I have no idea.  My google-fu is apparently weak when it comes to Novell Groupware 'cause I couldn't find anything on their site or on the 'tubes in general.  My guess, however, would be that the filter variable is of the wrong type.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Anyway to make "All" the default in the dropdown? 6 34
C# Json POSt to Rest API 4 38
ASP.NET 5 Templates 2 68
C# parent child form 5 19
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now