Last post Nov 04, 2014 04:37 AM by enzo1980
Nov 03, 2014 09:47 AM|enzo1980|LINK
I hava a problem with web service with Visual Studio 2008. I add my web service to my project using "Add Web Reference", then I click "GO" button. I can see web service method but I can't click "Add Reference" button because is disabiled. I find "Operation
is not valid due to the current state of the object." in "Web Service found at this URL" section.
I found this article http://forums.asp.net/t/1331361.aspx but it doesn't work.
Nov 04, 2014 03:29 AM|Shawn - MSFT|LINK
For this situation, you may try to add the following codes in the web.config:
<add key="aspnet:MaxHttpCollectionKeys" value="2000" />
For more information, you could refer to:
Nov 04, 2014 04:37 AM|enzo1980|LINK
thanks for yuor answer but it doesn't work. I solved in another way, I think it was a network connection problem because if I connect and then disconnect wi-fi connection "Add Reference" button is enabled.