2
Vote

# Captcha module has problem in orchard V1.1

## description

wrote May 31, 2011 at 10:24 PM

Hello,
i've the same error :
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'Comments' does not exist in the namespace 'Orchard' (are you missing an assembly reference?)

Source Error:

Line 3:
Line 4: <fieldset>

i've installed the module and when i click the Settings link i get the error.

Thanks

Hans

wrote Jul 1, 2011 at 9:19 AM

Hi all,

I had the same problem with this module and I simply removed the using statement in the view. If you open the module project in visual studio it seems that there is no code atualy referencing the component. Otherwize you will have to add a reference to the Comments module dll.

The next problem you encounter is in the database. When you navigate to the orchard settings page from your dashboard. The exception is something like "TABLE CaptchaSettingsPartRecord ... cannot insert the value NULL into column PublicKey". Go to SQL Management studio and find the table CaptchaSettingsPartRecord then set all columns (except from the Id) to Allow nulls. Now the module works as intended.... or not?

There is much work done in the module but there is nothing I could find that could make this usefull to my bolog comments. It does not contain any parts. Although there is work done to create a CaptchaService class that makes use of the Recaptcha .Net dll.

That said, I believe there is more work to be done to make this interoperate with the comments section. I am no Orchard expert and we have to get help from the creator.

By the way where is the creator of this module?

Any help will is welcome!

Thanks

wrote Jul 1, 2011 at 9:22 AM

wrote Sep 21, 2011 at 1:38 PM

Got the same issue. Any updates on this subject?

Thanks, Victor

wrote Oct 8, 2011 at 1:01 PM

I really want to know who the idiot has developed it. I am surprised that Orchard owners allow this problematic module that does not have any documentation nor support exist in the gallery!

wrote Feb 13, 2013 at 9:11 PM

wrote Mar 5, 2014 at 9:25 PM

Solution is simple - remove unused namespace at Line 2:
@using Orchard.Comments.Models;