Click here to Skip to main content
11,634,815 members (67,950 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# WCF VisualStudio2012
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 2:55am
ThePhantomUpvoter at 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 at 1-Jun-13 21:53pm
OK~ Thank you! I check the code now!
Trevor30 at 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
0 OriginalGriff 8,736
1 Sergey Alexandrovich Kryukov 8,419
2 Mika Wendelius 6,845
3 F-ES Sitecore 2,354
4 Suvendu Shekhar Giri 2,205

Advertise | Privacy | Mobile
Web01 | 2.8.150728.1 | 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