System.Web.HttpException: This is an invalid script resource request

后端 未结 5 1409
忘掉有多难
忘掉有多难 2021-02-01 10:30

I get this error when pushing our website to our clients production server however the page works absolutely fine on their dev / test servers. What causes this error (consideri

5条回答
  •  余生分开走
    2021-02-01 11:10

    If indeed you are using multiple servers try the following: Add to your web.config:

    
    

    But generate the validationKey and decryptionKey yourself using the code examples found here: http://msdn.microsoft.com/en-us/library/ms998288.aspx The above link also explains more about this solution so check it out, look for Web Farm Deployment Considerations on that page

提交回复
热议问题