AnchovyLegend AnchovyLegend - 1 month ago 11
ASP.NET (C#) Question

Parser Error Message: Could not load type 'sometype'

I am experiencing an error that I am unable to resolve for some time now. I was wondering if someone can help identify the cause of this error? I am completely new to asp / asax. After some research, I think that the error I am getting is due to the web application trying to use outdated code. I was thinking to rebuild the c# file using Visual Studio and/or the entire project. However, I am completely new to C# and asp, and was wondering can give me some suggestions if this may fix the problem and/or if there is an possible alternate solution.

Error message

Parser Error Message: Could not load type 'Inventory1.Global'.

Source Error: <%@ Application Codebehind="Global.asax.cs" Inherits="Inventory1.Global" %>


Entire Global.asax contents:

<%@ Application Codebehind="Global.asax.cs" Inherits="Inventory1.Global" %>


Many thanks in advance!

Answer

Try replacing CodeBehind with CodeFile

Comments