Edit code behind probs

  • Thread starter Thread starter Poppy
  • Start date Start date
P

Poppy

I copied my site onto a live server and found that I was having trouble with
my SMTP mail.

I opened the code behind page of the email page in Notepad (on the server)
and commented out a large chunk of code.

When I saved the page and tried to run the site the site ran as normal, as
if the changes never occured.

Can someone explain this to me please ?

Thanks in Advance
 
if your using VS, then the code behind pages are built into a dll that the
asp.net pages reference. editing them has no impact, you need to rebuilt the
dll and redeploy it.

if your not using VS (using @Page Src=) then you probably are not using
ntfs, and you have to reset the site manually.

-- bruce (sqlwork.com)
 
Back
Top