.NET Framework Bookmark and Share   
 index > ASMX Web Services and XML Serialization > Adding Web Service Reference Fails
 

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
Ignus
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
Todd Foust
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
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.

Benny Pedersen

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

Tom Bowersox

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
  •  
kppraki
Thanks - "devenv /resetskippkg" did the trick for me!
MBCCS
Same for me, "devenv /resetskippkg" solved the problem.
gxelha
devenv /resetskippkgs - worked for me - thanks kppraki
SIlverback42
Very Good!
It's my problem's solution!
Anonymo3qetwf

Thanks

i fixed my problem with your method

andy-2007
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!

Pajesz
How do I do this in the express edition?
Josh K..._
http://blogs.msdn.com/astebner/archive/2005/11/11/491924.aspx

maybe using vwdexpress.exe /resetskippkgs

will work... check out the link
cinstress

It worked for me also.

Thank you kpprack.

ion.lamasanu
Worked Brilliantly for me

Thank you kpprack
Phillip Wilkie
devenv /resetskippkgs - worked for me - thanks kppraki
benitora
Very useful, Thanks kppraki
ALB33129
It worked for me too. Thank you for your solution :)
madasty
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
Lieven Boving

You can use google to search for other answers

Custom Search

More Threads

• Control the XML using HTTP POST NOT SOAP??
• Interesting Web Simulation
• Question about Adding web reference
• setting up admin error for personal web site
• Proxy Authentication Required while using Java web service
• Serialization of classes with automatic keyref
• adding web reference throws m_safeCertContext is an invalid handle
• bidirectional communication using WCF
• Client found response content type of 'text/plain', but expected 'text/xml'.
• Problem adding Web Reference in Visual Studio