I was playing with the Windows Phone 7 AdControl and I could not get it working.
I kept getting the following error:
After hours of debugging I found out the reason I was getting this error was because I had customized the “WMAppManifest.xml” file and had commented out the networking and web-browser component usage capabilities for my test app, as I thought I didn’t need them. Once I uncommented those lines, voila! the adControl began working.
So if you get the above error make sure you are specifying the following capabilities for your application:
<Capability Name="ID_CAP_NETWORKING" />
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT" />
Another thing to take a look at are the AdUnitId and ApplicationId values that you are using while initializing the control.