Problem with insert after upload

	
message	"La chiave specificata non era presente nel dizionario."
lastAction	
name	"recaptcha"
module	"recaptcha"
action	"validate"
options	
secret	"6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"
orgException	
ClassName	"System.Collections.Generic.KeyNotFoundException"
Message	"La chiave specificata non era presente nel dizionario."
Data	null
InnerException	null
HelpURL	null
StackTraceString	"   in System.ThrowHelper.ThrowKeyNotFoundException()\r\n   in System.Collections.Generic.Dictionary`2.get_Item(TKey key)\r\n   in DMXzone.ServerConnect.App.Execute(JToken action) in C:\\Develop\\Server Connect\\ASPNET_Source\\DMXzone Server Connect\\App.cs:riga 371\r\n   in DMXzone.ServerConnect.ServerConnect.ExecuteAction(JToken action) in C:\\Develop\\Server Connect\\ASPNET_Source\\DMXzone Server Connect\\ServerConnect.cs:riga 235"
RemoteStackTraceString	null
RemoteStackIndex	0
ExceptionMethod	"8\nThrowKeyNotFoundException\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.ThrowHelper\nVoid ThrowKeyNotFoundException()"
HResult	-2146232969
Source	"mscorlib"
WatsonBuckets	null

@patrick will check the error in the component.

1 Like

Any news about that? thanks

Could you check in the browser with your form what exactly is send to the server, you can check that in the network tab within devtools. Check if g-recaptcha-response is included in the form post.

Excuse me, i thought i solved it but i have the problem again.
I also tried putting Google’s Capthca keys provided.
Keep getting this error:

	
message	"La chiave specificata non era presente nel dizionario."
lastAction	
name	"recaptcha"
module	"recaptcha"
action	"validate"
options	
secret	"6LfuB4EcAAAAAErPQ9q9qLZFwONs2yfxlO3P49-d"
orgException	
ClassName	"System.Collections.Generic.KeyNotFoundException"
Message	"La chiave specificata non era presente nel dizionario."
Data	null
InnerException	null
HelpURL	null
StackTraceString	"   in System.ThrowHelper.ThrowKeyNotFoundException()\r\n   in System.Collections.Generic.Dictionary`2.get_Item(TKey key)\r\n   in DMXzone.ServerConnect.App.Execute(JToken action) in C:\\Develop\\Server Connect\\ASPNET_Source\\DMXzone Server Connect\\App.cs:riga 371\r\n   in DMXzone.ServerConnect.ServerConnect.ExecuteAction(JToken action) in C:\\Develop\\Server Connect\\ASPNET_Source\\DMXzone Server Connect\\ServerConnect.cs:riga 235"
RemoteStackTraceString	null
RemoteStackIndex	0
ExceptionMethod	"8\nThrowKeyNotFoundException\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.ThrowHelper\nVoid ThrowKeyNotFoundException()"
HResult	-2146232969
Source	"mscorlib"
WatsonBuckets	null

So can you do this please?

This is not what Patrick asked about.
Open the Network > XHR tab in browser dev tools. Submit your form and you will see the server action there. Select it (click it) and open Headers tab on the right, scroll down to see if g-recaptcha-response is included in the form post.

Sorry if previously i didn’t understand
now i hope have doing well
i don’t see nothing about g-recaptcha-response

2

Well please scroll down so we can see what the Form Data displays … check my screenshot!

Well Teo, sorry but there’s nothing under that.
“User Agent” is the last row for me. Maybe another version of Firefox?

Well Teo, sorry but there’s nothing under that.
“User Agent” is the last row for me. Maybe I have another version of Firefox?
In other tab i see g-recaptcha-response, but probably doesn’t matter

It seems to me no value is sent from the g-recaptcha-response

Check with Chrome, please there you can see the Form Data section.

OK, in Chrome i found it

So this answers @patrick’s question:

Is the file DMXzone.reCAPTCHA2.dll located in you Bin folder?

If it is missing, here the file: DMXzone.reCAPTCHA2.zip (4.0 KB)

Yes, I have that dll.
If I overwrite it with your version, it seems that the form works.
Now I test better.

I can’t explain this to myself:
for three different websites, yesterday I replaced the files you sent me and tried sending from form … tested: everything ok!
This morning for the same three sites the submission was not working again.
Copied again DMXzone.reCAPTCHA2.dll and DMXzone.reCAPTCHA2.pdb
Sending back working.
Why?

That is really strange, never heard of such a problem. Were the files overwritten by an other version or did they just stop working?