zoukankan      html  css  js  c++  java
  • dnn captcha 图片 显示不了 见鬼了


    dnn中 的captcha验证码控件的使用问题
    用户注册时,如果打开此页面超过Expiration设定的时间,图片则生成不成功。默认过期时间为120秒。

    原来: <dnn:captchacontrol id="ctlCaptcha" Expiration="2" CaptchaWidth="135px" captchaheight="40" Width="135px" ToolTip="输入字符不分大小写" cssclass="Normal" ErrorStyle-CssClass="NormalRed" runat="server" />

    解决办法:删除Expiration:
                                    <dnn:captchacontrol id="ctlCaptcha" CaptchaWidth="135px" captchaheight="40" Width="135px" ToolTip="输入字符不分大小写" cssclass="Normal" ErrorStyle-CssClass="NormalRed" runat="server" />

    错误日志如下:
    http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=5237&PROJID=2
    2009-8-26 15:26:34   General Exception       AssemblyVersion: 04.08.02; PortalID: -1; PortalN ...  
    AssemblyVersion: 04.08.02
    PortalID: -1
    PortalName:
    UserID: -1
    UserName:
    ActiveTabID: -1
    ActiveTabName:
    RawURL: /Admin/Users/ImageChallenge.captcha.aspx?captcha=445F912B697DC456C8CA2CCA03274F9D2FFAF18250E11FCA02F79E035CA152EC6AAB6FBD4ACB49D10E487A8BFE7E71DED586113E960FD3DCBC1022A7DF08F07366AC90090F4C021B9017A260E59C1C3791B8E61D8BAF3AEF1B8E4F7CD9EA2CC33CBEF5F92DC7B77891A8EDDEA8E604571425EF8D1F210755BCA98F4347CEAD5C&alias=www.istic.ac.cn
    AbsoluteURL: /Admin/Users/ImageChallenge.captcha.aspx
    AbsoluteURLReferrer: https://www.istic.ac.cn/Register/tabid/64/Default.aspx?returnurl=%2fDefault.aspx
    UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 6.0; SV1; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; CIBA)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 8417bcf0-6e26-40c6-8e65-d9292676ff59
    InnerException: Input string was not in a correct format.
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Number.StringToNumber
    StackTrace:
    Message: 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 System.Int32.Parse(String s) at DotNetNuke.UI.WebControls.CaptchaControl.GenerateImage(String encryptedText)
    Source:
    服务器名:ISTIC-WEB
     
  • 相关阅读:
    感想
    正则表达式
    推送、透传、MQ
    Spring集成Quartz定时任务 ---- 定时执行
    代码优化
    nginx配置详解、端口重定向和504
    JAVA实现EXCEL导出
    js 按需加载
    MyBatis使用(二)分页查询
    MyBatis使用(一)
  • 原文地址:https://www.cnblogs.com/ajaxleoxu/p/1554814.html
Copyright © 2011-2022 走看看