Relative Content

Tag Archive for c#jsoniisasp.net-mvc-5

JSON file create issue on IIS production server

I have .net framework 4.6.1 mvc web application. I am creating a json file. File is getting created locally, however when I deploy code on IIS on server, it gives “Invalid Signature” error. Even moving the existing json file gives same error. Unable to debug as the functionality works locally.
Problem occurs only when array or list type is added to json file. for e.g
json file content
{“TypeOfTheTest”:”Custom”, “ExportData”:true} this works but below content gives issue of invalid signature.
{“TypeOfTheTest”:”Custom”, “ExportData”:true, “DataFiles”:[“C:Temp1.mme”]}