DownloadStringCompletedEventArgs has no "Error.Message" property

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
CyborgDE
Posts: 75
Joined: Wed Aug 12, 2015 9:21 pm

DownloadStringCompletedEventArgs has no "Error.Message" property

Postby CyborgDE » Tue Sep 22, 2015 2:41 am

Hello,

my Demo is running on Windows and JavaScript.
On the Windows Phone I got a exception but I can not get the exception message ...
Object doesn't support property or method 'get_Message'


Regards, Uwe

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Windows Phone

Postby JS-Support @Userware » Wed Sep 30, 2015 9:08 am

Hello,

Thanks for your message.

What is the version of your Windows Phone?

You should be able to reproduce the issue on the desktop version of Internet Explorer by changing the settings of desktop IE so that it emulates the Windows Phone version. To do so, open the F12 Developer Tools, and change the "Browser Mode" to match the version of IE on your phone. For example, I was able to reproduce on my desktop an issue that I had only on my Windows Phone 8.0 by changing the "Browser Mode" of my desktop IE to "Browser mode: Internet Explorer 9".

Once you have been able to reproduce the issue on the desktop version of Internet Explorer, you can use the F12 developer tools to debug it.

Alternatively, if the above method does not work for you, you can use the Windows Phone emulator and debug the output HTML5/JavaScript code with Visual Studio. To do so, you just have to create a new empty ASP.NET project and copy/paste your application code into that project, and then launch the ASP.NET project on the Windows Phone emulator. Here is a detailed tutorial with screenshots:
http://blogs.msdn.com/b/visualstudioalm/archive/2014/04/04/diagnosing-mobile-website-issues-on-windows-phone-8-1-with-visual-studio.aspx

Regards,
JS-Support

CyborgDE
Posts: 75
Joined: Wed Aug 12, 2015 9:21 pm

Re: Windows Phone

Postby CyborgDE » Fri Oct 02, 2015 12:41 am

Hello,

current version on my phone is 8.1 Update.
The error occurs only at the phone, at the moment I can not test it in the simulation, I have deactivated my hypervisor due VirtualBox linux tests.

Best regards,
CyborgDE

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Windows Phone

Postby JS-Support @Userware » Fri Oct 02, 2015 1:23 am

Hello

Thanks for the info.

Have you tried changing the "Browser Mode" setting of the desktop version of IE to "Internet Explorer 9" or "Internet Explorer 10"? Sometimes it can help reproduce mobile IE issues.

Thanks
Regards
JS-Support

CyborgDE
Posts: 75
Joined: Wed Aug 12, 2015 9:21 pm

Re: Windows Phone

Postby CyborgDE » Sat Oct 17, 2015 8:21 am

I think, this is not a windows phone problem.

The DOMException did not have the function "get_Message".

Regards, Uwe

CyborgDE
Posts: 75
Joined: Wed Aug 12, 2015 9:21 pm

Re: Windows Phone

Postby CyborgDE » Tue Nov 03, 2015 12:31 am

Hello,

Not solved in 5.2 !
DOMException has not Message so Exception in Exception ...

This error does not come, it comes from an other place, but the solution is the same ...

Code: Select all

        void Load_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
        {
            if (e.Error != null)
            {
                MessageBox.Show("Error loading : " + e.Error.Message);
            }
        }

This works :

Code: Select all

                MessageBox.Show("Error loading : " + e.Error.ToString());


Regards, Uwe

CyborgDE
Posts: 75
Joined: Wed Aug 12, 2015 9:21 pm

Re: DOMException has no "get_Message" method

Postby CyborgDE » Sun Nov 15, 2015 11:33 pm

Hello,

any results ?

I have often this exception in exception, the ex.Message throws the error "Object doesn't support property or method 'get_Message'", the exception is a DomException

Code: Select all

            catch (Exception ex)
            {
                MessageBox.Show("Error loading : " + ex.Message);
                System.Diagnostics.Debug.WriteLine("Error loading : " + ex.ToString());
            }


Regards, Uwe

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: DownloadStringCompletedEventArgs has no "Error.Message" property

Postby JS-Support @Userware » Mon Nov 16, 2015 5:46 am

Hello Uwe,

Thanks for the follow up.

We are going to look into the issue this week, and I will keep you updated.

Regards,
JS-Support


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 24 guests

 

 

cron