Hi Bruce,
I am running into multiple problems with URL Master. My site is running 5.1.4. Ideally I would like to use the Advanced CAPTCHA that comes with Dynamic Registration, but at this point I will be happy to get the basic to work.
At first my site was using the standard CAPTCHA which did not work for many/all people. The problem is that DynamicRegistration would throw an error saying that the CAPTCHA field is required and must be filled in - even though the field was filled in correctly! I contacted DataSprings and they directed me to the following post:
http://captcha.biz/doc/asp.net/captcha-faq.html#implementation-dotnetnuke
I summarize the relevant content from this post in bold blue below:
We're trying to use your product with DotNetNuke 4.5.5, and running into some trouble because of an apparent interaction with the Url Rewriting HttpModule. CAPTCHA image and sound requests are made using relative paths, which are being mangled by the Url Rewriter and never passed to your HttpHandler. Do you have a fix for this?
This issue can be resolved by excluding BotDetect CAPTCHA image and sound paths in the DotNetNuke Url Rewriter configuration. The only additional step necessary for DotNetNuke users is to add:
<RewriterRule>
<LookFor>.*LanapCaptcha.aspx(.*)</LookFor>
<SendTo>~/LanapCaptcha.aspx$1</SendTo>
</RewriterRule>
to SiteUrls.config in the base DotNetNuke web site directory and BotDetect CAPTCHA will work properly.
I changed the CAPTCHA field to advanced, added the above code to the file, and attempted to view the form. The CAPTCHA field did not display. I then logged in as host and tried to go to Admin - User Accounts. When I did I got the following error in bold red:
500 Server Error
An error occured during processing : if possible, check the event log of the server
Exception:
Object reference not set to an instance of an object.
Stack Trace:
at iFinity.DNN.Modules.UrlMaster.RewriteController.IdentifyByRegEx(String absoluteUri, String queryString, String applicationPath, UrlAction result, FriendlyUrlSettings settings) at iFinity.DNN.Modules.UrlMaster.UrlRewriteModule.CheckForRewrite(Uri requestUri, UrlAction result, Boolean useFriendlyUrls, NameValueCollection queryStringCol, FriendlyUrlSettings settings, Boolean& isPhysicalResource) at iFinity.DNN.Modules.UrlMaster.UrlRewriteModule.ProcessRequest(HttpContext context, HttpRequest request, HttpServerUtility Server, HttpResponse response, Boolean useFriendlyUrls, String requestType, Uri requestUri, UrlAction result, NameValueCollection queryStringCol, FriendlyUrlSettings settings)
When I restored the original SiteUrls.config I was able to access User Accounts. I am now back to square one where CAPTCHA field is viewed as blank even though it is not. The following post on this forum seems related. Unfortunately, the solution was never posted and I never heard of Fiddler before:
http://www.ifinity.com.au/Products/Support_Forums/forumid/8/threadid/2466/scope/posts
What can I do?
Thanks,
Chip