Exception when updating a Windows Communication Foundation service reference

While working with WCF and updating a service reference you may see the very informative error: Exception from HRESULT: 0×80041001
Now I don’t know every possible cause but in my case it occurred because I had the generated service file open and it was marked as modified. Closing the file was all that was needed to fix the problem once I realized what was causing it.

 

Good luck with WCF!

 


2 thoughts on “Exception when updating a Windows Communication Foundation service reference

  1. Thanks, this was very helpful. I was getting the error from time to time and stopped eventually using the update service option because I thought it was broken.

  2. I also sometimes get this error when updating service reference in the client. I solve this problem by closing solution in Visual Studio and open it again – then update is successful.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>