Adding Web Service Reference Fails

I have a web service (just the plain Hello World example).  I test it with IE and it works fine.  I create a WInforms application and try to add a reference to the web service from the new application.  I get the following error:
The web services enumeration components are not available.  You need to reinstall Visual Studio to add web references to your application. 

So that sounds easy to do.  Do the install again but without any success. 

Does anybody have an idea what I need to do to fix this

Thanks
Ignus


Answer this question

Adding Web Service Reference Fails

  • Evan Haklar

    I have the same problem, and nothing seems to help (format C: might do the job). I haven't found a solution yet, but have an idea that the problem comes from a earlier installation of a C# express Beta version, which I belive I have uninstalled correctly, but maybe something isn't removed in registry.

    I have tryed uninstall of all related products, deleting all related files related to Visual Studio 8 and the same in registry under software and then reinstalled but still with no luck.

    Maybe somebody found a cure

    Benny

    Added:

    I found a cure. Uninstall all Visual Studio related products and run the program vs2005_beta_cleanup_tool.exe to clean the computer from beta stuff and then reinstall Visual Studio. That solved the problem and another problem with packaged that couldn't be loaded.



  • Brent Scott

    hi,

    on the command prompt (run) i typed in "devenv /resetskippkgs" , (without quotes)

    and it seemed to reinitlise the dev studio and then the prompt "The webservies enumeration..." went away :)

    hurray!!!!!

    hope this works for you also.

    cheers
    Prakash


  • progames25

    Same for me, "devenv /resetskippkg" solved the problem.

  • JOSE3007

    devenv /resetskippkgs - worked for me - thanks kppraki

  • SouthernPost

    kppraki wrote:

    hi,

    on the command prompt (run) i typed in "devenv /resetskippkgs" , (without quotes)

    and it seemed to reinitlise the dev studio and then the prompt "The webservies enumeration..." went away Smile

    hurray!!!!!

    hope this works for you also.

    cheers
    Prakash

    Thanks!


  • Aafiq

    How do I do this in the express edition

  • AndreasRohr

    Thanks - "devenv /resetskippkg" did the trick for me!
  • PaisleyBud

    Hello Ignus,

    Sounds like your installation is somehow corrupted. If you have any anti-virus software running, you should disable it during an uninstall and reinstall of VS.NET and the Framework.

    For quick solutions try the following

    1. Try to re-register mscoree.dll:
         Start -> Run -> "regsvr32 %windir%\system32\mscoree.dll" without quotes

    2. Review this article as well:
     
       318945 BUG: Visual Studio .NET and MSDN Files Corrupted during Installation
       http://support.microsoft.com/ id=318945

    Hope this helps

    -Todd Foust

  • HerbertHerbert

    http://blogs.msdn.com/astebner/archive/2005/11/11/491924.aspx

    maybe using vwdexpress.exe /resetskippkgs

    will work... check out the link

  • Brooks Brown

    I've uninstalled and re-installed this VS.NET at least 3 times, I've run the beta cleanup tool, and also ran another tool that checked for errors, and I'm still getting this error. I've also followed Todd's advice on the regsvr32, and it still gives me this same error message.

    Does anyone else have something I could try I don't really want to format c:, but I have a feeling this might be the last ditch solution for me to try.

    Thanks,
    Tom Bowersox


  • THIZAO

    Thanks

    i fixed my problem with your method


  • JGIS

    Very Good!
    It's my problem's solution!

  • Adding Web Service Reference Fails