The parameter is incorrect exception - windows-phone-7

I'm working on a Windows Phone 7.1 project and got most of my work done and decided to add to the project the images for my tiles (62x62 and 173x173 PNGs) plus the JPG file for the splash screen (SplashScreenImage.jpg 480x800).
Before adding these images to the project my project was running fine! After adding them and setting the tiles images to the 2 new files, my project still builds ok, but when running on the 7.1 simulator (my acer laptop doesn't have hardware assisted virtualization enabled in order to run the wp8 emulator) the app crashes when trying to load MainPage with "The parameter is incorrect" exception (in the Application_UnhandledException handler).
I've been trying to find a solution on the web for the last 1-2 days, found few mentions of this error and few possible causes, but none of my findings helped so far. The exception doesn't say anything helpful and it's getting really frustrating considering that most of the serious work is done and I'm very close to releasing the app to the marketplace.
Did anybody run into this issue before? Any ideas what could have gone wrong and how I could solve this exception? Any help is much appreciated!
Thank you in advance!
Andrei

Whenever I wish to change the Splashscreen and other images, here is what I do:
Locate the file on disk using Windows Explorer.
Open the file using some image editor (I use Paint.NET)
Remove the default image and replace with your image maintaining the dimensions.
Save the image and return to Visual Studio.
Rebuild the entire project.
This works seamlessly without any errors. ;)

Related

Cordova Windows 10 App Apps can't load ActiveX controls

This is a very similar problem to this
Win 10 Universal App with Cordova trying to load flash
This app was running fine around 3 weeks ago. It loads video from a CDN, and this seems to be related to the problem.
The error is showing 4 times and seems to stop the video from playing.
APPHOST9603: Can’t load the ActiveX plug-in that has the class ID
'{D27CDB6E-AE6D-11CF-96B8-444553540000}'. Apps can't load ActiveX
controls.
There is also an error when it tries to load Fonts.. so I assume it's related.
There is no ActiveX plugins or anything else being used. It's all HTML5 with WebGL. I don't think I've updated Visual Studio or changed anything.
It makes no sense as to where this has come from.
It's gone away. I'm not sure what it is, but it might have been a security issue, I removed the cross-domain attribute of the video and it seemed to solve it.

Error Saving ADF - Tango Explorer

I have a problem with Tango Explorer App. I am trying to create an ADF file, but when I finish recording, I get a "Error Saving ADF." I have updated to the latest OTA, and also the latest Tango Core. Does anyone have the same problem?
I have also tried doing a factory reset, but same results. It records the area fine, it shows an Area Localized message, and when I touch the stop recording button, after showing an Optimizing popup, it shows the "Error Saving ADF."
It's solved! What I had to do is uninstall the Tango Core App updates, then use the Explorer app, and then after accepting the Area Learning permissions and saving one ADF file successfully, I updated the Tango Core, and now it works perfectly.!!!!
Had the same problem here, it seems like the august update of the tango core changes something in the permission system (at least the dialogues are different), and that breaks the possibility to export ADFs to the sd card.

Blank Screen After Splash Screen

I am new to windows phone development. In windows phone a blank screen is coming after a splash screen. I am using phonegap to build the app with windows. I tried it with different small applications but it is not working. what could be the reason I have googled it for an hour.
About flow: take a look here and here.
About blinking: can you provide some code? It is not a common behavior for wp app.
I was giving the wrong reference to the cordova.js file. I change the reference to the root directory of the project. After that it is working fine.

App approved, but crashes

I have made a Windows Phone app (for WP7.1) that uses BackgroundAudio for streaming, nothing too complicated. It was approved and made available for download in the store. However it no longer works, i.e. the app worked in debug+release when run from VS2012, and I assume the .xap I uploaded worked since microsoft approved it (they rejected it once and I was able to reproduce and fix the bugs they reported).
When downloaded the app simply bails on load on WP8 (lumia 820) i.e. flips back to the tiles immediately.
On WP7 (lumia 800) but the playbutton ignores input, however it downloads and displays the playlist, so some kind of functionality+network connection works.
I have tried the basics: installing using the application-deployment tool (app working), running the "Store Test Kit" which reports some slowdowns in the UI animations, but nothing serious (I hope).
Any ideas how to reproduce ".xap approved and downloaded from store but not working" or getting debug info from the phone without VS? Or any other things i can try out?
Every time your app crashes it will be logged and reported on your Windows Phone Dev Center Account. Just go in there and export the details to excel. Get the stack trace and put it in here. Maybe we can help.
The very first thing i can tell you is the opening page has some exceptions and that too it doesn't go well with some phones. Seriously there are concerns when a wp7 app is ported on wp8 device and vice-verse. To the extent of my knowledge there might be some binding issues. make sure you got the binding class to be public. And just as #AMR mentioned go the dev center and export the stacktrace. Try resolving them. Moreover if an app get certifies, it doesn't mean it is completely error free. The tests are limited to very coomon errors only.

How to fix "Unable to activate Windows Tailored application" on Win8

I get "Unable to activate Windows Tailored application" error in Metro app when I'm running it under debugger of Visual Studio 11. I installed Windows 8 x64 Developer Preview on my Dell E6510 laptop.
I googled it and found out many people saying it happens when screen resolution is smaller than 800x600 but it's 1920x1280 in my case.
The app itself contains nothing. It's just empty wizard created application which is nothing but windows with black background.
Any ideas? It seems like very common issue.
The solution was quite bizarre but I figured it out.
It turns out not a single Metro application works under Administrator account including my apps. I'm talking about built-in Administrator account that is disabled by default (but which I enabled).
It gives "Access denied" error so I suspect it's somehow related to the way WinRT COM objects were registered or something like that. Go figure.
I hope somebody from Microsoft is reading this.
Best solution is to wait 2 weeks for the next release. The developer preview is full of fun bugs like this. I've seen this error caused by invalid app.xaml. Double check that you really haven't changed anything. I've also seen this error sometimes resolved by rebooting. Have fun!

Resources