a different web.config gets executed

S

Sammy

I have .Text running on a Windows 2003 Server website, and a WebService
project running on the same website, but in a virtual directory created
under the website. Whenever I try to call the asmx file of the WebService,
the web.config on the site's root (which is .Text's) is the one that gets
executed. Why is this? How can I avoid it?

Is it actually a good practice to expose your webservice via the same
website that your application resides on, or should I typically create
another website where the webservices are?

Thank you
Sammy
 
S

Sammy

First of all, I'd like to thank you for your detailed answer.
The WebApplication is actually a blog server. The WebService allows users to
blog by calling APIs. So I guess, in answer to your quesion, the
WebApplication does not consume the WebService.
Does this mean that I should, as you say, "incorporate the entire service
into my webapplication"? What do you mean by that/how can I do that?

Thanks!
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top