This project is read-only.
1

Closed

Access Is Denied Error

description

I am trying to use this on the simulator and it immediately crashes with Access is Denied error. Seems to be trying to access the device id?

at Microsoft.Phone.Info.ExtendedPropertiesHelper.GetValue(String propertyName, GetValueImplDelegate getValueImpl)
at Microsoft.Phone.Info.DeviceExtendedProperties.GetValue(String propertyName)
at MC.Phone.Ads.AdMob.AdMobAdProvider.ProvideAd()
at MC.Phone.Ads.AdControl.<ProvideAd>b__b(IAdProvider provider)
at Microsoft.Phone.Reactive.AnonymousObserver1.Next(T value)
at Microsoft.Phone.Reactive.AbstractObserver
1.OnNext(T value)
at Microsoft.Phone.Reactive.AnonymousObservable1.AutoDetachObserver.Next(T value)
at Microsoft.Phone.Reactive.AbstractObserver
1.OnNext(T value)
at Microsoft.Phone.Reactive.Observable.<>c__DisplayClass17b`1.<>c__DisplayClass17d.<>c__DisplayClass17f.<ObserveOn>b__176(Object _)
Closed Apr 7, 2014 at 8:37 AM by mkamonster
Not a bug, it's the way AdMob works.

comments

mkamonster wrote Apr 7, 2014 at 8:37 AM

It's true there are AdMob requires the DeviceID. You can add ID_CAP_IDENTITY_DEVICE to the list of capabilities in your manifest file to make this work.

wrote Apr 7, 2014 at 8:37 AM