This project is read-only.

Error in marketplacetestkit


Everything is working fine and I also get the values in GA website. But the problem is when I run the app in marketplace testkit I am getting the error "Pressing back button in "MainPage.xaml" does not close the dialog box".
    Launching="Application_Launching" Closing="Application_Closing" 
    Activated="Application_Activated" Deactivated="Application_Deactivated"/>
<local:AnalyticsService WebPropertyId="UA-1234-1" />
But When I remove local:AnalyticsService from file its not giving an error.


nucleons wrote Apr 10, 2012 at 7:17 AM

After debugging the code of microsoft analytics framework for silverlight, I have found a issue in projectname- Microsoft.WebAnalytics.WP7, filename-WebAnalyticsService.cs. In this file they are opening a popup and not closing it in lifetime of the object. Because of this we are getting error "pressing the back button does not close the dialog box".

As I have tried, closing the pop-up works fine and doesn't show the error.

But I am not sure for what purpose they are opening the popup and not closing it. And whether closing the popup have dependencies on other projects or files. And where to close the popup in the file.

Can anybody solve the issue.

wrote May 3, 2012 at 8:51 AM

christianjensen wrote May 3, 2012 at 12:11 PM

nucleons, thanks for investigating - i got it to work by making sure the popup was closed in servicestop(), and then I actually closed it in frame_navigated event.

seems to work fine

wrote May 6, 2012 at 6:50 PM

wrote Sep 19, 2012 at 7:47 PM

wrote Oct 18, 2012 at 10:05 PM

wrote Oct 22, 2012 at 5:01 PM

wrote Feb 21, 2013 at 11:53 PM