Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...Module with DNN captcha control does not display captcha image.Module with DNN captcha control does not display captcha image.
Previous
 
Next
New Post
7/16/2010 12:06 PM
 
Hi there,
I downloaded and installed the Beta 5.5.0.336 to test it and help catch any bugs.
I have developed some modules for my employer and one of them is a request for quotation module designed for the freight forwarding industry.
This module uses the DNN captcha control and it was developed using DNN 5.4.4.  I have deployed the same module to other test environments that use DNN 5.4.4 and it works without issues. However when I installed the module on the Beta 5.5.0.336 the captcha control does not display the image. I checked the event viewer and I found nothing related to this issue.    
I am new to DNN, so my apologies if I have overlooked to include any additional details. If you need more information just let me know. 
Thanks
 
New Post
7/16/2010 5:37 PM
 
I have been testing the new Feedback Module v 5.00.01 RC in the DNN 5.5.0 Beta and am having no issues with the captcha control not displaying there. However, your post prompted me to switch the site's IIS 7/7.5 application pool from ASP.Net 3.5 SP 1 to ASP.Net 4.0. After the AppPool switch the captcha control no longer displayed. I then tried the same test in DNN 5.4.4 - captcha fine with ASP.Net 3.5 SP 1 and missing image with ASP.Net 4.0.

So, the problem is NOT DNN 5.5.0 Beta but rather a combination of ASP.Net 4.0 and a necessary change to the web.config that is not happening automatically when the switch to ASP.Net 4.0 is made. Within the web.config section <System.webServer>, find the following section:

<handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <add name="LogoffHandler*" path="Logoff.aspx" verb="*" type="DotNetNuke.Services.Authentication.LogOffHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="RSSHandler" path="RSS.aspx" verb="*" type="DotNetNuke.Services.Syndication.RssHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="LinkClickHandler" path="LinkClick.aspx" verb="*" type="DotNetNuke.Services.FileSystem.FileServerHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="CaptchaHandler" path="*.captcha.aspx" verb="*" type="DotNetNuke.UI.WebControls.CaptchaHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="UserProfilePageHandler" verb="*" path="User.aspx" type="DotNetNuke.Services.UserProfile.UserProfilePageHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="Telerik.Web.UI.WebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
      <add name="Telerik.Web.UI.ChartHttpHandler" verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
      <add name="SitemapHandler" path="Sitemap.aspx" verb="*" type="DotNetNuke.Services.Sitemap.SitemapHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />
      <add name="HtmTemplateFileHandler" verb="*" path="*.htmtemplate" type="DotNetNuke.HtmlEditor.TelerikEditorProvider.HtmTemplateFileHandler, DotNetNuke.HtmlEditor.TelerikEditorProvider" preCondition="integratedMode" />
    </handlers>

Either change all instances of the attribute/value from

       preCondition="integratedMode,runtimeVersionv2.0"
to

    preCondition="integratedMode,runtimeVersionv4.0"

or remove the preCondition attribute and value completely.

I believe this may also be the solution for the LinkClick.aspx problem and will check the Gemini support tracker to see if it has been entered as an issue already and will add it if necessary.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
7/20/2010 8:39 AM
 

Hi William,

Your solution solved the problem. I have run some tests in different environments using the fix you recommend and now the image displays properly.

Thank you.

 
New Post
11/8/2010 10:22 AM
 
Bill,
    I am having the same issue with Captcha not displaying on my localhost DNN 05.05.00 (653).  I have tried your changes (to v4.0 and v3.5 (which I am coding for), and the image still will not display.  Any further suggestions?

Paul
 
New Post
11/8/2010 1:17 PM
 
Paul, you need to use preCondition="integratedMode,runtimeVersionv4.0", there is not ASP.Net runtime version 3.5

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...Module with DNN captcha control does not display captcha image.Module with DNN captcha control does not display captcha image.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out