Replies: 2 comments
-
Why do you need to call While I'm working heavily with decoupled CMS, I never faced such an issue locally or LIVE, please more details to reproduce what you're facing |
Beta Was this translation helpful? Give feedback.
0 replies
-
Provide If |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using a decoupled setup everything works locally but when published (IIS) if OrchardCore is enabled I get a 404 for all my razor pages however the admin controller does work. If I comment out the
services.AddOrchardCms();
and instead use theservices.AddRazorPages();
then my pages work but the admin controller doesn't.I'm not certain but I think the issue only started after I imported a content type that has a couple of media field content parts (this is the only content type I created and I haven't enabled any other features).
For some more context I'm just referencing the
OrchardCore.Application.Cms.Core.Targets
package and my startup.cs looks like the following:Beta Was this translation helpful? Give feedback.
All reactions