Cannot update WCF service reference for .NET 3.5 web site

0

I have a .Net 3.5 website and wcf service. Both use IIS 7 and I'm working in Visual Studio 2010. I'm trying to update the service reference but I'm getting the following error:

Failed to update Service Reference 'MyServiceReference.Reference'. Error: The configuration for the service reference could not be updated due to the following issue: An error occurred executing the configuration section handler for system.serviceModel/bindings.(0x80131902)

I can't seem to find anybody with the same error. Please help or let me know if there is any more information I can provide to help!

.net
wcf
web-services
iis
.net-3.5
asked on Stack Overflow Oct 8, 2013 by faedra • edited Oct 10, 2013 by faedra

3 Answers

1

Sometimes works if you close VS and try to update again or try right click on the service click on Configure Service Reference

Try to change the url or check the url next click OK

Sometimes works if you add again the service reference.

answered on Stack Overflow Oct 9, 2013 by J Vazquez
0

Answer: recycle the app pool hosting the service in IIS 7

Thank you for the responses! A colleague gave me the idea to recycle the app pool hosting the service in IIS 7 and the problem went away.

answered on Stack Overflow Oct 10, 2013 by faedra
0

Rename the Service Reference, then rename back to original name, then try Update Service Reference again. This worked for me.

answered on Stack Overflow Jun 26, 2014 by pete r

User contributions licensed under CC BY-SA 3.0