Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

First chance exception

Posted on 2001-06-29
1
Medium Priority
?
808 Views
Last Modified: 2012-08-13
I recieve this error message when trying to run a program that is split into a server part and a client part. The client connects to an object at the server and at the first call to the object at the server I get this error message:
"A first chance exception of type 'System.InvalidOperationException' occurred in system.dll

Additional information: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly."

After I've got this error message the connection is working so there does not seam to a fatal error.

My question is what a "first chance exception" is.
0
Comment
Question by:MartinLithell
[X]
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
1 Comment
 
LVL 22

Accepted Solution

by:
CJ_S earned 150 total points
ID: 6240569
It is the first specialized exception that can be caught.

For example you should catch the DividedByZeroException before you catch the normal Exception.

Regards,
CJ
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

719 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