Click here to Skip to main content
Rate this: bad
good
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.
Thanks!
Posted 1-Jun-13 3:55am
Comments
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
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 304
1 Maciej Los 285
2 Sergey Alexandrovich Kryukov 230
3 Shweta N Mishra 186
4 Aajmot Sk 153
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 2 Jun 2013
Copyright © CodeProject, 1999-2014
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