Click here to Skip to main content
11,924,800 members (56,374 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# WCF VS2012
Hi, there!
I am the new guy on WCF. These days, I'am learning that.
I made a empty solution, and this solution contains 4 projects: two c# libs, and two consoles as host and client. the programs ran well, but when client started after host, it raise this info in debug output window: "A first chance exception of type: System.IO.IOException occurred in mscorlib.dll"
But, the program looks well and get the right answer, so I want to know what this problem means.
Posted 1-Jun-13 3:55am
ThePhantomUpvoter 1-Jun-13 9:21am
It simply means that you tried an IO operation that could not be performed and caused an exception. The inner exception would probably be more informative.
freeheartxiii 1-Jun-13 21:53pm
OK~ Thank you! I check the code now!
Trevor30 1-Jun-13 19:11pm
Spam removed.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Actually, I will almost bet that while this is the exception that was caught that it is not the problem. You could catch and handle this and ignore it, but you need to find the underlying cause. Check your output, and do a try catch on the block that you suspect. Print out the exception in a message box so that you can get a better feel for what is occuring.

I hit this type of exception sometimes only to find out that it is another result of action causing the fire.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151125.3 | Last Updated 2 Jun 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100