Saturday, January 15, 2011

The current trust level does not allow use of the 'debug' attribute

When testing your webservice, you might encounter an "The current trust level does not allow use of the 'debug' attribute" error, to solve the problem open the web.config file and add/change the trust level as follows:
<system.web>  
   <trust level="Full"/>
</system.web>

Finally, rebuild the project.

No comments:

Post a Comment