Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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" %> 
like image 921
AnchovyLegend Avatar asked Feb 25 '13 16:02

AnchovyLegend


1 Answers

Try replacing CodeBehind with CodeFile

like image 102
Taha Rehman Siddiqui Avatar answered Sep 20 '22 03:09

Taha Rehman Siddiqui