Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Comments
[no name] 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!
[no name] 1-Jun-13 19:11pm    
Spam removed.

1 solution

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.
 
Share this answer
 

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


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900