compile web service?

  • Thread starter Thread starter mei xiao
  • Start date Start date
M

mei xiao

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
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top