Build Error while debugging ASP.NET 2.0 Web services on IIS due to Trust Level

L

L. Liu

Hi there,

I have encountered an asp.net runtime error as I would like to debug a
ASP.net 2.0 web service on IIS. I have developed the Web services within
Visual Studio 2005 by using the integrated development web server of VS.
Everything worked fine until I tried to debug the the web service on the
local IIS server. I got all the time the error message in Visual studio
while building the web service project:

Error 19 C:\BookService.asmx: ASP.NET runtime error: The current trust level
does not allow use of the 'debug' attribute C:\BookService.asmx 1 1
http://localhost/BookService/

Has anyone also seen this error messeg before? Any help will be greatly
appreciated!

Thanks!

Cheers,
-Liu
 

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
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top