VS2010 Add Service Reference missing (Unable to add Service Reference)

十年热恋 提交于 2019-12-05 08:00:51

Work Around:

My work around, as posted in my bug report, was to create a new Windows user account on the machine (making sure not to have an apostrophe in the name). For whatever reason, this new account is able to add service references but the original still cannot.

(If somebody can post a solution that allows the original account to be able to add service references, I will change that answer to the selected answer.)

Same thing happened to me. My original account has an apostrophe, so I created a second DevUser account which works fine.

Davut Gürbüz

I finally solved , I realize that Extention Manager can't reach Online Gallery.Beside I could add a service reference in my domain. In my case this was an internet connection problem. I opened devenv.exe.config file and found the proxy it shows our tfs address,but I can't beleive that! How could it be? I commented it and everythings seems fine now.

here is the answer Cannot connect to any online resource

    <system.net>
        <defaultProxy enabled="true" useDefaultCredentials="true">
        <!--proxy bypassonlocal="True" proxyaddress="http://tfs.mycompany.com.tr:8080/tfs/productdevelopmentserverxxx"/-->
    </defaultProxy>
    <settings>
        <ipv6 enabled="true"/>
        <servicePointManager expect100Continue="false" />
    </settings>
    </system.net>

Also have a look at this

Be sure you are not in debug mode when you are trying to add the service reference! This one caught me!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!