Exception when updating a Windows Communication Foundation service reference

Posted Tuesday, December 19, 2006 3:02 PM by Maurice
While working with WCF and updating a service reference you may see the very informative error: Exception from HRESULT: 0x80041001
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!
 
Filed under: , ,

Comments

# re: Exception when updating a Windows Communication Foundation service reference

Tuesday, March 27, 2007 6:16 PM by Johny

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.

# re: Exception when updating a Windows Communication Foundation service reference

Wednesday, June 13, 2007 5:42 AM by Radovan

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 Comment

(required) 
(required) 
(optional)
(required)