Tuesday, September 14, 2010
Yesterday, I got the error message “operation is not valid due to the current state of the object“ when I was adding web reference in my project. So, I decided to share with you.
There are several reasons
- Is your web service running?
- Something wrong in your URL
- You have also put web service assembly into your server Global Assembly Cache.
- Restart your IIS
If you have more solution, post here to share with us.