I am using google analytics dll files in this project. it does not give any errors on the local computer, but generates this error when io deploys the website to the server.
[VerificationException: Operation could destabilize the runtime.] Google.Apis.Discovery.BaseService.DeserializeResponse(IResponse input) in Service.cs:391 Google.Apis.Analytics.v3.AnalyticsService.DeserializeResponse(IResponse response) in 0ixqzagp.0.cs:4340 Google.Apis.Requests.ServiceRequest`1.FetchObject(IResponse response) in ServiceRequest.cs:203 _Default.Page_Load(Object sender, EventArgs e) +241 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
in my code I got this exception on this line
Profiles myProfiles = _service.Management.Profiles.List("~all", "~all").Fetch();
I searched on google for the last 2 hours, but could not get any solution. please provide a solution. thanx in advance!
source share