Server Error in '/' Application.

Could not load file or assembly 'Google.Apis.Auth, Version=1.60.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Google.Apis.Auth, Version=1.60.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:


Line 17:     {
Line 18:         @*@Html.Partial("Partials/_TopReadNowGoAnalytics", Masrawy.Models.GoogleAPI.RealTime.GetTopViewedNow(maxResults: 12))*@
Line 19:         @Html.Partial("Partials/_TopReadNowGoAnalyticsV2", Masrawy.Models.GoogleAPI.RealTime.GetTopViewedNowV2(maxResults: 12))
Line 20:     }
Line 21:     else

Source File: d:\WebSites\WebSites\Masrawy_mtest\Views\TopRead\Index.cshtml    Line: 19

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Google.Apis.Auth, Version=1.60.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab' could not be loaded.


WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace:


[FileLoadException: Could not load file or assembly 'Google.Apis.Auth, Version=1.60.0.0, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   Masrawy.Models.GoogleAPI.RealTime.AuthenticateServiceAccount(String serviceAccountEmail, String serviceAccountCredentialFilePath) in D:\Gemini Projects\TFS Server\Masrawy2013\Masrawy\Models\GoogleAPI\RealTime.cs:431
   Masrawy.Models.GoogleAPI.RealTime.GetData(String profilId, String metrics, RealTimeParams optionalParamObj) in D:\Gemini Projects\TFS Server\Masrawy2013\Masrawy\Models\GoogleAPI\RealTime.cs:357
   Masrawy.Models.GoogleAPI.RealTime.GetTopViewedNowV2(String profilId, String metrics, String diementions, Int32 maxResults) in D:\Gemini Projects\TFS Server\Masrawy2013\Masrawy\Models\GoogleAPI\RealTime.cs:73
   ASP._Page_Views_TopRead_Index_cshtml.Execute() in d:\WebSites\WebSites\Masrawy_mtest\Views\TopRead\Index.cshtml:19
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +234
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +148
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +89
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +373
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +88
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +796
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +19
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +43
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +68
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +674
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +224
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4081.0