Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2sxc for Oqtane does not work - Razor compile issue in Azure #3526

Open
jaruiz1961-ual opened this issue Dec 9, 2024 · 11 comments
Open

2sxc for Oqtane does not work - Razor compile issue in Azure #3526

jaruiz1961-ual opened this issue Dec 9, 2024 · 11 comments
Assignees

Comments

@jaruiz1961-ual
Copy link

I'm submitting a

[x] bug report => search github for a similar issue before submitting

...about

[x] edit experience / UI
[x] admin experience UI

After install the last release in
Oqtane .net 9 I get now the following error ..

image

@iJungleboy
Copy link
Contributor

This is a very odd message.
It appears the Razor compiler is running into problems.

My guess is

  1. you have some other things installed on this Oqtane, which has DLLs which are non-standard (maybe native images?)
  2. The razor compiler scans the DLLs and fails here

@tvatavuk what's your guess? can we somehow just skip "incompatible DLLs"?

@iJungleboy
Copy link
Contributor

@jaruiz1961-ual pls add more details about the installation. For example, it seems to run on Azure. Anything else?

@iJungleboy iJungleboy changed the title 2sxc for Oqtane does not work 2sxc for Oqtane does not work - Razor compile issue in Azure Dec 9, 2024
@tvatavuk tvatavuk self-assigned this Dec 9, 2024
@jaruiz-ual
Copy link

I have deleted all the folders related to 2sxc in the Oqtane ver 6.0 for .NET9 in the previous installation in Azure (when I got App.dll compiler error)
I have download (agin) the components from the Oqtane installation page.
I have added the App component to the home page of the Oqtane CMS
I have selected install 23 apps from the App menu.
All components have been installed with no error.
I have selected Accordion App for installing in the home page.
Then I get the error I showed before.
image

When I try to add a content module in the page I get the following error
image

@iJungleboy
Copy link
Contributor

@jaruiz-ual thanks for reporting this. We will treat this with high priority and get back to you.

@iJungleboy
Copy link
Contributor

@jaruiz-ual could you give a few more details about the setup? Oqtane Version (6?) and Render/interactivity modes would be helpful.

@jaruiz1961-ual
Copy link
Author

Oqtane version 6.0
Render mode: interactivity
Prerender: yes
Hybrid?:No

@jaruiz1961-ual
Copy link
Author

When I have tried to install the Content Module I have got the following error
image

@jaruiz1961-ual
Copy link
Author

When I try to install a App from a ZIP ...
image

@iJungleboy
Copy link
Contributor

We'll have to research this more, but I don't think we'll have it resolved till Christmas.

@tvatavuk
Copy link
Contributor

tvatavuk commented Jan 14, 2025

I tried to reproduce the problem in a fresh Azure environment but could not encounter any issues. Specifically:

  1. Azure Setup

    • Created a new Azure App Service (Windows, Premium v3 P0V3).
    • Created a new Azure SQL database (General Purpose - Serverless: Gen5, 1 vCore).
    • Both services run in Microsoft Windows environments.
  2. Oqtane Installation

image

  1. 2sxc Installation & Smoke Tests

image
image
image
image
image
image

All tests passed successfully with no errors.

@iJungleboy
Copy link
Contributor

@tvatavuk thanks for the research

@jaruiz1961-ual could you tell us what you did differently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants