Parser Error Message Could Not Load Type Line 1
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about parser error message could not load type global hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask
Could Not Load Type Aspx
Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join an error occurred during the parsing of a resource required to service this request asp net them; it only takes a minute: Sign up Parser Error Message: Could not load type 'TestMvcApplication.MvcApplication' up vote 144 down vote favorite 30 I am getting the following error on one of our production servers. Not sure why it
Could Not Load Type C#
is working on the DEV server? 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 'TestMvcApplication.MvcApplication'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="TestMvcApplication.MvcApplication" Language="C#" %> Source File: /global.asax Line: 1 Not sure if anybody came across this error before and how it was solved, but I have reached parser error could not load type inherits the end. Any help would be appreciated. I also need to mention that this is the published code, so all is compiled. Can there be something wrong with my compiler settings? .net asp.net-mvc share|improve this question edited Nov 28 '10 at 16:33 p.campbell 56.2k49187272 asked Oct 21 '09 at 5:07 Riaan Engelbrecht 814277 possible duplicate of Could not load type MvcApplication –Alexander Prokofyev Mar 17 '11 at 14:07 15 Exit Visual Studio & restart fixed it for me. –RickAndMSFT May 3 '13 at 18:05 delete global.asax file and add a new one, and you will be alright. –DotNetGeek Jul 8 '13 at 7:51 This happened to me when deploying a previously working application. Something in IIS (7) got into a bad state; resetting IIS fixed the problem. –BurnsBA Sep 21 at 12:34 add a comment| 38 Answers 38 active oldest votes 1 2 next up vote 150 down vote None of the other answers worked for me. I fixed my error by changing the web project's output path. I had had it set to bin\debug but the web project doesn't work unless the output path is set to simply "bin" share|improve this answer edited Jul 7 '15 at 19:25 Community♦ 11 answered Oct 13 '11 at 18:16 Brian Leeming 5,36431639 This was my problem, caused me so much grief because none of the other so
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about
Parser Error Message Could Not Load Type '_default'
Stack Overflow the company Business Learn more about hiring developers or posting ads with
What Is Parser Error
us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is parser error global.asax line 1 a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Parser Error Message: Could not load type 'sometype' up vote 10 down vote favorite http://stackoverflow.com/questions/1598829/parser-error-message-could-not-load-type-testmvcapplication-mvcapplication 3 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 http://stackoverflow.com/questions/15071220/parser-error-message-could-not-load-type-sometype 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! c# asp.net global-asax share|improve this question edited Feb 26 '13 at 1:05 webaware 1,8981226 asked Feb 25 '13 at 16:10 AnchovyLegend 3,2031864132 Don't expect us to magically solve your problems by providing only two lines of code that does't mean anything to us more than they do to you!.. Please explain your problem in more detail.. Why are you inheriting Inventory1.Global class for the global.asax ? Do you know anything about global.asax and how it is formed? is there anything else in that file? what are the contents of the Global object? –Kemal Emin Feb 25 '13 at 16:16 1 As you figured it out, you seem to be missing the Inventory.Global which should be located in Inventory1.dll in the /bin folder of your webapp. (Re)Building the whole webapp seems like a good idea –jbl Feb 25 '13 at 16:16 add a commen
360 games PC games https://support.microsoft.com/en-us/kb/306155 Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet parser error Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All could not load Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft