473,385 Members | 1,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

debbugging in iis - serving outdated pages

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
Jun 12 '07 #1
1 1077
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
Jun 12 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: -[ CaMeL ]- a55m0nk | last post by:
Hi there i am creating a clan website in ASP and am making a page serving script a link sends a query to the default page and then serves the page by grabbing the HTML from a database that...
5
by: Alan | last post by:
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are all it serves. I need to upload a list to it - a big, plain text list in html. A 2Mb list! With gzip compress, it comes...
23
by: Carter Smith | last post by:
http://www.icarusindie.com/Literature/ebooks/ Rather than advocating wasting money on expensive books for beginners, here's my collection of ebooks that have been made freely available on-line...
0
by: jack | last post by:
I am getting this error on my web server runnint ASP.NET on Windows 2003, it kills the serving web pages. The only way to get the web pages to start serving is to restart the server. I can't find...
2
by: Jim Stools | last post by:
Server 2000 IIS 5 The server stopped serving pages on all the web sites: The Following error message: The page cannot be found HTTP 404 - File not found Internet Information Services
18
by: Joe (MCAD) | last post by:
Hi all, I just wanted to hear other peoples opinion with regards to how/if outdated ASP.NET is. ASP.NET (and ASP.net 2.0) is based on framework from 2000. It was a great stride forward at that...
15
by: Zhang Weiwu | last post by:
http://www.w3.org/MarkUp/2004/xhtml-faq provided a trick to serve xhtml webpage to IE as application/xml I used that trick and now every one of my xhtml webpage have following first 4 starting...
9
by: -Lost | last post by:
In Firefox and Safari for example, if I serve my XHTML documents as application/xml or xhtml+xml they only display the top inch or so of the document. In Opera it says "object has been blocked."...
2
by: plenty900 | last post by:
Hi folks, If 2 copies of Apache are serving the same pages and running the same PHP, what if anything could get messed up? I am specifically thinking session variables might, but I know I don't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.