Silverlight bing maps component are no longer working - silverlight

We have an old web application in Silverlight, that is using Bing maps. It has been working until a few days ago.
It seems that the clientaccesspolicy.xml and crossdomain.xml files have been moved and are no longer available from http://dev.virtualearth.net. We get a 404 Not Found on those resources in the browser network log. Inside Visual Studio, the map is still showing in the XAML editor, but when the application is run, we just get an "Unable to contact Server. Please try again later" error message.
I can see that other users are reporting the same issue:
https://learn.microsoft.com/en-us/answers/questions/799630/arcgis-map-services-stopped-loading.html
We are aware that Silverlight is unsupported and that it is bound to break in some manner, but we were kinda hoping to keep our project alive just a little bit longer. A few months back we saw the same issues, but after a few days, it started working again.
Any suggestions?
Thanks!

As noted in the comments, the Bing Maps Silverlight control was deprecated 6 years ago. However, I'm not aware of any work done to actually break it. I put together a resource on how to extend its life when the deprecation was announced, but that just directly retrieved map tiles and loaded them into the control. Double check the console for errors, it's possible that your Bing Maps credentials are not working. This could be due to your account being closed or exceeding free limits. If you have a Bing Maps license, contact maplic#microsoft.com to verify the license is up to date.
Another possible contributor is that Silverlight as a whole reached end of life last fall (near 6 months ago).

Related

All converted apps including samples fail to run with a 'The parameter is incorrect'

I'm trying to convert a WPF oneclick installed application and so everything should be pretty straight forward. However, whenever I run the debug project, I get
'The parameter is incorrect'
in a message box popup and I can never run the app.
This happens for my app while trying to debug, all the samples from github, and even the DAC application from the Windows Store. The error pops up even once the app is installed and showing in my application list.
I'm on the latest build of the Creators Update.
There are various errors in the event viewers, but they seem to be a common occurence for WinRT apps.
Any ideas at all?
If you have the WPF project in VS2017, I'd recommend to package directly from VS without using the DAC. see the article for more information https://learn.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-packaging-dot-net
The problem appears to be related to the May Security Update. I restored Windows to the factory defaults and everything works fine.
However, once I install the the May Security Update to address this bug with Sql Server and Filestreams, the Desktop Bridge Debugging project stops working.
I'm going to throw out a random guess that it's related to the Microsoft Malicious Software Removal Tool, as the event viewer logs mentioned an issue with the 'parameter is incorrect' referring to the Microsoft.MRT.
Of course it could be anything, and as only 7500 people have even downloaded the Desktop Bridge Debugging project in the first place, I doubt it's high on the list of Microsoft Developer Priorities.
And to be completely honest, it's really probably my fault for not rewriting the app as a UWP app, after rewriting it as a Windows Forms app, and as a Silverlight app, and as a WPF app and on and on and on. Although, I'm not sure how many glasses of Kool Aid are left in the punch bowl for me.

WPF Image Authority/Host could not be parsed for one image

I created a WPF application in visual studio 2010 a couple of weeks ago and have used several resourced images for building the app.
Today I go in to check it and 1 of my images throws up the above error. All my images are loaded the same way from a shared drive using the associated drive letter. None of the other images throw up this error.
I am just not sure why only this one image is causing a problem. All my images are png files.
Any help would be appreciated.
I found a solution that has worked for me.
I reloaded the image back in from scratch and reset my visual studio environment settings which appears to have fixed it at least for now. If anyone has any better (more permanent) solutions please feel free to post.

can't find the application on windows 10 store

i'm using windows 8 with visual studio 2013.
i made some changes on wpf app,i made all the steps from https://msdn.microsoft.com/en-us/library/windows/apps/hh454036.aspx
to upload the app to the store.
the app is in the store but only windows 8 users can see it.
the problem is that windows 10 users can't see the app and install it.
do i need to use visual studio 2015 in order to make the app uwp?
thanks for helpers
If I view your app in the store it comes with a message saying it is "currently not available".
This might explain why it is not showing in search results.
With any store listing problem like this you should first start by contacting store support. They should be able to tell you: why you can't see an app in search (noting of course that they won't tell you why you're app has a specific position in search results and that even an exact search for an apps name may not put it on the first page of results); if there are any known problems; or if it's somehow related to your account.

Windows presentation foundation host crashes

we are using a saas application that uses WPF. it usually work fine on every browser we use
but one of our user recently was transferred to a different office and from that day he gets an error on IE 8 about WPF encountered a problem and the application crashes. same for the other browsers.
could it be connected to the network he wired to?
I am Exactly getting the same error.
A some of the forums suggest registry access problem but when I run the tool it says no problem with access.
I guess my website response is XML which is some how not been interpreted by IE.

Silverlight 4 OOB White Screen of Death. Failed to load pre-requisites for the application

I'm developing a SL4 OOB application that has suddenly started giving me the white screen of death.
If I try to run it 'in-browser' and check the console I can see the error 2105 : 'Failed to load pre-requisites for the application' but there's very little info about it anywhere.
None of my breakpoints get hit. Even starting the app with F11 (step into) doesn't get me anywhere.
I can run other Silverlight projects just fine so it's not the runtime. I've even copied the source into another project to see if that might help but to no avail.
Does anyone have any ideas how I might get started fixing this?
I have seen this myself and it was a pain..
What I had to do was a system restore, de-installed all traces of Silverlight and Blend and then reinstalled them all. However I had also just installed Silverlight 5 RC which didn't play nicely with Telerik and might have been the problem.
There is also some information about this error here:
http://connect.microsoft.com/VisualStudio/feedback/details/530074/unhandled-error-in-silverlight-application-2105-when-building-as-an-x86-configuration.
Is this your problem?
Damn it, I hate answering my own questions but the problem was quite obscure.
Somehow, I managed to get a regular .Net reference in my Silverlight project through a Nuget package. That was it.
DOH!

Resources