Web.Config Changes dont happen

  • Thread starter Web Team @ Borough of Poole
  • Start date
W

Web Team @ Borough of Poole

Hi,

I am trying to create a new web service. In VS.Net 2003, I create a
fresh project using the web service template. I start with the hello
world example, un comment the relevent code, so I am left with:

<WebMethod()> _
Public Function HelloWorld() As String
Return "Hello World"
End Function

I then build it, and view service1.asmx in a browser, and I get the
standard error, advising me to turn off custom errors. So I do as it
says, and change my web.config file to read:

<customErrors mode="Off" />

I then tried again, and I keep getting the same standard error,
advising me to turn of customerrors.

I have a working web service which I built some time back, in the same
way on the same server.

I have recently installed WSE 2.0 (Web Service Enhancements) - Could
this be the problem? I thought these only took effect if you switched
them on?

Help! :-(
 

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
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top