Solved

First chance exception

Posted on 2001-06-29
1
796 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Network Switch Connections 8 60
RRAS AND DNS 15 46
Disabling energy efficient ethernet on all hardware models 6 51
SBS Server 2011 does not recognize a PC as being Online 8 48
Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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