find a location for property in a new city

Monday 22 November 2010

Adding service reference gives the system cannot find the path specified error

I got an "The system cannot find the path specified." error box pop up when I tried to add a WCF web service reference to my web project. Problem with Service References?

Every time I tried to add the service reference to another WCF service I had set up in another web project I kept getting "The system cannot find the path specified." pop up in an alert box in Visual Studio 2010.

Solution

Somewhere along the line I had deleted the "Service References" folder from the project folder I was trying to add the reference to. It is simply solved by creating an new folder (in Windows Explorer) in the correct location called "Service References". Problem solved

Follow britishdev on Twitter

33 comments:

  1. thanx a lot!!

    ReplyDelete
  2. A big thanks for posting this update.

    ReplyDelete
  3. Thanks! A simple solution :)

    ReplyDelete
  4. It is simply solved by creating an new folder (in Windows Explorer) in the correct location called Service References. hostgator coupons

    ReplyDelete
    Replies
    1. Thank you for your help. It saved my life :)

      Delete
  5. Be that as it may, What Should Your Company Social Media Policy Really Say (Or Not Say)? social media networking

    ReplyDelete
  6. The system cannot find the path specified." pop up in an alert box in Visual Studio 2010. godaddy hosting coupons 2019

    ReplyDelete
  7. Thanks a lot!!! Also works for me...

    ReplyDelete
  8. Update for everyone who googles this in 2020: With Visual Studio 2019 the folder needs to be named "Connected Services", not "Service References"

    ReplyDelete
  9. One decade on, still a good tip!

    ReplyDelete
  10. Just saved me much time I'm sure, this all goes the same for the "Web References" folder

    ReplyDelete
  11. Thank you.. Really helped me a lot!

    ReplyDelete
  12. I want to kiss you.
    Kidding. Thanks a lot

    ReplyDelete
  13. Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer.
    asian clothes online uk ,
    ready made asian clothes uk

    ReplyDelete
  14. Now You can order medicine online lahore from medisense where you can buy all kind of medicine. Quick delivery.

    ReplyDelete
  15. Excellent read, Positive site, where did u come up with the information on this posting? I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work,If anyone interested similar one's have a look here thanks.

    shih tzu puppies for sale near me
    buy puppy online
    fuhrerschein-kaufen-schweiz

    ReplyDelete
  16. Thanks a lot! I had this issue with VS 2019 en VB on .NET 4.5. The creation of the folder solved the issue.

    ReplyDelete
  17. Wow. Over an hour on StackOverflow, half a dozen pointless Copilot prompts, and nothing worked until I found this. Visual Studio (as recent as 2022 preview) needs a bug fix or at least a better error message. Thanks!!!

    ReplyDelete