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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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 …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 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