So, I was using Visual Studio 2010 the other day to create a new web-service, when I was presented with the following error message…
Could not find file ‘c:\Program Files (x86)\ Microsoft Visual Studio 10.0\ Common7\ IDE\ ItemTemplatesCache\ CSharp\ Web\ 1033\ WebService.zip\ WebService.asmx’.
I tried adding the web-service a couple of times but every time I pressed the ‘Add’ button it would present the above error.
So, I looked at the location stated in the error message and sure enough, there was no WebService.asmx at that location…
What I found interesting was that the path contained the word ‘cache’, which to me implied the master/install location containing the missing file would be somewhere else on the computer.
So, I had a quick search and found a WebService.Zip in the folder shown below.
I opened up the zip file – it contained the illusive WebService.asmx – so I copied it into the folder mentioned in the error message and hey-presto, it solved the problem!
So, if you ever get this error message then try copying the file from the master/install zip file and see if it fixes your problem. If it does then let me know!
Nice Article..