machinekey

Adding machineKey to web.config on web-farm sites

南楼画角 提交于 2019-11-26 15:20:47
We (our IT partner really) recently changed some DNS for a web farmed site we have, so that the two production server have round-robin DNS switching between them. Prior to this switch we didn't really have problems with WebResource.axd files. Since the switch, when we hit the live public URL, we get an error: CryptographicException Padding is invalid and cannot be removed. When we hit the specific servers themselves, they load fine. I've researched the issue and it seems since they're sharing assets between two servers, we need to have a consistent machineKey in the web.config for each server

Adding machineKey to web.config on web-farm sites

China☆狼群 提交于 2019-11-26 04:22:08
问题 We (our IT partner really) recently changed some DNS for a web farmed site we have, so that the two production server have round-robin DNS switching between them. Prior to this switch we didn\'t really have problems with WebResource.axd files. Since the switch, when we hit the live public URL, we get an error: CryptographicException Padding is invalid and cannot be removed. When we hit the specific servers themselves, they load fine. I\'ve researched the issue and it seems since they\'re