Loading ...

adding to web.config in a web service?

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  advanced topics   » adding to web.config in a web service?

adding to web.config in a web service?

Posts under the topic: adding to web.config in a web service?

Posted: 11/11/2011

chubbypama
j w
Lurker 5  points  Lurker
  • Joined on: 11/11/2011
  • Posts: 1

hi there.

i have a little function that gets html data from an internal site.  when i was testing it as a regular web app, i just added the following section to my web.config file under the <configuration> section:

<setting><httpWebRequest useUnsafeHeaderParsing="true"></setting>

and it worked just fine.

now i've changed my test app to a web service.  i'm trying to add the same setting in my web.config but it doesn't like it.  i've tried adding to all  the different sections but it doesn't seem to like it. 

any suggestions would be appreciated

 


Page 1 of 1 (1 items)