We have deployed Sitecore 9.2 with JSS on a production environment and when accessing page, page gets loaded but in the network tab, we see none of the js file gets loaded. it throws 500 error. When we hit the js url on browser we get the message:
Could not load file or assembly 'System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies
Interestingly, reference dll is present and it is of the same version. We temporary comment this entry in web.config , then it started throwing the same error for another dll entry below it. it went on until we commented all dll reference. We are not getting this error in local JSS setup but it happens only on production environment both on CM and CD sites.
We checked that static content on IIS is checked.
Are we missing any steps ?