Error status of 406 (Not Acceptable) on web deployment


#1

Hi ioniters,

By customer request my app must be accesible via WEB, http://74.112.248.126/infojudicialMovil/mobile/#/login (Internet Information Server IIS), i am getting an error: Failed to load resource: the server responded with a status of 406 (Not Acceptable) and some views are not loaded in desktop browser. I have been configured IIS setting many new mime types and this have not worked. If we change the server to Apache it works fine!. When i debug the problem i get this error in JS file ionic.bundle.js, XHR can’t load resource. Did you have been similar problem?, what should i do?

Thanks

,


#2

Did you check the IIS logs?


#4

Hi Max,

Thanks by your answer,

This is IIS Log>

/infojudicialMovil/mobile/ - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 484
2015-06-22 19:05:18 74.112.248.126 GET /infojudicialMovil/mobile/lib/pickdate/angular-pickadate.css - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 156
2015-06-22 19:05:18 74.112.248.126 GET /infojudicialMovil/mobile/cordova.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 404 0 2 140
2015-06-22 19:05:18 74.112.248.126 GET /infojudicialMovil/mobile/lib/i18n/angular-locale_es-co.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 156
2015-06-22 19:05:18 74.112.248.126 GET /infojudicialMovil/mobile/css/style.css - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 281
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/lib/pickdate/angular-pickadate.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 265
2015-06-22 19:05:19 74.112.248.126 GET /Infojudicial/Modulos/FotosJuzgados/JUZGADO+CIVIL+MUNICIPAL+11_22062015/Estados/DSC08826.jpg - 80 - 190.0.12.132 Mozilla/5.0+(Windows+NT+6.1)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 281
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/common/commonServices.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 171
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/lib/linq/linq.min.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 546
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/lib/pickdate/infojudicial-agenda-pickadate.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 546
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/common/commonControllers.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 156
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/css/ionic.app.min.css - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 921
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/radicados/radicadosServices.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 156
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/app.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 500
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/demandas/demandasServices.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 156
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/common/radicadoDetalleDirective.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 218
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/radicados/radicadosController.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 234
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/demandas/demandasController.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 187
2015-06-22 19:05:19 74.112.248.126 GET /Infojudicial/Modulos/Usuario/Default.aspx - 80 - 190.107.16.20 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko 200 0 0 2359
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/autos/autosServices.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 140
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/autos/autoDetalleDirective.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 187
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/autos/autosController.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 218
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/autos/autoDetalleActuacionDirective.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 250
2015-06-22 19:05:19 74.112.248.126 GET /infojudicialMovil/mobile/js/module/tickets/ticketsServices.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 218
2015-06-22 19:05:20 74.112.248.126 GET /infojudicialMovil/mobile/js/module/agenda/agendaController.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 296
2015-06-22 19:05:20 74.112.248.126 GET /infojudicialMovil/mobile/js/module/agenda/agendaServices.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 296
2015-06-22 19:05:20 74.112.248.126 GET /infojudicialMovil/mobile/js/module/helpdesk/helpdeskController.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 218
2015-06-22 19:05:20 74.112.248.126 GET /infojudicialMovil/mobile/js/module/helpdesk/helpdeskServices.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 218
2015-06-22 19:05:20 74.112.248.126 GET /infojudicialMovil/mobile/js/module/tickets/ticketsController.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 453
2015-06-22 19:05:20 74.112.248.126 GET /Infojudicial/InfoMedia/css/normalize.min.css - 80 - 190.107.16.20 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko 304 0 0 125
2015-06-22 19:05:20 74.112.248.126 GET /Infojudicial/InfoMedia/css/main.css - 80 - 190.107.16.20 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko 304 0 0 109
2015-06-22 19:05:20 74.112.248.126 GET /infojudicialMovil/mobile/img/infojudicial-logo-small.png - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 218
2015-06-22 19:05:20 74.112.248.126 GET /Infojudicial/InfoMedia/js/vendor/modernizr-2.8.3-respond-1.4.2.min.js - 80 - 190.107.16.20 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko 304 0 0 125
2015-06-22 19:05:22 74.112.248.126 GET /infojudicialMovil/mobile/lib/ionic/js/ionic.bundle.js - 80 - 181.139.25.88 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/43.0.2357.124+Safari/537.36 200 0 0 4171