Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Search Engine Optimization with ASP.NET ISBN: 978-0-470-13147-3
This is the forum to discuss the Wrox book Professional Search Engine Optimization with ASP.NET: A Developer's Guide to SEO by Cristian Darie, Jaimie Sirovich; ISBN: 9780470131473
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Search Engine Optimization with ASP.NET ISBN: 978-0-470-13147-3 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 24th, 2008, 07:12 AM
Registered User
 
Join Date: Nov 2008
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default SEO Book code not working

Hi, i cant seem to get any of the examples working on my machine... url rewritting just doesnt seem to work... xp service pack 3...

Any ideas?

Cheers

Gareth

Reply With Quote
  #2 (permalink)  
Old November 24th, 2008, 11:00 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Hello,
   I was the Technical Editor for this book and did not have any problems with any of the examples in this book. At the time I was using XP Pro SP2 with VS2K5.

What URL Rewriting method is not working? Christian and Jamie covered both URL Rewriting via ISAPI filters as well as using Rewriter.NET with HTTP Handlers. Can you give me any more information then it just doesn't work?

Thanks.
-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 / Author :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote
  #3 (permalink)  
Old November 25th, 2008, 01:11 PM
Registered User
 
Join Date: Nov 2008
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have tried both isapi rewrite and url rewriter.net but they dont work... even tried putting the examples on my machine and amended the appropriate files but still doesnt seem to work...

However, this morning i was trying to go through it from the beginning and i cant seem to complete the process of configuring iis on windows xp... when i go to install the aspnet_isapi.dll it doesnt allow me to press the ok button??? Am i missing a file or just being stupid?

Thanks again,

Gareth

Reply With Quote
  #4 (permalink)  
Old November 25th, 2008, 02:25 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

... I am not sure why you are manually trying to the .NET ISAPI filter directly.

Do this:

Start --> Run --> Inetmgr

Right click on the 'Default Website' Node and select properties. You should see a Tab labeled ASP.NET (it should be the last tab on the right in second row). If you see it click on it and verify that the 2.0 version of the framework is an option in the drop down box.

If you don't see the tab or you don't see 2.0 as an option do this:

Start --> Run --> cmd

Navigate to the folder (The specific location on your system may be different if windows runs off of a different drive other then C and out of a directory other then 'Windows'): C:\Windows\Microsoft.Net\Framework\v2.0.50727

Once there execute this command: aspnet_regiis -i That will register the runtime with IIS.

For more info on this command you can check this KB article: http://msdn.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx

Did that help?

-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 / Author :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote
  #5 (permalink)  
Old November 26th, 2008, 03:02 AM
Registered User
 
Join Date: Nov 2008
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ah ok, i will try that when i get home from work... One question now though, does this only work with .net 2.0 or can i use it with later versions?

Thanks again,

Gareth

Reply With Quote
  #6 (permalink)  
Old November 26th, 2008, 07:28 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

The 3.x versions of the framework do not have this utility because they run off of the 2.0 core. So if you were to develop a site that utilizes the 3.x Framework, your webserver would have to have the 3.x version of the Franework installed, however, the directory your application would run out of would be configured to use ASP.NET 2.0 through IIS.

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 / Author :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote
  #7 (permalink)  
Old November 26th, 2008, 01:28 PM
Registered User
 
Join Date: Nov 2008
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, thanks for your help so far...

I tried doing what you mentioned earlier but i am still unable to install the aspnet_isapi.dll to configure iis as previously mentioned...

Been searching the net and cant really find anything which helps...

I went and run the commands you stated as well as trying to add the C:\Windows\Microsoft.Net\Framework\v2.0.50727\aspn et_isapi.dll...

Thanks

Gareth

Reply With Quote
  #8 (permalink)  
Old November 26th, 2008, 04:04 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I am not sure i understand what the problem is. It seems like you are trying to manually add the aspnet_isapi.dll file to IIS through the ISAPI filters tab in IIS Manager which you should NOT be doing. The command that i sent you previously registers the .NET framework with IIS so that you can configure applications to run under said framework. You should not be manually installing the ISAPI Filter yourself.

After you ran the command I sent you, what was the output from the Console window? Did the install complete or where their errors? I assume you are still not seeing the ASP.NET tab in IIS, is that correct? Which IDE are you using?

-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 / Author :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote
  #9 (permalink)  
Old November 27th, 2008, 03:22 PM
Registered User
 
Join Date: Nov 2008
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, after much effort i have finally managed to get thr url rewriter working... i stripped the web.config down to its bare minimum and it seems to have done the trick... i must have done something wrong previously...

Thank you all soooo much for your help... now its time to get cracking with it...

Really enjoying the book by the way...

As your someone who knows about this topic are there any strategies, tricks you would recommend when writting for search engine optimization?

Thanks

Gareth

Reply With Quote
  #10 (permalink)  
Old November 28th, 2008, 10:17 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

That is a loaded question if ever I have heard one! Obviously entire books have been wrote about that subject so, for the time being, read through the book you have; Jamie and Christian touch on many of the 'do's' and 'don't's' of SEO. However, if you have a more pointed question I will help you the best that I can.

-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 / Author :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Working with the book on two machines... Bruce.Wiki BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 5 October 30th, 2008 11:53 AM
SQL In book not working bgcsocal SQL Server 2005 3 August 5th, 2008 12:54 PM
Code in Book Not Working kaaveryups SQL Server 2005 2 April 11th, 2007 01:29 PM



All times are GMT -4. The time now is 08:37 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.