Error 0x80131500 when developin windows phone 8 application - c#

I have this issue when trying to run a simple windows phones application - application is not running and gets stuck while trying to connect to the emulator. No other information is supplied except for the error number - 0x80131500.
I have searched a solution for the problem for a long time and everyone who ran into this problem solved it in a way that doesn't match my situation:
some had windows 8.1 preview installed - I have windows 8.1 pro installed.
some had VS2012 - I have VS2013.
some didn't have hyper-v installed or running - I checked running services and hyper v is installed and running (after setting the bios to allow virtualization).
If anyone has an idea, I will appreciate it.
Thank you.

Related

Windows Phone 8 - deploy app time out error

I just received my Windows Phone, which is running Windows Black. I opened a test app in Visual Studio 2013, but when I deploy app to device I get time out error. The apps run perfectly in emulators including "Emulator 720p", but when I switch it to deploy device, I get an error.
My Setup:
Windows Studio Professional 2013(Legal Copy)
Lumia 1520
Laptop i7/8GB HHD:40GB(free)
I have 3 USB ports and I get the same error on all 3 ports. I have restarted the pc & phone, multiple times. I have transferred music to the phone through File Explorer and set up the Developers account.
Note: I have wrote apps for Windows 8 and 8.1, never had this error, so right now I'm at a stop. All drivers are installed and updated.
Error: Error 1 This operation returned because the timeout period expired. 0 0
I think you need a newer SDK. (I'm not sure there is a newer one).
As I know, Lumia 1520 has a newer OS (newer than 1020 and 920 etc.)
So, I think Microsoft could publish a new SDK for Windows Phone 8.1 (Lumia 1520 should be running with WP8.1 OS)
You can try to remove your device from Device Manager list and add it again, if don't work, you can try on another computer but anyway I don't think these advices are fix your problem.
Wait for the newer SDK.
Solved
Solution: Unknown, but I can navigate through Phone's folder in explorer to view files versus before when I had to wait up to 5 seconds for the files to show.
I turned off Hyper-V and restarted my PC to install vmware, so maybe it's Hyper-V.
I make it work by saving and restarting the app and run again.

Building Metro Apps for beta testing

I have created a Metro application, but I did not yet send it to Windows Store as it's still in beta. One of my friends was interested in testing my application. To install my application on hes computer I used sideloading, following the steps in this article : http://blogs.msdn.com/b/patricka/archive/2012/11/05/how-do-i-deploy-a-windows-8-app-to-another-device-for-testing.aspx . The problem is that, when a press "Y" (yes) and PowerShell should install my app, it gives an error "The package or bundle is not signed or it's digital signature is corrupted. ". What should I do ? I sent him all the files that were generated by the Visual Studio.
I have to mention that :
I'm using Windows 8.1
I've developed the app in Visual Studio 2013 Professional
The target platform of my app is Windows 8.1 (and I have no idea how to change this)
My friend does not have Visual Studio installed
My friend uses Windows Server 2012 Datacenter (Could
this be the problem ? What should I do in this case ? I'm very
interested that my app to work also on Windows 8, Windows Server 2012
because this are the OS-es that are used at my office and by a
majority of the people with whom I work and that could test my app
before releasing it to the market. )
EDIT : I tried to follow the steps in this article http://msdn.microsoft.com/en-us/library/windows/desktop/jj835836(v=vs.85).aspx , but my error does not appear to be listed there.
In AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational I have the next error:
error 0xC00CE014: App manifest validation error:
The app manifest must be valid as per schema: Line 27, Column 8, Reason: Element
'{http://schemas.microsoft.com/appx/2013/manifest}VisualElements' is unexpected according
to content model of parent element '{http://schemas.microsoft.com/appx/2010/manifest}Application'.
Expecting: {http://schemas.microsoft.com/appx/2010/manifest}VisualElements.
Also in AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational I have no errors.
After reading your question again, I see the obvious solution.
The target platform of my app is Windows 8.1 (and I have no idea how
to change this)
...
My friend uses Windows Server 2012 Datacenter
You need to target Windows 8 to make it run on 8/2012. And if you check out MSDN, you'll see:
If you want to create a Windows 8 version of your app, you must use
Microsoft Visual Studio 2012.
Please make sure you have created beta app package in release mode not in debug mode. This is wrong from here.
Also check out Can Windows Server 2012 run all Metro (/ Windows Store) applications?

Windows Phone Emulator requires missing Hyper-V & Pc missing Pre-requisties required Hyper-V

I am a beginner for windows phone app..I installed visual studio 2013 ultimate which includes windows phone 8 SDK.. (Blend for visual studio 2013)
I checked my Laptop windows 8 64 bit,core i3 Intel 1.8 GHz Processor..
When I started my first app then an error came in emulator..
"The Windows Phone Emulator requires Hyper-V. Your PC is missing the following pre-requisites required to run Hyper-V: Windows 8 Professional (64-bit)"
I have tried lot of times but icouldnot find any result..
I have searched Stack over flow but did not find any solution. Now I am asking to you people plz solve my problem.
I have checked systeminfo. and msinfo32 all having hyper-V. SALT supporting,
this is also. http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-25-metablogapi/2480.011813_5F00_0935_5F00_HyperVonCli2.png
But in Turn Windows Features on and off,,does not contain folder Hyper-V.
Also Checked all these things,,my system is suppoting all these things. "http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj863509(v=vs.105).aspx#BKMK_enablehyperv"
Kindly help me about this problem...???
how can I become a member of the local Hyper-V Administrators group.?
Waiting........!!!!!!!!!
You should be using Windows 8 pro to make it work.

Windows Phone 8 Emulator not launching. Error code 0x80131500

I have problem with Visual Studio 2012 (OS: Windows 8.1 Preview)
Create empty project (Windows Phone App)
Press F5 to start debugging.
And I get 0x80131500 error code, with no detailed description. Only this: Deployment of application to device failed.
Output:
1>------ Deploy started: Project: PhoneApp1, Configuration: Debug Any CPU ------
1>Deploying C:\Visual Studio 2012\Projects\PhoneApp1\PhoneApp1\Bin\Debu\PhoneApp2.xap...
1>Connecting to Emulator WVGA 512MB...
1>Deployment of application to device failed.
1>0x80131500
Has anyone encountered such a problem. How it can be solved?
Installing Visual Studio 2012 Update 3 should fix the issue http://support.microsoft.com/kb/2864215
Windows 8.1 Preview does not support the Windows Phone 8 sdk to run on the Visual Studio 2012. You cannot run Emulator as well so better you should use a stable Windows 8 version for WP8 development. This is the statement right from Microsoft Support
After you upgrade your OS to Windows 8.1 Preview, you cannot run Windows Phone 8 Software Development Kit (SDK) emulator (XDE.exe) in Microsoft Visual Studio 2012
Reference here
In my case, updating Windows Phone SDK and VS Express 2012 helped on Windows 8.1, but performance is poor.
If it's helpful try installing update to VS:
http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/07/02/running-the-windows-phone-emulator-on-windows-8-1-preview.aspx
And updating SDK:
http://dev.windowsphone.com/en-us/downloadsdk
For some one who is looking for an answer who has the same issue while working on a virtual environment, here is a nice article on it
Setup: Visual Studio 2013 + Windows 8.1 (no betas) + this did work
Resolution: Restart the Hyper-V service
I'm also receving this error while simulating the program. i hav win 8 only and vs12 windows phone...
but when i serach info. regarding this error i get i have not hyper-v windows feature. try this feature you have or not and enable it..
Hyper-v Link : http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj863509(v=vs.105).aspx
I found this is the key thing to check, as per (WP8) Emulator (XDE) Troubleshooting Tips on msdn:
Launch the “Network Connections” manager (from the home screen, type in “View Network Connections”, It will be listed under Settings)
Right click on the adapter named: “vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)”
For that adapter, the only items that should be checked under “This connection uses the following items:” should be:
Client for Microsoft Networks
QoS Packet Scheduler
File and Printer Sharing for Microsoft Networks
Microsoft LLDP Protocol Driver
Link-Layer Topology Discovery Mapper I/O Driver
Link-Layer Topology Discovery Responder
Internet Protocol Version 6 (TCP/IPv6)
Internet Protocol Version 4 (TCP/IPv4)
All other items should be unchecked.
I installed Windows Phone 8 SDK. Emulator didn't work because Hyper-V was not turned on. I installed Hyper-V from Programs & Features and got the 0x80131500 error.
Visual Studio 2012 Update 4 fixed the issue.
I faced the same issue. Later i was able to fix the issue by downloading and installing
Visual Studio 2012 Update 4 from microsoft website.
Try out these steps if using VS 2012 with Windows 8.1 Pro:
Uninstall Hyper-V
Reboot
Install Hyper-V
Reboot
This should help.
service Remote server of you is disable. You could enable remote server! And don't can reinstall Hyper-V. it's working for me!
I solved with following repair sequence :
Uninstall Hyper-V
Reboot
dism.exe /Online /Cleanup-image /Scanhealth
dism.exe /Online /Cleanup-image /Restorehealth
Reboot
Install Hyper-V
RG

problem to run my project in windows phone 7.1 update

I was trying some code for push notification(which has sender windows phone client and wcf service) in windows phone 7.0.
I then install windows phone 7.1 beta update
and run the same code
but i m getting
"Connection failed because of invalid command-line arguments."
error.
I want to know how to solve this issue......
It seems like you have either have a misconfigured project or a failed installation of the updated SDK.
Your first choice would be creating a new WP7 application that targets 7.0 systems (if still needed). See if you can launch it through the emulator (which I am assuming is the issue). Try reloading the same project again.
In the most extreme case, remove everything WP7 dev-related and re-install the dev tools.

Categories

Resources