I assume that you found the way to do it web.config.
if not there is the section
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to insert debugging symbols (.pdb
information)
into the compiled page. Because this creates a larger file that
executes
more slowly, you should set this value to true only when debugging
and to
false at all other times. For more information, refer to the
documentation about
debugging ASP.NET files.
-->
<compilation defaultLanguage="vb" debug="true" />
for debugging.
and
<customErrors mode="RemoteOnly" />
these may be what you were wanting.
HTH,
shane
"Billy Cormic" <bi**********@hotmail.com> wrote in message
news:dd**************************@posting.google.c om...
Yeah. Thanks.
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:<uo**************@TK2MSFTNGP11.phx.gbl>...
do you mean turning off trace and debug?
Yes they are both setting in web.config.
"Billy Cormic" <bi**********@hotmail.com> wrote in message
news:dd*************************@posting.google.co m... Hello,
Is there a way to prevent people from viewing my source code on the
web? Is it a setting in the web.config file?
Thanks,
Billy