Click to See Complete Forum and Search --> : Page Refresh Issue


Scott.Macmaster
July 1st, 2008, 09:27 PM
I just setup a new web server to do some tests to determine what all I will need to do to upgrade existing pages from Visual Studio 2005 to Visual Studio 2008 and .NET 2 to .NET 3.5.

When I run the first page in Visual Studio 2008 everything works perfectly. However, after I copy the page to the web server and run it from there it doesn't. It appears that changes to the aspx take affect. However, code changes in aspx.vb aren't. I've commented all of Page_Load() and tried adding throw new Exception() as the first line to it. I've also tried dim value as integer = 4/0 as the first line. The page continues to fully work as if I changed nothing in the code file. I've gone through are the settings and can't find anything I should change. I've also checked the time on the server. The time is correct.

Does anyone have any idea what I need to change?


Thanks,

Scott.Macmaster
July 7th, 2008, 12:14 PM
Ok, I finally sorta' figured out what's going on. After copying the whole project folder out to the web server it resumed refreshing the code changes. Previously, I was just copying the .aspx and .aspx.vb files.

This is the first time I used the web project option. Previously, I've used the website option for creating web pages. Appearantly, deployment is different for this.

I doubt I need to copy the whole project folder to the web server to do a proper deployment. Could someone tell me what file need deployed.


Thanks,