So you compile it using the WebService1 name and then you change the name to
WebService2 and you try to access it in your browser using
http://localhost/WebService2 etc?
That won't work because IIS which handles these requests is still configured
to the old directory name. You should reconfigure your webserice in IIS too
(coontrol panel, administrative tools, Internet Information Services)
"mei xiao" <mx***@peerdirect.com> wrote in message
news:Of**************@TK2MSFTNGP10.phx.gbl...
Hi,
I have two files Service1.asmx, Service1.asmx.cs under WebService1
directory and I can compile it fine into a dll and put it into the bin directory,
but if I change the name of the directory into WebService2, then it won't
work. What is the problem? Thank you.
-May