I published my merged angular project to azure and created new tenant and send activation link. When I clicked the link, I got error, but activation was successfull, since I was able to login.
I found this exeption in App_Data -> Logs -> Logs.txt: TenantCustomizationController.GetTenantLogo with arguments (light, 4) - ModelState is Valid System.IO.FileNotFoundException: Could not find file: /Common/Images/app-logo-on-light.png
That image is in assests/common/images folder on the server..
What is wrong?
3 Answer(s)
-
0
My activation link was https and when I changed it to http, it worked. But this time there was no filenotfound exception, so could it be different problem?
And can someone tell me why https gives me error?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
I had http on my remoteServiceBaseUrl and appBaseUrl in servers appconfig.json. Changed to https and problem is solved.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks for the feedback @MikaTmlVertti. I guess you are using merged Angular solution. If you were using seperated solution, this would be an error which is fixed in <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/1016">https://github.com/aspnetzero/aspnet-ze ... ssues/1016</a> and will be in the next release.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)