IIS not compiling code behind pages?

One of my clients asked for a change to their website so like I've done countless times in the past, I made the change, built it in my development environment and it worked and tested fine.  Move the code behind file to the production server and it continued to give me the old behavior.  

After a lot of testing and debugging, I discovered that the new file doesn't look like it's getting compiled.  I looked at the event log and no errors are being generated.  I restarted IIS and then rebooted the server just for grins.  Nothing has worked.

Any ideas?
LVL 2
Matt1705Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

meverestCommented:
Hi,

is asp installed on the server?  Try downloading the latest .net version from www.asp.net and reinstall.

Cheers.
0
Matt1705Author Commented:
Thanks for the sugesstion, meverest, but it didn't work.  I uninstalled both sp1 and the base install of 2.0 and then reinstalled with no change.  I'm beginning to think this is solely an IIS problem.  Any more suggestions?
0
meverestCommented:
try running "aspnet_ regiis -i" at a cmd shell.

check the application settings on your web site:  right click web site->properties->home directory.  If you can click 'create', do so and apply.  Otherwise click 'configure' and make sure that there is a file extension mapping for your asp files.

(what file extension are you using?  asp?  aspx? something else?)

Cheers.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Matt1705Author Commented:
The files that are having problems have aspx.cs extentions.  I can make changes to .aspx files and they display fine.  I renamed one of aspx.cs files this morning and the page still renders in the browser and the back end code runs even without the file.  I should have gotten an error.  This says to me that the code is cached by IIS and isn't getting updated for some reason.
0
meverestCommented:
OK, so the cs files are supposed to be executed at runtime I guess?  Try setting 'execute permissions' (web site properties->home directory) to 'scripts and executables'.

Cheers.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.