Re: view source
From: SStory (TheStorys_at_TAKEOUTTHISSPAMBUSTERsofthome.net)
Date: 08/09/04
- Next message: SStory: "Re: Setup and Deployment"
- Previous message: Jeff Johnson [MVP: VB]: "Re: I use it in a MDIChild form ............"
- In reply to: Billy Cormic: "Re: view source"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 9 Aug 2004 15:55:44 -0500
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" <billy_cormic@hotmail.com> wrote in message
news:dd2f7565.0408071121.35bd86a0@posting.google.com...
> Yeah. Thanks.
>
> "SStory" <TheStorys@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:<uoIRhA#eEHA.2896@TK2MSFTNGP11.phx.gbl>...
> > do you mean turning off trace and debug?
> >
> > Yes they are both setting in web.config.
> > "Billy Cormic" <billy_cormic@hotmail.com> wrote in message
> > news:dd2f7565.0408060749.e1a7492@posting.google.com...
> > > 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
- Next message: SStory: "Re: Setup and Deployment"
- Previous message: Jeff Johnson [MVP: VB]: "Re: I use it in a MDIChild form ............"
- In reply to: Billy Cormic: "Re: view source"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|