HomeHome Product Discus... Product Discus...Payment Registr...Payment Registr...V5.24 - A critical error has occuredV5.24 - A critical error has occured
Previous
 
Next
New Post
12/12/2014 6:12 AM
 

When adding the module to my web page I receive the error "A critical error has occurred". I'm not able to open the module to make any changes. I have included My DNN version, Module Version, the exception and method from my logs. I'm using the trial version.

DNN Version: 7.3.4

Smith Registration Version: 5.24

InnerException: That assembly does not allow partially trusted callers.

Method: ASP.desktopmodules_smithregistration_templates_regform_ascx._BuildControlrecaptcha

 
New Post
12/13/2014 1:23 PM
 
The google recaptcha requires a full trust environment.  To fix the error you are getting try one of the following options:

1. If your hosting allows full trust, enable full trust in your web.config:

<system.web>
<trust level="Full" originUrl=".*"/>
</system.web>

2.  If your hosting does not alllow full trust then try the following:

Update your web.config as follows:
<trust level="Medium" originUrl="http://www\.google\.com/recaptcha/api/.*" />

Or check the following StackOverflow article for other solutions:
http://stackoverflow.com/questions/4050397/net-security-exception-when-trying-to-render-a-recaptcha-control

At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
12/27/2014 8:07 PM
 
On the configuration settings:
Captcha
Public Key
Private Key

I have setup on Google to create the keys, however it only gives, site and secret key. How does this translate to your settings?
 
New Post
12/29/2014 12:11 PM
 
Site key = Public Key

Private Key = Secret key

At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...Payment Registr...Payment Registr...V5.24 - A critical error has occuredV5.24 - A critical error has occured