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

G

Guest

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
 

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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top