Ok. I am assuming here, but I think this is why you can't get this to work.
In the intro chapter Christian and Jamie have you configure IIS and your hosts file so that you access the site through
http://seoasp/
What I imagine you are doing is accessing the site through VWD so that you have a url that looks like http://localhost:xxxx/<mysite>/ and I imagine that you have your rewrite rule something like:
<rewrite url="^/catalog.html$" to="/catalog.aspx" processing="stop"/>
The problem with this rule is that urlRewriter is waiting for this url:
http://mysite/catalog.htm but if you ahve accessed the site from VWD the url you are actually going to is: http://localhost:xxxx/<mysite>/catalog.html
A simple adjustment to your rewrite rule will clear this up:
<rewrite url="^/<yoursite>/catalog.html$" to="/<yoursite>/catalog.aspx" processing="stop"/>
The above sample worked on my dev box with a url of
http://localhost:5485/seoasp/catalog.html
The reason I did not catch this problem when I was editing the book is because I had configured the site to run as Jamie and Christian had instructed. Nevertheless this should clear up your problem!
hth.
-Doug
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========