[Resolved] I'm getting a 403 error trying to run U...
# help-with-umbraco
h
Any thoughts as to what I may have missed? App Pool user currently has full control on the folder, I have setup countless .netcore websites and never had this problem before.
mmm, well the 403 error was due to a missing web.config file??? Now I'm getting a 503 error, but nothing in the logs at all
gave the server a kick, 503 error now gone, but I just get a completely blank page, no umbraco install page, no errors.
a
Are you trying to run the source, or just a fresh umbraco install ?
h
I'm trying to run a published build
Managed to get a bit further, the site now loads ok (UI), however there seems to be an issue with the backoffice, when I navigate to /umbraco I get a blank page with a 404 error in the console for
/umbraco/backoffice/d1bf703bf76156ec47f266ccf71d67bdea9da90f/packages/core/content/index.js net::ERR_ABORTED 404 (Not Found)
m
I think I had something similar.. aspnetcore auto generated a web.config with the
AspNetCoreModuleV2
limited to a location.. if memory serves..
Copy code
xml
<location path="./">
<system.webServer>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
    </handlers>
    <aspNetCore processPath=".\Web.exe" stdoutLogEnabled="false" stdoutLogFile="\\?\%home%\LogFiles\stdout" hostingModel="inprocess" />

</location>
I just removed the location wrapper.. and backoffice was back.
just checked the commit history.. and it was actually that was removed to get it working.
Copy code
xml
  <location path="." inheritInChildApplications="false">
...
</location>
h
Unfortunately that didn't change anything
m
just checking but you have AspNetCoreModuleV2.. and the process path correct.. (the assembly file name) also did you recycle the apppool after making the web.config change?
(those are a few things I might have had wrong and had to do....)
that's the end of my experience.. hope you resolve your issues soon! 🤞
h
yes,checked all that and recycled apppool and restarted website, it just compllains about the missing index.js, for some reason Umbraco is not creating it when published, but it is there when run locally
I can open the js file in the browser when running locally
Aaaarrrrgggghhhhhh! was my ftp settings, was ignoring folders called content 🤣
getting somewhere slowly, i now get the error below when going to login page error:invalid_request error_description:The specified 'redirect_uri' is not valid for this client application. error_uri:https://documentation.openiddict.com/errors/ID2043
Sorted, it NEEDS the ApplicationUrl to be set in appsettings
186 Views