DNN upgrade - Portal.css not loading - dotnetnuke

We got a DNN website which was working on V.8.00.04 version. we upgraded this site from 8.00 to 9.01.01 version by following the steps mentioned in the DNN website. The upgrade was not too fast and we didn't see any issue while the upgrade was done. How ever, the site does not load any of the portal/css or portal/files. Basically the site loads without style sheet. I am seeing server 500 error for portal/files in the developer tools. Any help on how this can be fixed? thanks
Fix I tried:
I checked the portal folder and all the skins and styles are residing there
Changed the app pool to v.4.5 classic mode - no impact
Checked on the back-end for portal paths and everything looks clean

Related

Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR in our React app with .Net core 3.1

I am facing following error in our React with .NET core 3.1 application. Our application was working perfectly until yesterday. Today my system auto rebooted post windows auto updates after that my application stopped working.
The home page is blank and the following error in chrome and Edge browser.
"Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR"
Updating Visual studio to Version 16.9.7 fixed the issue for me.
https://learn.microsoft.com/en-us/visualstudio/releases/2019/history#installing-an-earlier-release
See some discussion here, they mention that the root cause is KB5003637 windows update installed. It also happens in my case: two days ago the app started to have errors like yours.
One of solutions is to uninstall the patch until MS releases a second patch.
I can add that I'm getting the same error in Blazor. I thought it was just a VS thing, but my live website is also failing randomly (about 1 time in 20). So it looks a lot like a Windows problem.

IntelliJ IDEA run AngularJS project

How can I run my AngularJS Application in the IntelliJ IDEA? I use the last version of the IntelliJ IDEA and I installed the AngularJS support with the IntelliJ IDEA AngularJS Plugin. I wonder, that I cannot define some Server Run/Debug Configuration (like Tomcat) to run my application.
Is there a way to do this?
EDIT: Or there is some other way to deploy the application? I cannot find any suitable Run/Debug Configuration to somehow deploy my project locally.
Well, you need an application server to run the application. I'm using IntelliJ Idea with a local JBoss.
Build your modules and deploy them on the JBoss. You can even use an automated front-end build process with bower and gulp.
If you are only using javascript you don't even need a local server running, js is executed in the the browser. A JBoss, Tomcat or other application server is used for your server logic (e.g. Java code).
A 'lisa p' says:
You need an application server to run it locally on, such as JBoss.
Unless it's a static application (i.e. no dynamic content) in which case, just open your index.html file in a web-browser.
Ideally, if you wanted to continue to develop more pure AngularJS projects, then use Jetbrains' WebStorm IDE instead of their IntelliJ IDEA IDE.
IntelliJ is for Java Development, WebStorm is for Web and JavaScript Development.
To run Angular application without Tomcat/JBoss, we need to create a "JavaScript Debug" configuration. To do this, follow the instructions below.
In intellij menu bar, Choose Run --> Edit Configurations
Click green plus (+) sign and choose "JavaScript Debug"
For the value in URL box, navigate to the index.html file by clicking the little button[...] next to URL field
For the rest of the values in the form, follow the screenshot below

Need guidance in debugging this DNN issue

I'm a beginner with DotNetNuke and am having trouble debugging this problem. We are using DNN version 5.
On our local development machines our DNN site renders just fine. But we recently deployed to our test server and on there the site only renders fine when logged in as the Host. When viewing the site as just a normal visitor, all the styles are messed up -- it is just a white page with images gone and menus stacked vertically.
Clues / Notes:
We recently added a new .ascx and module
There are javascript errors, but it hard to tell what is causing them
You may ask about the Log Viewer screen. I looked there and I see exceptions, but I think the exceptions there are unrelated ( will look into this)
Works fine in our local dev environment
In server, only renders fine when logged on as Host
What are some steps I can take to try to debug this? Where else can I look besides the Event Viewer to see what is going on here?
Thanks!
What is the "new .ascx" that you deployed? Is that a skin page?
If something is wrong in the skin page and it is the default site page (under Admin > Site Settings), that would explain why non-admin users have issues, but Admin/Host users (where the site's Edit skin is working) don't have issues.
This solved it:
https://stackoverflow.com/a/3831419/614263
Due to permission settings it looks like IIS was blocking requests from the root to javascripts and css files. When looking at the Network traffic in FireFox I noticed that 404 errors were coming from "login.aspx?ReturnURL=../../blahblah.css"
Thanks for all your help and suggestions.

Upgrade DNN Community to Evoq Content

I am trying to upgrade from the free version of DNN (Community Edition, 7.01.02) to Evoq Content (paid, 7.02.00).
I unzip the install, Evoq_Content_07.02.00_Install.zip, over the top of my Community web site and after triggering the upgrade process by hitting the site, the upgrade succeeds. However, when I view the site after the upgrade, the site's a mess.
One issue seems to be that the HEAD tag is missing lots of goodness, like:
references to stylesheets
references to javascript libraries, including jquery
Is there a well-defined process for the upgrade that I'm missing? Or is this particular upgrade troublesome?
You should be using the UPGRADE package, not the INSTALL package when upgrading.
That being said, the StyleSheets and JS errors would most likely be a problem with your Skin if I had to guess, but I would start by trying the upgrade with the UPGRADE package instead.
Mark,
I have done the upgrade from Community to Social. Like Chris mentioned, you need to use the upgrade package, not the install. After that though, you still have to do several configuration steps.
The upgrade will not configure the site like the installation package. I suggest creating another environment with a full install of Evoq Social and copy(re-create) the pages/configurations from that environment to your upgraded environment. Here are some of those items you need to copy:
Game Admin page and Admin menu item
User Profile / Activity Feed page
User login skin token
Any social module pages
By the way, I had a conversation with the DNN team and this was their suggestion.

CustomerManager angularjs by DanWahlin

I m trying to learn Angular.js framework, getting examples on internet "CustomerManager angularjs by DanWahlin" demo seemed comprehensive and downloaded the code from Github "https://github.com/DanWahlin/CustomerManager" .
But when I try to open the index.html, it doesn't show anything. am I doing some mistake??
other examples that I downloaded like TODO using angular work fine.
Also if anyone can share some real time examples as to how the code is generally organized in PROD then it will be very helpful.
Thanks.
It is because the files are not supposed to be opened in a browser directly from the file-system.
(Many src, href etc attributes break.)
You have to follow the instructions on the Readme.md file. E.g. on Windows:
The following is required to support the backend services:
Visual Studio 2012 Web Express (free version) or higher - http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products#product-express-summary
ASP.NET MVC and Web API are used for the back-end services along with Entity Framework for database access (included if you have VS 2012 express installed)
To get started, double-click the CustomerManager.sln file located at the root of the CustomerManager repository. Once the solution loads press F5 to run the project.

Resources