Base solution for your next web application

Activities of "InfoCentre"

Dear Maliming:

Were you able to take a look at our complete web.config?

We are anxious to be able to get our ASPNetZero app working on https.

Thanks - Skip Weeks

I had cut and pasted the incomplete contents. Here it is again:


<?xml version="1.0" encoding="utf-8"?>

<configuration> <system.webServer> <staticContent> <remove fileExtension=".json" /> <mimeMap fileExtension=".json" mimeType="application/json" /> <mimeMap fileExtension="woff" mimeType="application/font-woff" /> <mimeMap fileExtension="woff2" mimeType="application/font-woff" /> </staticContent> <!-- IIS URL Rewrite for Angular routes --> <rewrite> <rules> <rule name="Angular Routes" stopProcessing="true"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" /> </conditions> <action type="Rewrite" url="/index.html" /> </rule> </rules> </rewrite> </system.webServer>

</configuration>


Am I missing something still?

Here's a link to the web.config file

https://www.dropbox.com/s/lj1gkfumvfw0lh6/web.config?dl=0

I have used web.config also. It's working for http urls without issues using web.config. For your reference working test environments (http://mylifehistorymatters.com, http://mylifestorymatters.org)

When i try using https(https://mylifehistoryapp.com, https://lifehistory.app), then only i am getting the below error in the client side console.

main.cc0f591fb65b72b5ada5.js:1 ERROR SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at XMLHttpRequest.i.onreadystatechange [as __zone_symbol__ON_PROPERTYreadystatechange] (main.cc0f591fb65b72b5ada5.js:1) at XMLHttpRequest.I (polyfills.f43a07710c5461fd2ff1.js:1) at t.invokeTask (polyfills.f43a07710c5461fd2ff1.js:1) at Object.onInvokeTask (main.cc0f591fb65b72b5ada5.js:1) at t.invokeTask (polyfills.f43a07710c5461fd2ff1.js:1) at e.runTask (polyfills.f43a07710c5461fd2ff1.js:1) at e.invokeTask [as invoke] (polyfills.f43a07710c5461fd2ff1.js:1) at b (polyfills.f43a07710c5461fd2ff1.js:1) at XMLHttpRequest.m (polyfills.f43a07710c5461fd2ff1.js:1)

Thanks & Regards, Dhamodharan

Our ASPNetZero application is loaded on our domain https://LifeHistory.app Since we activated SSL on our site it won't load up.

As you can see below, we cannot load our application with https. It just goes round and round forever. We can load html using http.

PLEASE help us know what we need to do to make it work.

We completely deleted the site and replaced it with a simple HTML site. That site worked perfectly under the SSL https scenario. When we reload our ASPNetZero application code it won't load.

We are tearing our hair out on this one. PLEASE HELP.

We have also tried the same thing with demo code in a different folder on a related domain at https://MyLifeHistoryApp.com and it seems to load. What is different?

Would it help for us to send you source code?

Skip Weeks

I had to fire my developer. How can I change my license password so I can restrict access to the previous developer and make it available to my new developer?

Showing 1 to 6 of 6 entries