Base solution for your next web application
Open Closed

Blank page showed on Internet Explorer browser? #3400


User avatar
0
fguo created

I am trying "ASP.NET Core & Angular" version 4.0. After publishing on IIS, it works as expected on Chrome and Edge, but it shows a blank page on IE 11. When start it on IE 11, I can see the "circle" spinning a second and the background color changed, but the login boxes don't show up.

I tried to use IE 11 to open server side swagger. It works fine.

I tried to use IE 11 in local environment. it works as normal. The only different are:

  1. I removed the <staticContent> section from the web.config on IIS.
  2. The value of "appBaseUrl" is "http://localhost:4200" in local environment. It is "http://subdomain.mydomain.com" in IIS hosting.

Any idea?

Thanks,


5 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    can you provide the console log output of IE11?

  • User Avatar
    0
    fguo created

    DEBUG 2017-06-16 09:48:03,440 [libuv] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL5KA9N3RQA3" started. INFO 2017-06-16 09:48:03,440 [31 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://host.mydomain.com/AbpUserConfiguration/GetAll">http://host.mydomain.com/AbpUserConfiguration/GetAll</a> application/json INFO 2017-06-16 09:48:03,440 [31 ] entication.JwtBearer.JwtBearerMiddleware - Bearer was not authenticated. Failure message: No SecurityTokenValidator available for token: null DEBUG 2017-06-16 09:48:03,440 [31 ] NetCore.StaticFiles.StaticFileMiddleware - The request path /AbpUserConfiguration/GetAll does not match a supported file type DEBUG 2017-06-16 09:48:03,440 [31 ] Microsoft.AspNetCore.Routing.RouteBase - Request successfully matched the route with name 'defaultWithArea' and template '{area}/{controller=Home}/{action=Index}/{id?}'. DEBUG 2017-06-16 09:48:03,440 [31 ] .AspNetCore.Mvc.Internal.MvcRouteHandler - No actions matched the current request DEBUG 2017-06-16 09:48:03,440 [31 ] Microsoft.AspNetCore.Routing.RouteBase - Request successfully matched the route with name 'default' and template '{controller=Home}/{action=Index}/{id?}'. DEBUG 2017-06-16 09:48:03,445 [31 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) INFO 2017-06-16 09:48:03,446 [31 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) with arguments ((null)) - ModelState is Valid DEBUG 2017-06-16 09:48:03,451 [31 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore), returned result Microsoft.AspNetCore.Mvc.JsonResult. INFO 2017-06-16 09:48:03,473 [29 ] matters.Json.Internal.JsonResultExecutor - Executing JsonResult, writing value Abp.Web.Models.AjaxResponse. INFO 2017-06-16 09:48:03,474 [29 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 28.9905ms DEBUG 2017-06-16 09:48:03,474 [29 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL5KA9N3RQA3" completed keep alive response. INFO 2017-06-16 09:48:03,474 [29 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 33.8824ms 200 application/json; charset=utf-8 INFO 2017-06-16 09:48:03,950 [26 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://host.mydomain.com/api/services/app/Session/GetCurrentLoginInformations">http://host.mydomain.com/api/services/a ... formations</a> application/json; charset=UTF-8 DEBUG 2017-06-16 09:48:03,950 [26 ] NetCore.StaticFiles.StaticFileMiddleware - The request path /api/services/app/Session/GetCurrentLoginInformations does not match a supported file type DEBUG 2017-06-16 09:48:03,950 [26 ] osoft.AspNetCore.Routing.Tree.TreeRouter - Request successfully matched the route with name '(null)' and template 'api/services/app/Session/GetCurrentLoginInformations'. DEBUG 2017-06-16 09:48:03,956 [26 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action SNet.Sessions.SessionAppService.GetCurrentLoginInformations (SNet.Application) INFO 2017-06-16 09:48:03,964 [26 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method SNet.Sessions.SessionAppService.GetCurrentLoginInformations (SNet.Application) with arguments ((null)) - ModelState is Valid DEBUG 2017-06-16 09:48:03,967 [29 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action method SNet.Sessions.SessionAppService.GetCurrentLoginInformations (SNet.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult. DEBUG 2017-06-16 09:48:03,968 [29 ] etCore.Mvc.Internal.ObjectResultExecutor - Could not find an output formatter based on content negotiation. Accepted types were (application/json; charset=UTF-8) DEBUG 2017-06-16 09:48:03,968 [29 ] etCore.Mvc.Internal.ObjectResultExecutor - Selected output formatter 'Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter' and content type 'application/json' to write the response. INFO 2017-06-16 09:48:03,968 [29 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext. INFO 2017-06-16 09:48:03,968 [29 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action SNet.Sessions.SessionAppService.GetCurrentLoginInformations (SNet.Application) in 11.8885ms DEBUG 2017-06-16 09:48:03,968 [29 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL5KA9N3RQA3" completed keep alive response. INFO 2017-06-16 09:48:03,968 [29 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 18.1213ms 200 application/json; charset=utf-8

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fguo,

    I think @alper wanted to see logs on your Internet Explorer's developer console, not application logs. Can you also try to clear cookies on IE and try again ?

    If you app is accessible on internet, can you share it's address to <a href="mailto:[email protected]">[email protected]</a> ? We can try to find problem for you.

    Thanks.

  • User Avatar
    0
    fguo created

    Sorry for misunderstanding! Here are the content on IE console when I start or refresh:

    DOM7011: The code on this page disabled back and forward caching. For more information, see: <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkID=291337">http://go.microsoft.com/fwlink/?LinkID=291337</a>

    HTML1300: Navigation occurred.

    JQMIGRATE: Migrate is installed, version 3.0.0

    ERROR TypeError: Unable to get property 'initialNavigation' of undefined or null reference "ERROR" { [functions]: , proto: { }, __zone_symbol__currentTask: { }, description: "Unable to get property 'initialNavigation' of undefined or null reference", message: "Unable to get property 'initialNavigation' of undefined or null reference", name: "TypeError", number: -2146823281, stack: "TypeError: Unable to get property 'initialNavigation' of undefined or null reference at t.prototype.isLegacyDisabled (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:2625">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:2625</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:1585">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:1585</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:371:8089">http://dev1.bcnyintl.com/vendor.6de472b ... s:371:8089</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at n.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:4985">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:4985</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:2119">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:2119</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:10359">http://dev1.bcnyintl.com/polyfills.5200 ... s:43:10359</a>) at onInvokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:371:7989">http://dev1.bcnyintl.com/vendor.6de472b ... s:371:7989</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1">http://dev1</a>. Symbol(observable)_h.zpnj34hmwui: undefined, Symbol(rxSubscriber)_g.zpnj34hmwui: undefined }

    ERROR Error: Uncaught (in promise): TypeError: Unable to get property 'initialNavigation' of undefined or null reference TypeError: Unable to get property 'initialNavigation' of undefined or null reference at t.prototype.isLegacyDisabled (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:2625">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:2625</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:1585">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:1585</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:371:8089">http://dev1.bcnyintl.com/vendor.6de472b ... s:371:8089</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at n.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:4985">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:4985</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:2119">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:2119</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:10359">http://dev1.bcnyintl.com/polyfills.5200 ... s:43:10359</a>) at onInvoke "ERROR" { [functions]: , proto: { }, description: "Uncaught (in promise): TypeError: Unable to get property 'initialNavigation' of undefined or null reference TypeError: Unable to get property 'initialNavigation' of undefined or null reference at t.prototype.isLegacyDisabled (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:2625">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:2625</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:1585">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:1585</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:371:8089">http://dev1.bcnyintl.com/vendor.6de472b ... s:371:8089</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at n.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:4985">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:4985</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:2119">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:2119</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:10359">http://dev1.bcnyintl.com/polyfills.5200 ... s:43:10359</a>) at onInvokeTask (<a class="postlink" href="http://">http://</a>", message: "Uncaught (in promise): TypeError: Unable to get property 'initialNavigation' of undefined or null reference TypeError: Unable to get property 'initialNavigation' of undefined or null reference at t.prototype.isLegacyDisabled (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:2625">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:2625</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:1585">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:1585</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:371:8089">http://dev1.bcnyintl.com/vendor.6de472b ... s:371:8089</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at n.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:4985">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:4985</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:2119">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:2119</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:10359">http://dev1.bcnyintl.com/polyfills.5200 ... s:43:10359</a>) at onInvokeTask (<a class="postlink" href="http://">http://</a>", name: "Error", originalStack: undefined, promise: { }, rejection: { }, stack: "Error: Uncaught (in promise): TypeError: Unable to get property 'initialNavigation' of undefined or null reference TypeError: Unable to get property 'initialNavigation' of undefined or null reference at t.prototype.isLegacyDisabled (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:2625">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:2625</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:455:1585">http://dev1.bcnyintl.com/vendor.6de472b ... s:455:1585</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at onInvoke (<a class="postlink" href="http://dev1.bcnyintl.com/vendor.6de472b0d242e31b32de.bundle.js:371:8089">http://dev1.bcnyintl.com/vendor.6de472b ... s:371:8089</a>) at t.prototype.invoke (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:9702">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:9702</a>) at n.prototype.run (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:4985">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:4985</a>) at Anonymous function (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:2119">http://dev1.bcnyintl.com/polyfills.5200 ... js:43:2119</a>) at t.prototype.invokeTask (<a class="postlink" href="http://dev1.bcnyintl.com/polyfills.5200f14ee31dec345860.bundle.js:43:10359">http://dev1.bcnyintl.com/polyfills.5200 ... s:43:10359</a>) at onInvokeTask (", Symbol(observable)_h.zpnj34hmwui: undefined, Symbol(rxSubscriber)_g.zpnj34hmwui: undefined, task: { }, zone: { } }

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you try to remove node_modules folder and install npm packages using "yarn install" command and see if it works ?