Ask a questionAsk a question
 

LockedAdding Web Service Reference Fails

Locked

  • Tuesday, October 11, 2005 6:16 PMIgnus Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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

Answers

  • Tuesday, October 11, 2005 6:47 PMTodd FoustModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    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

All Replies

  • Tuesday, October 11, 2005 6:47 PMTodd FoustModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    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
  • Thursday, January 05, 2006 6:27 PMBenny Pedersen Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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.

  • Thursday, September 21, 2006 3:37 PMTom Bowersox Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    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

  • Monday, October 16, 2006 7:05 AMkppraki Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer

    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

     

    • Proposed As Answer bybenitora Wednesday, August 20, 2008 3:31 AM
    •  
  • Tuesday, April 17, 2007 8:19 PMMBCCS Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks - "devenv /resetskippkg" did the trick for me!
  • Monday, May 28, 2007 3:50 PMgxelha Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Same for me, "devenv /resetskippkg" solved the problem.
  • Thursday, June 21, 2007 3:23 PMSIlverback42 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    devenv /resetskippkgs - worked for me - thanks kppraki
  • Wednesday, July 11, 2007 7:56 AMAnonymo3qetwf Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Very Good!
    It's my problem's solution!
  • Wednesday, July 11, 2007 8:13 PMandy-2007 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks

    i fixed my problem with your method

  • Tuesday, August 14, 2007 2:25 PMPajesz Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
     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!

  • Friday, January 04, 2008 11:17 PMJosh K..._ Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    How do I do this in the express edition?
  • Tuesday, January 22, 2008 6:08 PMcinstress Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    http://blogs.msdn.com/astebner/archive/2005/11/11/491924.aspx

    maybe using vwdexpress.exe /resetskippkgs

    will work... check out the link
  • Friday, April 04, 2008 1:21 PMion.lamasanu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    It worked for me also.

    Thank you kpprack.

  • Monday, August 11, 2008 11:18 PMPhillip Wilkie Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Worked Brilliantly for me

    Thank you kpprack
  • Wednesday, August 20, 2008 3:32 AMbenitora Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
     devenv /resetskippkgs - worked for me - thanks kppraki
  • Wednesday, September 03, 2008 1:46 PMALB33129 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Very useful, Thanks kppraki
  • Wednesday, June 10, 2009 9:28 PMmadasty Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    It worked for me too. Thank you for your solution :)
  • Friday, September 11, 2009 9:17 AMLieven Boving Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks trick worked for me aswell but ...
    whenhaving 2 VS installed (like VS2008 and VS2005) on same machine it is better to parse command with the full path name:
    "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /resetskippkgs --> for VS2005
    LievenB