Internet Explorer gray window

Posted by teppo_55 on 18-Apr-2016 03:54

I have a demo hybrid application, which works using mobile and browsers.  With browser the address is:  http://www.trtiimi.fi/hhMobile.

With Google Chrome and Mozilla Firefox it works well, but with MS Internet Explorer 11, there is only gray window. 

Any ideas?

All Replies

Posted by Sanjeva Manchala on 18-Apr-2016 04:30

Hi,

I opened the URL in IE 11 browser and form the console view of IE 11, I have seen the following errors:

SCRIPT1002: Syntax error
File: dataViewModel.js, Line: 182, Column: 23
Error creating JSDOSession: Error: JSDOSession: Unable to send login request. InvalidAccessError
SCRIPT5007: Unable to get property 'verifyDoDelete' of undefined or null reference
File: Function code (8), Line: 2, Column: 1

For the first error (SCRIPT1002), here is code from dataViewModel.js file:

<!-- TM
view.footer.find("#submitBtn").css("visibility", "visible");
view.footer.find("#errorBtn").css("visibility", "visible");
-->

I have seen some more HTML comments in dataViewModel.js file. Can you try to replace all the HTML comments in the file "dataViewModel.js" with JavaScript comments as shown below:

//view.footer.find("#submitBtn").css("visibility", "visible");
//view.footer.find("#errorBtn").css("visibility", "visible");

Please let us know if this solves your problem with IE 11.

Thanks,

Sanjeev.

Posted by teppo_55 on 25-Apr-2016 04:32

Hello.
 
I corrected all commens and could start the application in IE 11.
 
Now I have a problem with connecting to service: error message on screen tells me
 
“Error on login Service http://88.113.172.165:8810/hhMobile is unavailable”
 
No touches in any log-files (catalina.out etc.).
 
There are no errors with other web browsers (Chrome and Mozzilla), this is IE specific.
 
From IE console I can read:
 
Error on login Service http://88.113.172.165:8810/hhMobile is unavailable  
TypeError: Määrittämättömän tai tyhjän viittauksen ominaisuutta login ei voi noutaa
 
This is in English:
TypeError: Unable to get property ‘login’ of undefined or null reference
 
Have you any ideas for this?
 
Regards
 
- teppo
---------------------------|--------------------
Teppo Määttänen____| TR-Tiimi Oy
Consultant_________| Struerintie 1
teppo @ trtiimi.fi____| 30100 FORSSA
int-358-50-5748 226 | www.trtiimi.fi
---------------------------|--------------------
 

Posted by Sanjeva Manchala on 25-Apr-2016 05:30

Hi,
 
Seems your application have some authentication. Can you try by disabling the authentication and access the service from IE? Let us know what happens when after disabling autnetication.
 
Thanks,
Sanjeev.
 

Posted by teppo_55 on 25-Apr-2016 06:38

Hello.
 
The idea is of course not to disable authentication.  I changed authentication from “form” to “basic” because of previuous probleems.
 
Now I have
"authenticationModel": "basic",
 
* * *
 
I change it to:
 
"authenticationModel": "anonymous",
 
Because I have used the model template “Emloyee” CRUD example, the login screen (views/loginView.html) disappeared, and I get in all web browsers error:
 
From Mozzilla debug console:
In onInitDisplayMessage app.js:139:9
Error on create DataSource
Error: JSDO: Unable to find resource 'ynimike' in the catalog. dataViewModel.js:244:13
"Error on login Service http://88.113.172.165:8810/hhMobile is unavailable status (from jqXHT):0 statusText (from jqXHT):"
 
But as I told, the idea is to have authentication.
 
Regards
 
- teppo
 
---------------------------|--------------------
Teppo Määttänen____| TR-Tiimi Oy
Consultant_________| Struerintie 1
teppo @ trtiimi.fi____| 30100 FORSSA
int-358-50-5748 226 | www.trtiimi.fi
---------------------------|--------------------
 

Posted by Sanjeva Manchala on 25-Apr-2016 08:02

Hi,
 
I asked to change the authentication to narrow down the problem. If the application is working in IE without authentication then the problem is with IE showing authenticated resources or some problem with OE.
 
You can directly test your application in IE by just entering the WebApp URL. In your case it is: http://88.113.172.165:8810/hhMobile . Provide the Username and Password and then you will be redirected to WebApp static page (http://88.113.172.165:8810/hhMobile/static/index.html ) if login is successful.
 
If you want to test the application from Telerik AppBuilder by disabling the authentication then you have to update the authentication information in the following places:

-          In appSettings.js file from Telerik AppBuilder

"authenticationModel": "anonymous",

-          Edit the web.xml file under <prj>/PASOEContent/WEB-INF folder.

Replace <param-value> entry /WEB-INF/oeablSecurity-basic-local.xml (line number 69) in web.xml file with /WEB-INF/oeablSecurity-anonymous.xml

-          Republish the changes and then restart the server

 
Hope this helps,
Sanjeev.

Posted by teppo_55 on 26-Apr-2016 01:38

Hi,
 
I asked to change the authentication to narrow down the problem. If the application is working in IE without authentication then the problem is with IE showing authenticated resources or some problem with OE.
 
>> The problem is there – in authentication.
 
You can directly test your application in IE by just entering the WebApp URL. In your case it is: http://88.113.172.165:8810/hhMobile.
 
>> When entering this (http://88.113.172.165:8810/hhMobile) in IE, it opens the Pacific Application Server-screen (http://88.113.172.165:8810/hhMobile/static/index.html) without authentication.
 
Provide the Username and Password and then you will be redirected to WebApp static page (http://88.113.172.165:8810/hhMobile/static/index.html ) if login is successful.
 
If you want to test the application from Telerik AppBuilder by disabling the authentication then you have to update the authentication information in the following places:
-          In appSettings.js file from Telerik AppBuilder
 
"authenticationModel": "anonymous",
 
-          Edit the web.xml file under <prj>/PASOEContent/WEB-INF folder.
 
Replace <param-value> entry /WEB-INF/oeablSecurity-basic-local.xml (line number 69) in web.xml file with /WEB-INF/oeablSecurity-anonymous.xml
 
-          Republish the changes and then restart the server
 
>> I did this.  Because of application logic, the login page disappeared.  When I go to data list page, there are no problems.  So the problem with IE is when I use authentication, which is ablolutely necessary
 
Hope this helps,
Sanjeev.
 
Regards
 
- teppo
 
---------------------------|--------------------
Teppo Määttänen____| TR-Tiimi Oy
Consultant_________| Struerintie 1
teppo @ trtiimi.fi____| 30100 FORSSA
int-358-50-5748 226 | www.trtiimi.fi
---------------------------|--------------------
 

Posted by Sanjeva Manchala on 26-Apr-2016 09:44

Hi,
 
I have tried to access Authenticated resources using IE 11, Basic Authentication failed at the login attempt itself, I have submitted an issue internally.
 
Here are the messages from browser console when I tried to Login in to the application.
Error on login Service http://<Machine_IP>:<PASServer_PORT>/SportsApp is unavailable
Error: JSDOSession: Unable to send login request. InvalidAccessError
 
If you are seeing the similar error messages, please report an issue with Technical Support.
 
Hope this helps,
Sanjeev.
 

Posted by Sanjeva Manchala on 26-Apr-2016 10:04

In Addition to that I would like add some more information to this for others who can refer. Currently both Basic and Form Authentications are failing from IE 11. In case of Form Authentication we are able to Login in to the app, but data retrieval is failing. Also from Mozilla Firefox browser, Basic Authentication is failing (only Form Authentication is working). Form Google Chrome both the authentications are working properly.
 
Hope this helps,
Sanjeev.
 

Posted by maynardr on 10-Aug-2017 09:19

Hi, I think I have the same issue. App is working with Basic auth with Chrome, but not IE 11. Is the issue resolved yet?, or is there a code around? (other than make anon).

Posted by Anil Kumar on 10-Aug-2017 14:22

Hi Maynard,
 
The current version of ‘Telerik Platform’ uses JSDO 4.3.1 library in the ‘Progress Data Service’ template which is available under ‘Advanced’ section in the ‘Create App’ page. I have tried with the default JSDO library (4.3.1) and see same problem in IE 11. i.e., for FORM authentication login succeeds and data retrieval [fill() operation] fails and for BASIC authentication it fails in the login operation.
 
When I tried the same mobile app with JSDO 4.4 FCS library (which was released in July 2017) with OpenEdge 11.7.1 backend service which is configured with BASIC/FORM authentication everything works fine in IE 11 browser. i.e., we are able to successfully login to mobile app and fetch data properly.
 
As a workaround can you please try replacing default JSDO library (that is part of Progress Data Service template) with new JSDO 4.4 library and see if that solves the problem.
 
Hope this helps.
 
Thanks and Regards,
Anil Kumar.
 

This thread is closed