adRotator throw exception on Admob


I have using adRotator for Window Phone 7.1, when I debug on HTC 8x device (Window Phone 8). It throw exception:
  • $exception {System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.SystemException: An unknown error has occurred. Error: 80020101.
    at Microsoft.Phone.Controls.NativeMethods.ValidateHResult(Int32 hr)
    at Microsoft.Phone.Controls.WebBrowserInterop.InvokeScript(String scriptName, String[] args)
    at Microsoft.Phone.Controls.WebBrowser.InvokeScript(String scriptName, String[] args)
    at Google.AdMob.Ads.WindowsPhone7.WPF.DisplayAdBase.<>c__DisplayClass36.<RunScripts>b__34()
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.Delegate.DynamicInvokeImpl(Object[] args)
    at System.Windows.Threading.DispatcherOperation.Invoke()} System.Exception {System.Reflection.TargetInvocationException}


Darkside wrote Apr 6, 2014 at 12:54 PM

AdMob is no longer supported on Windows Phone 7. So it's likely that the control will crash because Google is refusing to send ads to it now.

Details here: