windows-phone-development-forums,developing-for-windows-phoneRelated issues-Collection of common programming errors


  • msdn
    windows-phone-development-forums tools-for-windows-phone-development
    Hey,I just purchased a Samsung Focus to test my applications on before sending them off to the Marketplace. When I go to deploy the app to the device using the Application Deployment tool, I get the following error:”Error – Failed to connect to device. Ensure that the device is completely booted and is connected to the PC.”I have the device attached to the PC by USB, phone booted and unlocked to the Home Screen, App Deployment running as Admin, and Zune software running. Also, the devi

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    I was surprised today to figure out that an in-app purchase item I had published was causing a repeatable, unrecoverable app crash. (After purchase, clicking the app icon just leads to a load page, then a crash back to home or menu.) I was surprised becauseI had tested this feature in beta and never gotten a problem.I immediately unpublished the in-app purchase item (which it seems no one had yet purchased anyway, luckily), and I’ve removed all ads in code for an upcoming update, but I’d like to

  • msdn
    windows-phone-development-forums tools-for-windows-phone-development
    I’m trying to test the new performance analysis tool and after trying to sample both the emulator and the device for my xna game it:Copying log file to the desktop (check)Parsing of log file failed (X)anyone getting similar error? am i missing something? it seems like im following the directions onhttp://msdn.microsoft.com/en-us/library/hh202934(v=VS.92).aspxi even adjusted the sample rate but still no luck

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    My mango HTC HD7 was receiving deployments over the weekend at home but when I deploy I get the error:Failed to connect to the device. Ensure that the device is completely booted and is connected to the PC.I did the usual things, rebooting everything, etc, but I stillget the same error.Despite the ‘failed to connect to device’ error, Zune still kicks up when I connect the phone, it syncs ok, and having trawled an archived forum I also de-registered my phone from my AppHub account page and then k

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    Hopefully somebody has the answer to this as I’ve been smashing my head against the wall for more than a day on the issue. The problem is as follows:I’m attempting to logon to a well know, public website, obtain the logon cookie, and allow the use to use the not-web-friendly site on their Windows Phone via my app. In theory everything works, but when I attempt to logon, I get a 404 Not Found error fromthe HttpWebRequest object.This happens in the WP7 and WP8 emulators. This happens on my WP7 pho

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    When I create just a WP7.1 App, no changes created, I run/debug the App and get: Error 1 Manifest validation fails: Exception: Could not find a part of the path ‘C:\Users\\AppData\Local\Temporary Projects\testing\Tools\CapDetect’. testing Why is this?

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    Hi,I have a WP7 app which records audio and stores it in app isolated storage in (microsoft) wave format. It plays back fine on the phone. But when I copy the file from WP7 to my Windows 7 PC and try to play on the PC it fails with unknown format error.It’s a very small file of size 12 KB and I binary compared wave header on PC and on phone (thru debugger watch) and also binary compared start and end of  audio data in file. they match.PS: In the wave header the entries are like PCM, Mono, 1

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    Dear ALL;I have a WP7.5 application. I want to update it. And when i changed the application manifest version from “1.5.12.927” to “1.6.12.1026” it gives a compilation error with the following messageManifest validation failed: AppManifestInvalidVersionPlease advise…Muhammad Makhaly [url]http://www.makhaly.net[/url]

  • msdn
    windows-phone-development-forums tools-for-windows-phone-development
    Whenever I try to deploy to any of the WP8 emulators, the emulator starts to load then I get this error:”The Windows Phone Emulator wasn’t able to connect to the Windows Phone operating system:The emulator couldn’t determine the host IP address, which is used to communicate with the guest virtual machine.Some functionality may be disabled.”Then when I close the error, the emulator loads up, the WP8 OS runs on it, but the app isn’t deployed, and nothing happens in Visual Studio until I

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    Hi All,Visual Studio, Windows Application Deployment Tool, and Windows Phone Registration Tool all fail to recognize my brand new HTC 8 development phone. Finally after countless attempts I was able to unlock the new phone from a different machine, but still mydevelopment box will not recognize it. I can still deploy applications to my WP7, but nothing to WP8. Here is the error:Error 1 Connection to device failed. For connecting to Windows Phone 8 device – Deployment failed because no

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    I was surprised today to figure out that an in-app purchase item I had published was causing a repeatable, unrecoverable app crash. (After purchase, clicking the app icon just leads to a load page, then a crash back to home or menu.) I was surprised becauseI had tested this feature in beta and never gotten a problem.I immediately unpublished the in-app purchase item (which it seems no one had yet purchased anyway, luckily), and I’ve removed all ads in code for an upcoming update, but I’d like to

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    My mango HTC HD7 was receiving deployments over the weekend at home but when I deploy I get the error:Failed to connect to the device. Ensure that the device is completely booted and is connected to the PC.I did the usual things, rebooting everything, etc, but I stillget the same error.Despite the ‘failed to connect to device’ error, Zune still kicks up when I connect the phone, it syncs ok, and having trawled an archived forum I also de-registered my phone from my AppHub account page and then k

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    Hopefully somebody has the answer to this as I’ve been smashing my head against the wall for more than a day on the issue. The problem is as follows:I’m attempting to logon to a well know, public website, obtain the logon cookie, and allow the use to use the not-web-friendly site on their Windows Phone via my app. In theory everything works, but when I attempt to logon, I get a 404 Not Found error fromthe HttpWebRequest object.This happens in the WP7 and WP8 emulators. This happens on my WP7 pho

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    When I create just a WP7.1 App, no changes created, I run/debug the App and get: Error 1 Manifest validation fails: Exception: Could not find a part of the path ‘C:\Users\\AppData\Local\Temporary Projects\testing\Tools\CapDetect’. testing Why is this?

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    Hi,I have a WP7 app which records audio and stores it in app isolated storage in (microsoft) wave format. It plays back fine on the phone. But when I copy the file from WP7 to my Windows 7 PC and try to play on the PC it fails with unknown format error.It’s a very small file of size 12 KB and I binary compared wave header on PC and on phone (thru debugger watch) and also binary compared start and end of  audio data in file. they match.PS: In the wave header the entries are like PCM, Mono, 1

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    Dear ALL;I have a WP7.5 application. I want to update it. And when i changed the application manifest version from “1.5.12.927” to “1.6.12.1026” it gives a compilation error with the following messageManifest validation failed: AppManifestInvalidVersionPlease advise…Muhammad Makhaly [url]http://www.makhaly.net[/url]

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    Hi All,Visual Studio, Windows Application Deployment Tool, and Windows Phone Registration Tool all fail to recognize my brand new HTC 8 development phone. Finally after countless attempts I was able to unlock the new phone from a different machine, but still mydevelopment box will not recognize it. I can still deploy applications to my WP7, but nothing to WP8. Here is the error:Error 1 Connection to device failed. For connecting to Windows Phone 8 device – Deployment failed because no

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    In my dev copy of my app email and sky drive work ok.  I just got my app published.  So I un-installed the dev copy and installed copy from store.  When I send and email my app gives a no network message.  When I try to login to SkyDrive the login screen never comes up.

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    I am listening back pressed event. When user presses back on the main screen I show yes-no dialog. But when user presses Yes I see no way how make the program exit.In this topic http://social.msdn.microsoft.com/Forums/en-US/wpdevelop/thread/fdedf8f6-e691-4df6-92c7-ed3dc97bddc0 some solutions were discussed but it seems for me that they require XAML.So how can I exit from Windows Phone 8 application.

  • msdn
    windows-phone-development-forums developing-for-windows-phone
    Here is the code for checking license of app://from main threadcreate_async([this]{GetTrial();});void MyApp::GetTrial(){m_inTrial = CurrentApp::LicenseInformation->IsTrial; }Then the purchase app:bool MyApp::PurchaseApp(){String^ pProductIdString;pProductIdString = CurrentApp::AppId.ToString();try { auto operation = CurrentApp::RequestProductPurchaseAsync( pProductIdString, true ); auto requestPurchaseTask = create_task(operation);requestPurchaseTask.then([pProductIdString]( task<String^&g

Web site is in building