The application's configuration files must contain 'trust' section

Discussion in 'ASP .Net' started by =?Utf-8?B?U2F0aXNoIEJhYnUgRGFzYXJp?=, Jan 11, 2006.

  1. HI,

    I have created Webservice project in Visual Studio 2005, by default it is
    created the Service.asmx file with the code as

    [WebMethod]
    public string HelloWorld() {
    return "Hello World";
    }

    I tried to build this project, but it is giving compilation error
    "The application's configuration files must contain 'trust' section."

    Please send me the solution how to solve this problem.

    Thank s in advance.

    Regards
    Satish
    =?Utf-8?B?U2F0aXNoIEJhYnUgRGFzYXJp?=, Jan 11, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    963
  2. Satish Babu Dasari

    The application's configuration files must contain 'trust' section

    Satish Babu Dasari, Jan 11, 2006, in forum: ASP .Net Security
    Replies:
    2
    Views:
    304
    Satish Babu Dasari
    Jan 11, 2006
  3. Bob

    config files must contain trust section

    Bob, Dec 5, 2006, in forum: ASP .Net Security
    Replies:
    0
    Views:
    117
  4. Satish Babu Dasari

    The application's configuration files must contain 'trust' section

    Satish Babu Dasari, Jan 11, 2006, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    115
    Emmanuel DURAND
    Jan 11, 2006
  5. Jason Carlton
    Replies:
    11
    Views:
    236
    Dr J R Stockton
    Dec 8, 2009
Loading...

Share This Page