Solved

How is this possible?

Posted on 2010-11-10
3
269 Views
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
0
Comment
Question by:marketware
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
valkyrie_nc earned 500 total points
Comment Utility
You're only catching SystemException, and that's a TargetException.

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

hth

valkyrie_nc
0
 

Author Comment

by:marketware
Comment Utility
Based on the code above, any idea why I'm getting a TargetException?
0
 
LVL 9

Expert Comment

by:valkyrie_nc
Comment Utility
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.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

14 Experts available now in Live!

Get 1:1 Help Now