Solved

How is this possible?

Posted on 2010-11-10
3
277 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
ID: 34104074
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
ID: 34104892
Based on the code above, any idea why I'm getting a TargetException?
0
 
LVL 9

Expert Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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!
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

777 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