Minimize
 Old Town IT Blog
Dec 18

Written by: Don Worthley
12/18/2008 12:15 PM 

image If you're running a DotNetNuke site on Windows Server 2008 with IIS 7, there are some great new features you can use.  In fact, you'll see some of them in use on this site, like the ability to have extensionless URLs.  In order to achieve the extension-less URL effect1, I had to switch my server from classic mode to integrated mode, and this switch caused the Captcha images throughout the site to stop working.  Here's how to solve this problem.

It turns out that the solution is easier than I thought.

When you switch to integrated mode in IIS 7, the HTTP handlers are now defined in a different location in web.config.  You can leave the handlers defined in the httpModules section under system.web.  But any of these handlers that you want to have configured for IIS when running in integrated mode need to also have entries under the new system.webServer node as follows:

image 
(click to enlarge)

There's probably a commented section in web.config that I missed.  Either way, here's the fix for Google to index and hopefully you to find if you're wondering like I was what happened to my Captcha images.

1

This effect is also made possible by the use of the URL Master module from iFinity, which I highly recommend.

Tags:

10 comment(s) so far...

Well Don,

This helped me out of a big bind. RSS on my front page was broken.
I looked in the section you mentioned and actually found a typo.
It said RSSJandler instead of RSSHandler.

Problem solved.
Thanks for sharing.

By Phil Speth on   2/14/2009 3:08 PM

Thanks Phil. I liked your comment on the recent "Not Open Source Enough" blog entry. Celebration is great advice for the project right now.

By Don Worthley on   2/14/2009 5:18 PM

I have been experiencing some captcha problems with DNN 4.9.1 running on IIS7, but not in Integrated mode. The app pool is asp.net 2.0 classic.

Captcha images seem to occasionally appear broken. There is no pattern as to why this is happening, I get the infamous "input string was not in a correct format" error in the DNN event log.
(System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at DotNetNuke.UI.WebControls.CaptchaControl.GenerateImage(String encryptedText))

The site is using Akamai's caching services, but one of our first actions was to exclude the captcha path from caching. Moreover, the same happens in an identical virtual server a staging version of the site is installed on, where no akamai caching is present, of course.

I am using the DNNArticle module, which uses the core captcha code to display captcha on its comment forms.

Any ideas?

By Sotiris Filippidis on   10/16/2009 4:03 AM

Ugg news.You also are struggling to find a good
href="http://www.usaugg-shops.com/" rel="nofollow">Cheap UGG Boots
? We provide high quality Ugg

Boots
, absolutely worth your choice, high cost performance, professional ugg boots supplier.Our products include:
href="http://www.usaugg-shops.com/" rel="nofollow">UGGs Shoes
.

UGG do you know ? I think you may be more interested on the
href="http://www.ukbootsoutlet.com" rel="nofollow">UGG BOOTS
, then I think you can buy your favorite web team
href="http://www.ukbootsoutlet.com" rel="nofollow">UGGS UK
and even favorite star’s uggs.


www.usaugg-shops.com/ www.ukbootsoutlet.com
Cheap UGG Boots, Ugg Boots , UGGs Shoes ,UGG,UGG BOOTS,UGGS UK,UGGs on sale,Cheap UGG Boots sale

By agogouggs on   7/27/2010 3:30 PM

Ugg news.You also are struggling to find a good
href="http://www.usaugg-shops.com/" rel="nofollow">Cheap UGG Boots
? We provide high quality Ugg

Boots
, absolutely worth your choice, high cost performance, professional ugg boots supplier.Our products include:
href="http://www.usaugg-shops.com/" rel="nofollow">UGGs Shoes
.

UGG do you know ? I think you may be more interested on the
href="http://www.ukbootsoutlet.com" rel="nofollow">UGG BOOTS
, then I think you can buy your favorite web team
href="http://www.ukbootsoutlet.com" rel="nofollow">UGGS UK
and even favorite star’s uggs.


www.usaugg-shops.com/ www.ukbootsoutlet.com
Cheap UGG Boots, Ugg Boots , UGGs Shoes ,UGG,UGG BOOTS,UGGS UK,UGGs on sale,Cheap UGG Boots sale

By agogouggs on   7/27/2010 3:32 PM

Bestuggmall offer your good quality Ugg boots sale,such as ugg 5825|5803|5815,also supply lots of color for you choose,like Ugg chestnut|black|red.Bestuggmall will be your best choice on ugg boots shop that you can get ugg classic bootsonline.




Bestuggboots provides Cheap ugg boots with good quality for Women’s|men’s ugg.You can find all kind of ugg boots sale on bestuggboots,such as; cheap ugg 5803|5815|5825, Ugg chestnut|black|red is a cute color for girls who like ugg classic.

By zzf on   8/11/2010 1:55 AM

Bestuggmall offer your good quality Ugg boots sale,such as ugg 5825|5803|5815,also supply lots of color for you choose,like Ugg chestnut|black|red.Bestuggmall will be your best choice on ugg boots shop that you can get ugg classic bootsonline.




Bestuggboots provides Cheap ugg boots with good quality for Women’s|men’s ugg.You can find all kind of ugg boots sale on bestuggboots,such as; cheap ugg 5803|5815|5825, Ugg chestnut|black|red is a cute color for girls who like ugg classic.

By zzf on   8/11/2010 1:56 AM

GHD hair straightener has many types, such as professional level, Sharon series and the mini type. If you don’t want to go to regular salons, then GHD hair straighteners will be your best choice. Many stars such as Jeniffer Aniston and Jeniffer Lopez choose GHD out of good reasons. They are very accomplished in straightening hair. Salon series is especially for those who have thick and dense hair. GHD hair The Salon series is very effective for African Caribbean hairstyle. Mini series is designed for short hair and ceramic plate is designed for increase the speed of straightening hair.


And now, since I had the ghd hair straighteners uk, I never worry about the hot summer. And with the ghd hair straighteners I can deal with many kinds of hair styles and through it I feel cooler in summer. And I will introduce a hair style to you.And now, since I had the ghd hair straighteners cheap, I never worry about the hot summer. And with the ghd hair straighteners I can deal with many kinds of hair styles and through it I feel cooler in summer. And I will introduce a hair style to you.



By ghds style on   8/11/2010 2:21 AM

Really cool website to help you get the cheapest price on ghd hair straighteners across the entire internet as well as provide useful tips, hair styling advice and reviews to help you make the most of your hair. Definitely worth checking out!

By ghd hair straighteners on   8/14/2010 6:29 AM

Really cool website to help you get the cheapest price on ghd hair straighteners across the entire internet as well as provide useful tips, hair styling advice and reviews to help you make the most of your hair. Definitely worth checking out!

By ghd hair straightener on   8/16/2010 6:43 AM

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Comment:
Add Comment   Cancel 
  
 

Old Town IT LLC | 703.579.6930  | info@oldtownit.com Register   |  Login

Copyright Old Town IT LLC | Privacy Policy: Old Town IT will never share your information with anyone without your permission.