Re: Build Error while debugging ASP.net 2.0 Web Service on IIS
- From: Dominick Baier [DevelopMentor] <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 3 Mar 2006 12:03:09 +0000 (UTC)
Hi,
your IIS server is configured for partial trust - this can be set using the
<trust level="xxx" /> config element.
There must be a reason for this setting - you should check that - it is not restricted by default
give it a try and add the following to your web.config:
<trust level="Full" />
does this change the behavior or does it trigger another error message that you are not allowed to change the trust level??
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
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
.
- Follow-Ups:
- References:
- Prev by Date: Build Error while debugging ASP.net 2.0 Web Service on IIS
- Next by Date: Re: XML Webservice authentication
- Previous by thread: Build Error while debugging ASP.net 2.0 Web Service on IIS
- Next by thread: Re: Build Error while debugging ASP.net 2.0 Web Service on IIS
- Index(es):
Relevant Pages
|
|