Edit code behind probs

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
 
B

bruce barker

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)
 

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,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top