Solved

First chance exception

Posted on 2001-06-29
1
791 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
1 Comment
 
LVL 22

Accepted Solution

by:
CJ_S earned 50 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

19 Experts available now in Live!

Get 1:1 Help Now