Adding Web Service Reference Fails
Locked
- 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
- 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
- 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 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.
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 Bowersoxhi,
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
- Thanks - "devenv /resetskippkg" did the trick for me!
- Same for me, "devenv /resetskippkg" solved the problem.
- devenv /resetskippkgs - worked for me - thanks kppraki
- Very Good!
It's my problem's solution! Thanks
i fixed my problem with your method
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

hurray!!!!!
hope this works for you also.
cheers
PrakashThanks!
- How do I do this in the express edition?
- http://blogs.msdn.com/astebner/archive/2005/11/11/491924.aspx
maybe using vwdexpress.exe /resetskippkgs
will work... check out the link It worked for me also.
Thank you kpprack.
- Worked Brilliantly for me
Thank you kpprack
- devenv /resetskippkgs - worked for me - thanks kppraki
- Very useful, Thanks kppraki
- It worked for me too. Thank you for your solution :)
- 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


