Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

debbugging in iis - serving outdated pages

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stephan Steiner - 12 Jun 2007 13:59 GMT
Hi

So far, I've always been debugging my ASPX pages using the ASP.NET
development server within Visual Studio, and then when everything worked
out, deployed the aplication on a remote IIS (running on Win2003). A few
times, I made some changes in the .cs files on the webserver as well, and
those were taken into account immediately.

Now I've had to write an application that returns XML to be displayed on a
phone. I've tested as much as possible using the ASP.NET development server
and my browser, and now it's time to test it on the phone. Naturally it
doesn't work right away and that's the point where I figured out the
development server doesn't allow remote connections. So I created a new
project, created a new virtual directory on the IIS on my development box
(WinXP) and pointed it to the directory where my existing application
resides. After adjusting the IIS security settings, I'm now able to debug
via IIS. However, when I make any code changes and try to debug the file,
the breakpoint doesn't hit, VS tells me the code in the editor doesn't match
the deployed code, and looking at the output in the browser, I can see that
IIS still serves the old content. I even went as far as to restart the IIS,
and it still serves the old content.

IIRC, that's what drove me to using JSP for those phone apps a few years
back (there debugging more or less works out as I like it.. although
Netbeans doesn't hold a candle to VS) - but I'm convinced there must be a
way. After all, if I make change a line on a .cs file on one of our
productive servers, the next time somebody accesses the corresponding page,
he gets to see the change I made.

Any insight into this behavior and to correct it wold be much appreciated.
Regards
Stephan
Stephan Steiner - 12 Jun 2007 14:56 GMT
Hmm, it seems I figured out at least a workaround.. if I compile my original
project (running on the ASP.NET Dev server), then the updated pages will
show up on IIS as well. I still don't quite get how one would influence the
other.

Regards
Stephan

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.