Base solution for your next web application
Open Closed

Errors after deployment #4576


User avatar
0
geertveenstra created

Hi,

After my first try deploying to IIS the site does not look right (in development all is working). I am using the Core MVC & JQuery (version 5.06) In the Chrome console I see a lot of errors :

Failed to decode downloaded font: <a class="postlink" href="https://portalnew.entervo-cloud.nl/fonts/Poppins/poppins-v5-latin-300.woff">https://portalnew.entervo-cloud.nl/font ... n-300.woff</a> Editions:1 OTS parsing error: invalid version tag Editions:1 Failed to decode downloaded font: <a class="postlink" href="https://portalnew.entervo-cloud.nl/fonts/Poppins/poppins-v5-latin-regular.woff">https://portalnew.entervo-cloud.nl/font ... gular.woff</a> Editions:1 OTS parsing error: invalid version tag Editions:1 Failed to decode downloaded font: <a class="postlink" href="https://portalnew.entervo-cloud.nl/fonts/Roboto/roboto-v18-latin-500.woff">https://portalnew.entervo-cloud.nl/font ... n-500.woff</a> Editions:1 OTS parsing error: invalid version tag Editions:1 Failed to decode downloaded font: <a class="postlink" href="https://portalnew.entervo-cloud.nl/fonts/Poppins/poppins-v5-latin-500.woff">https://portalnew.entervo-cloud.nl/font ... n-500.woff</a> Editions:1 OTS parsing error: invalid version tag Editions:1 Failed to decode downloaded font: <a class="postlink" href="https://portalnew.entervo-cloud.nl/fonts/Poppins/poppins-v5-latin-300.ttf">https://portalnew.entervo-cloud.nl/font ... in-300.ttf</a> Editions:1 OTS parsing error: invalid version tag Editions:1 Failed to decode downloaded font: <a class="postlink" href="https://portalnew.entervo-cloud.nl/fonts/Poppins/poppins-v5-latin-regular.ttf">https://portalnew.entervo-cloud.nl/font ... egular.ttf</a> Editions:1 OTS parsing error: invalid version tag Editions:1 Failed to decode downloaded font: <a class="postlink" href="https://portalnew.entervo-cloud.nl/fonts/Roboto/roboto-v18-latin-500.ttf">https://portalnew.entervo-cloud.nl/font ... in-500.ttf</a> Editions:1 OTS parsing error: invalid version tag Editions:1 Failed to decode downloaded font: <a class="postlink" href="https://portalnew.entervo-cloud.nl/fonts/Poppins/poppins-v5-latin-500.ttf">https://portalnew.entervo-cloud.nl/font ... in-500.ttf</a> Editions:1 OTS parsing error: invalid version tag

I see also some uncaught errors there :

Uncaught TypeError: n.DataTable is not a function at HTMLDocument.<anonymous> (host-list.min.js:1) at u (app-layout-libs.min.js:formatted:1869) at h (app-layout-libs.min.js:formatted:1880)

Uncaught ReferenceError: _ is not defined at Object.triggerUnreadMessageCountChangeEvent (<a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/Layout/_ChatBar.min.js:315:21">https://portalnew.entervo-cloud.nl/view ... .js:315:21</a>) at <a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/Layout/_ChatBar.min.js:50:26">https://portalnew.entervo-cloud.nl/view ... n.js:50:26</a> at c (<a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/_Bundles/app-layout-libs.min.js:1:37981">https://portalnew.entervo-cloud.nl/view ... js:1:37981</a>) at Object.fireWith [as resolveWith] (<a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/_Bundles/app-layout-libs.min.js:1:38747">https://portalnew.entervo-cloud.nl/view ... js:1:38747</a>) at Object.a.(anonymous function) [as resolve] (<a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/_Bundles/app-layout-libs.min.js:1:40703">https://portalnew.entervo-cloud.nl/view ... js:1:40703</a>) at Function.handleResponse (<a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/_Bundles/app-layout-libs.min.js:1:1200700">https://portalnew.entervo-cloud.nl/view ... :1:1200700</a>) at Object.<anonymous> (<a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/_Bundles/app-layout-libs.min.js:1:1199050">https://portalnew.entervo-cloud.nl/view ... :1:1199050</a>) at c (<a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/_Bundles/app-layout-libs.min.js:1:37981">https://portalnew.entervo-cloud.nl/view ... js:1:37981</a>) at Object.fireWith [as resolveWith] (<a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/_Bundles/app-layout-libs.min.js:1:38747">https://portalnew.entervo-cloud.nl/view ... js:1:38747</a>) at i (<a class="postlink" href="https://portalnew.entervo-cloud.nl/view-resources/Areas/App/Views/_Bundles/app-layout-libs.min.js:1:75754">https://portalnew.entervo-cloud.nl/view ... js:1:75754</a>)

Any idea's ?

Geert


2 Answer(s)
  • User Avatar
    0
    geertveenstra created

    Ok, never mind. It seems I was supposed to run gulp --prod before copying the files to IIS.

  • User Avatar
    0
    alirizaadiyahsi created

    Thanks for feedback!