Could not load type 'Umbraco.Web.UmbracoApplication'. running in Visual Studio
Hi All,
When running my 4.11.1 instance of umbraco in visual studio I get the following YSOD. Anyone any ideas?
Kind regards,
Garret
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of
a resource required to service this request. Please review the
following specific parse error details and modify your source file
appropriately.
Parser Error Message: Could not load type 'Umbraco.Web.UmbracoApplication'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %>
Source File: /global.asax Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
If you upgraded from a previous version make sure that app_global_asax.dll is removed as well as check if there are some other dll's present in your bin that are not in the 4.11.1 download and see if they can be deleted.
I have the same problem... I created a new empty ASP.NET Web Application using .NET Framework 4.5.1. Then I installed Umbraco thrue Package Manager Console using Install-Package UmbracoCms". I replaced Web.config.
After installation is done and I press CTRL+F5 I get the same error.
So the solution is to delete all the files and blabla...? How is the support/work on Umbraco? I mean, if you even cant install Umbraco to a clean web site without errors and a problem like this hasnt been fixed on two years?
I have got the same error, Anyone have found a solution for that? something in the bin folder (core)... No idea. I'm changing things a day and I didn't get nothing...
I get this error too while installing the Umbraco 7.4.3 in VS2012.
I find a solution in this post.
and I dig more, if your project already named 'Umbraco', just change Assembly name to another name that will solve this problem.
Could not load type 'Umbraco.Web.UmbracoApplication'. running in Visual Studio
Hi All,
When running my 4.11.1 instance of umbraco in visual studio I get the following YSOD.
Anyone any ideas?
Kind regards,
Garret
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load type 'Umbraco.Web.UmbracoApplication'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %>
Source File: /global.asax Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
If you upgraded from a previous version make sure that app_global_asax.dll is removed as well as check if there are some other dll's present in your bin that are not in the 4.11.1 download and see if they can be deleted.
I deleted all the files* in the following folders
I have the same problem... I created a new empty ASP.NET Web Application using .NET Framework 4.5.1. Then I installed Umbraco thrue Package Manager Console using Install-Package UmbracoCms". I replaced Web.config.
After installation is done and I press CTRL+F5 I get the same error.
So the solution is to delete all the files and blabla...? How is the support/work on Umbraco? I mean, if you even cant install Umbraco to a clean web site without errors and a problem like this hasnt been fixed on two years?
Hi!
I have got the same error, Anyone have found a solution for that? something in the bin folder (core)... No idea. I'm changing things a day and I didn't get nothing...
Anyone?
Regards!
I think you set the name of project is "Umbraco". Just change name of project to another name and this bug will be fixed.
And don't forget to rename the assembly name in the project's properties too.
Excellent, it worked for me.
We are frustrated by this, also, and yet to find anything that resolves the issue. Hard to understand how this could persist for over three years.
Hi Dev Friends
This problem can be solved by renaming you project name, if have set it to Umbraco.
still have problem.
select project node in solution explorer and right click and select properties , and change name of assembly and default namespace to something else
solve problem
Another solution is to change the .Net framwwork of the project.
I encountered the same problem while installing the Umbraco 7.2.5 , after that i change the framework to 4.5 and it worked.
Hope it will help.
Regards,
Urvish Mandaliya
I get this error too while installing the Umbraco 7.4.3 in VS2012. I find a solution in this post. and I dig more, if your project already named 'Umbraco', just change Assembly name to another name that will solve this problem.
Thx! It works for me!
Hey guys, if anyone having issue with this error on Umbraco 8 than please update your .Net framework to ASP.NET 4.7.2. Sorted for me at least.
is working on a reply...