Page 1 of 1

DownloadStringCompletedEventArgs has no "Error.Message" property

Posted: Tue Sep 22, 2015 2:41 am
by CyborgDE
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

Re: Windows Phone

Posted: Wed Sep 30, 2015 9:08 am
by JS-Support @Userware
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

Re: Windows Phone

Posted: Fri Oct 02, 2015 12:41 am
by CyborgDE
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

Re: Windows Phone

Posted: Fri Oct 02, 2015 1:23 am
by JS-Support @Userware
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

Re: Windows Phone

Posted: Sat Oct 17, 2015 8:21 am
by CyborgDE
I think, this is not a windows phone problem.

The DOMException did not have the function "get_Message".

Regards, Uwe

Re: Windows Phone

Posted: Tue Nov 03, 2015 12:31 am
by CyborgDE
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

Re: DOMException has no "get_Message" method

Posted: Sun Nov 15, 2015 11:33 pm
by CyborgDE
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

Re: DownloadStringCompletedEventArgs has no "Error.Message" property

Posted: Mon Nov 16, 2015 5:46 am
by JS-Support @Userware
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