Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello! I'm new to Umbraco. When a project is ran, we encountered an error: "Exception Details: System.InvalidOperationException: No factory has been set."
[InvalidOperationException: No factory has been set.]
Umbraco.Web.Composing.ModuleInjector`1.Init(HttpApplication context) +325
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo handlers) +584
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo handlers, IntPtr appContext, HttpContext context) +168
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369
[HttpException (0x80004005): No factory has been set.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +724
Any clue how this can be resolved please? Any help would be appreciated.
Did you replace Global.asax?
It happened to me when I copied my Global.asax from previous Umbraco 7 didn't realise the approach to invoking code on application start has been completely changed.
Check this link from umbraco docs here
Thank you! Yes. After I made global.asax available again in the project. That specific error went away. Now another issue came in but is now superficial and clearer in detail.
Even am getting the same error post installing the necessary packages.
However i got a pop up stating do you want to replace Global.asax i said no so that i will retain mine as it is.
Still am getting this error . Please let me know on this if you have any idea/observations while you were fixing this issue.
It will be great helpful if any one can help me out in resolving this issue. Am still facing same issue.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted