Hello,
I am trying to deploy a wisej .net core app to IIS but can´t find a way for it to run.
THe same app runs in another IIS machine, so it must be some configuration.
When I try to access the app, the loading icon shows but the app doent load
I am getting the following errors on the browser network records:
GET https://myurl.com/sl/resource.wx/wisej.css?v=3.5.6.10 net::ERR_HTTP2_PROTOCOL_ERROR
loadCss @ wisej.wx:97
(anonymous) @ wisej.wx:68
xhr.onreadystatechange @ wisej.wx:150
XMLHttpRequest.send (async)
loadResources @ wisej.wx:173
(anonymous) @ wisej.wx:49
(anonymous) @ wisej.wx:264
wisej.wx:97
GET https://myurl.com/sl/resource.wx/wisej-ext.css?v=3.5.6.10 net::ERR_HTTP2_PROTOCOL_ERROR
loadCss @ wisej.wx:97
(anonymous) @ wisej.wx:68
xhr.onreadystatechange @ wisej.wx:150
XMLHttpRequest.send (async)
loadResources @ wisej.wx:173
(anonymous) @ wisej.wx:49
(anonymous) @ wisej.wx:264
wisej.wx:123
GET https://myurl.com/sl/resource.wx/wisej.js?v=3.5.6.10 net::ERR_HTTP2_PROTOCOL_ERROR
Anyone knows what the problem may be?
Thanks
Hi Gabriel,
can you please try deploying to a new folder? Basically deploying a Wisej.NET application is very similar to deploying an ASP.NET Core application.
You might find some more pointers here:
https://docs.wisej.com/deployment/targets/iis
Best regards
Frank
Hi and thanks for your answer.
Unfortunately still not working.
Apparently it has something to do with having a previous version of the app not using .NET core on the root of IIS conflicting somehow with the .net core version in a subdirectory. The idea is to test the new version in the server before replacing the one current in production in the root.
I don´t know if this may be the cause, but apparently both version of the apps are sharing the same C:\Windows\Temp\Wisej 3\Applications\myurl.com-443 folder, despite the .net core being in a subfolder. I tried stopping the production app pool, deleting the temp folder and accessing the .net core app. The temp folder regenerates but without wisej.css, wisej-ext.css and wise.js files appearing on it.
Any other ideas I may try?
Thanks
Here are a few things you can try:
1. Since you know that the app runs on another machine, I would recommend checking your IIS settings to see if they are the same on both computers.
Go to the windows Search bar-> type “features” ->choose “turn windows features on or off” -> Expand the “Internet Information Services” box -> Check the settings on both computers and see if any are different
2.Check which folder you are directing IIS to. Make sure that it is the folder containing the Web.config file. Also double-check the Web.config file against the Web.config file from a new Wisej project to see if there are any changes made that might be causing issues.
3. Make sure that the folder that IIS is directed to has the correct permissions set.
In File Explorer, navigate to the file/folder that you are trying to run with IIS.
Repeat these steps for IUSER instead of IIS_USERS
If none of these work, please upload a small sample project and we will see if we can reproduce.
Hope this helps!
-Julie
Please login first to submit.