Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Since updating from Xamarin.iOS version 18.104.22.168 to 22.214.171.124 we've been experiencing the following exception with our app:
Cannot cast from source type to destination type
at System.Net.WebConnectionStream.WriteRequestAsyncCB (IAsyncResult ar) [0x0007] in /Developer/Monotouch/Source/mono/mcs/class/System/System.Net/WebConnectionStream.cs:721
at System.Net.WebAsyncResult.CB (System.Object unused) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/System/System.Bet/WebAsyncResult.cs:151
This happens during a synchronisation process (sequential web service calls on a separate thread than the UI thread) or while doing web service calls at random.
We're trying to downgrade to version 126.96.36.199 as a workaround but this issue needs to be addressed.
I have tried to reproduce this issue with some applications which requires web services and using System.Net but I am not getting this type of error or exception.
X.S 4.2.5(Build 0)
@George, Could you please provide project for which you are getting this issue? also please provide iOS device log from View->Pads->iOS Device Log and Symbolicated log(Device log) from Xcode organizer.
This is a duplicate of #18944.
*** This bug has been marked as a duplicate of bug 18944 ***