Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
signalr connection is blocked by <machinekey />tag.

What I have tried:

if i remove this tag then it works fine.
Posted
Updated 3-May-17 0:09am

1 solution

Machinkey is used to isolate your application from other applications on the same server. It's more security against vulnerability's. If you have a validationKey you also need a decryptionKey. So your tag is not complete. It should look like this:

<machineKey  
validationKey="21F090935F6E49C2C797F69BBAAD8402ABD2EE0B667A8B44EA7DD4374267A75D7
               AD972A119482D15A4127461DB1DC347C1A63AE5F1CCFAACFF1B72A7F0A281B"           
decryptionKey="ABAA84D7EC4BB56D75D217CECFFB9628809BDB8BF91CFCD64568A145BE59719F"
validation="SHA1"
decryption="AES"
/>


This msd article will answer all you questions.
 
Share this answer
 
Comments
sundar sahukhala 11-May-17 21:56pm    
yes, i kept it that format, but sqldependency are not working
Wessel Beulink 12-May-17 7:09am    
sqldependency is not relevant to machine key.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900