DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

No service for type 'DotNetNuke.Abstractions.Application.IApplicationStatusInfo' has been registered.

 7 Replies
 2 Subscribed to this topic
 33 Subscribed to this forum
Sort:
Author
Messages
Growing Member
Posts: 54
Growing Member

I'm trying to upgrade a dnn 9.13.9 to DNN 10 and I get this errror. I've already upgraded a couple sites and never seen this one before. Any ideas?

 

No service for type 'DotNetNuke.Abstractions.Application.IApplicationStatusInfo' has been registered.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: No service for type 'DotNetNuke.Abstractions.Application.IApplicationStatusInfo' has been registered.

Source Error:

 

<code>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>


Stack Trace:
 

<code>&#91;InvalidOperationException: No service for type 'DotNetNuke.Abstractions.Application.IApplicationStatusInfo' has been registered.&#93;
   Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) +213
   Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider) +104
   DotNetNuke.Common.Globals.OnDependencyProviderChanged(Object sender, PropertyChangedEventArgs eventArguments) +27
   DotNetNuke.Web.Common.LazyServiceProvider.SetProvider(IServiceProvider serviceProvider) +62
   DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication.Application_Start(Object sender, EventArgs eventArgs) +190

&#91;HttpException (0x80004005): No service for type 'DotNetNuke.Abstractions.Application.IApplicationStatusInfo' has been registered.&#93;
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +475
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo&#91;&#93; handlers) +118
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo&#91;&#93; handlers, IntPtr appContext, HttpContext context) +176
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +220
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +303

&#91;HttpException (0x80004005): No service for type 'DotNetNuke.Abstractions.Application.IApplicationStatusInfo' has been registered.&#93;
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +657
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +89
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +189</code>
Vicenç Masanas
Disgrafic ITec SL Banyoles - Spain
Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Strange, that should be registered by DNN at startup. My best guess is something went awry on this upgrade, I would take a look at portals\_default\logs to see if there is any clue in the logs of the day as well as the InstallerLog files in same folder. If you find nothing there, then I would probably just check permissions and redo the upgrade...
Growing Member
Posts: 54
Growing Member
Daniel, the only thing I see on the logs after an install intent is this

[code]
2025-11-04 08:19:59.984+01:00 [MONSTRU][D:3][T:29][ERROR] DotNetNuke.Web.DependencyInjectionInitialize - Unable to configure services for DotNetNuke.Startup, see exception for details
System.TypeLoadException: Method 'ExportPortalTemplate' on Type 'DotNetNuke.Entities.Portals.Templates.PortalTemplateController' in assembly 'DotNetNuke, Version=10.1.2.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
en DotNetNuke.Startup.ConfigureServices(IServiceCollection services)
en DotNetNuke.Web.DependencyInjectionInitialize.ConfigureAllStartupServices(IServiceCollection services)

[/code]
Vicenç Masanas
Disgrafic ITec SL Banyoles - Spain
Growing Member
Posts: 54
Growing Member
I've reapplied all permissions to the folder and no change, I don't think it's a permission issue.
The site was 9 something and I could upgrade to 9.13.9 perfectly yesterday. The problem is when trying to go to version 10.
Vicenç Masanas
Disgrafic ITec SL Banyoles - Spain
Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Strange, does DotNetNuke.Web.dll and DotNetNuke.dll have the same file version? (you can see that in the file properties, details tab)
Growing Member
Posts: 54
Growing Member
Yes, both on 10.1.2
Vicenç Masanas
Disgrafic ITec SL Banyoles - Spain
Growing Member
Posts: 54
Growing Member
Daniel, any idea on how to check what might be failing to be registered for the dependency injection?
I now have two completely unrelated installations with the same problem and around ten others that I could upgrade without any problem.
Vicenç Masanas
Disgrafic ITec SL Banyoles - Spain
Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
I don't really have more clues, is there anything on those instances that is different than others, like multi-server or azure or such? Are they on the same server as the instances where it worked fine or not? If not, do you have at least SQL Server 2017 and .NET Framework 4.8 on it? Did you attempt a restore and retry the upgrade and it always happens, or is it maybe just a fluke?

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved