DotNetNuke 9.4.4 - No service for type 'DotNetNuke.UI.Modules.IModuleControlPipeline' has been registered - dotnetnuke-9

After upgrading from 9.0.2 to 9.4.4, our site now shows the following error.
DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.PageLoadException: Unhandled error loading page. ---> System.InvalidOperationException: No service for type 'DotNetNuke.UI.Modules.IModuleControlPipeline' has been registered.
The site comes up properly on initialization; however, on the refresh it shows a 500 internal error.
In version 9.0.2 or less, we usually deploy our site with the publish setting "Precompile during publishing" using Visual Studio.
With this new version 9.4.4, the precompile setting seems to be generating the error mentioned above. When the precompile setting is unchecked; the error message is no longer an issue and the site seems to function properly.
I have been trying to find and implement ideas on how to resolve this error for many days now, any help would be appreciated!

Make sure you installed .Net Framework 4.7.2 which is required for DNN 9.4.4.

Related

Failed to load resource : 404 error when changing ASP.NET MVC server from IIS Express to Local IIS

I wanted to host my ASP.NET MVC app in a LAN network. So I changed the server to Local IIS and that's when the 404 error appeared. Only the home page is loading ok, but all actions in controller that I have defined in my app are not found and the 404 error is being thrown.
Maybe I got it wrong when configuring IIS or my app. Please help!
I have already tried the but i didn't help.
check .net version for this apppool at iss and version of your target framework in your project.
I faced a similar issue while playing a video uploaded through the same application.
It was playing on my local machine while but when I published the project I was giving
Failed to load resource 404 error.
It was MIME Types error the video/mp4 was not added in IIS MIME Types.
follow these steps to add MIME Type in IIS

HTTP Error 500.22 - Internal Server Error - MVC 5 Application From IIS

I am really stuck with an issue in my MVC 5 application from IIS 7.5 sever. Application works fine in my local developing environment but it failed in server. I am sure that the issue is related to URL routing. I can sea my application home page but if i take some link(Link to any application route(Page)), then IIS is showing 500.22 issues.
I tried many solution to fix this issue.
1- Changed mode from Integrated to Classic
2- Added some patches mentioned in https://support.microsoft.com/en-us/kb/980368
3- validateIntegratedModeConfiguration="false"
Finally i installed MVC in my server machine also. Still no hope. Keep getting 500.22 error in case of route. I added some log writing functionality but i coudn't find any log related to that. In case of routing something else happen from IIS.
I am really stuck with issue. If anyone know any info related to this. then please help me.
Thanks in Advance.

Umbraco 6 on Azure: UmbracoModule Service Unavailable

I'm deploying a new Umbraco 6 installation to Azure, and I've run into a problem I can't seem to diagnose.
Here are the steps I took to get the site deployed:
Created new MVC 4 project in VS2012
Installed UmbracoCms 6.0.0 via NuGet
Tested locally: SUCCESS
Set up correct connection string for Azure in Web.config (via transform)
Deployed to Azure using Web Deploy
Unfortunately, when I navigated to the Azure instance, I get a blank page with "The service is unavailable." I enabled detailed logging in Azure, and looked at the log files. There wasn't much that suggested a solution to me. This is what the detailed error says:
Module: UmbracoModule
Notification: ResolveRequestCache
Handler: PageHandlerFactory-Integrated-4.0
Error Code: 0x00000000
I'm out of ideas at this point...any ideas?
I've just gone through the steps of what you describe. I created a MVC4 project and downloaded Umbraco 6 via Nuget. What I did notice was that I had to 'include' a fair number of file into the project structure in the VS solution explorer.
I ran the website locally and ran an install just using SQL CE.
I created a website on Azure and I downloaded the .PublishSettings file and imported this into the Web Deploy options in VS. I then published the site 'as is' just to see what happened. I didn't expect the database to work but I just wanted to make sure that the application ran ok and I could at least access the Umbraco login screen.
When I accessed the site, it worked as expected and I could access the login screen at /umbraco/
Given the problems you are having, although this sounds simple, did you 'include' all the files in the solution explorer before deploying?
If you are still having issues, I would doing what I have done and just setting up another very simple site to test your deployment process. I have to be honest, I was surprised how easy it is.
I've just been through the same steps with the simple blog and it was quite hard. I didn't include anything into Visual Studio (except it's 2010 and I downloaded the publish profile) and the site ran fine locally.
On uploading Umbraco 6 to azure I got 'Could not load file or assembly MySql.Data, ' etc. .net error. Of course, it was there.
On repeating my deployment steps, swapping between Visual Studio, Web Matrix and Sql Azure Migration Wizard, checking it was release config on build etc. (not that it should need building) I got various 'The page cannot be displayed because an internal server error has occurred' on a blank white screen, and 'Could not load My.Sql' errors.
Coming back to it the next day, I deployed again, and my user had lost its role membership in the database. I ran the EXEC sp_addrolemembers again, and lo, the site now works. I wish I could be more specific on what went wrong and what got fixed, but it's all a bit voodoo.
I second what Digby said - make sure all your includes are, well, included and keep on deploying. I think azure is having a bit of a do lately, there was an outage last week on 23rd Feb.

.NET MVC Error 500 when publishing to production server

My MVC website is working perfectly on my debug machine when I press F5 in Visual Web Developper Express 2010. I've publish it a couple of time without problem but I did a lot of change lately and my latest publish didn't work as expected.
In fact, the publish works perfectly and no special message are shown. But the problem is that when I connect to the adress, I get an error 500. I google that and add the required web.config info so I get the detailed info.
Here is the information I get:
HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has
occurred.
Module: AspNetInitializationExceptionModule
Notification: BeginRequest
Handler: ExtensionlessUrlHandler-Integrated-4.0
Error Code : 0x00000000
Can anyone point me in the right direction to debug this? I can give you more information about my application if necessary!
Thanks!
Ok I found this myself with the help of the helpdesk and google.
Helpdesk send me to a link on how to show more error on the website.
Then I saw my error was "Access to the path XXXX is denied". This was related to the ClientDependency framework and was trying to access a path that doesnt exist on the server
I discovered on google that this path was specified in the web.config so I change the path.
Wasn't working more so I went on the server and changed the permission on this folder
It worked.
Hope this might help someone one day!

MVC 3 Project Deployment

I´m trying to deploy an MVC 3 project to my server runing IIS 7.
I tried creating a package with VS2010. The resulting zip-file I moved to the server and imported this to the IIS7. This is going well so far. I can also open the loginpage in the browser, but when logging-in (Database query for checking login data ) there comes a message "Sorry, an error occurred while processing your request."
How do I have to deploy? Are there other ways? I manage the database connection via a dll. I also tried to connect to localhost but this didn´t work either.
Thanks
http://www.iwantmymvc.com/2011-03-23-bin-deploy-aspnet-mvc-3-visual-studio

Resources