Home > Parser Error > Parser Error Line 1 @ Application Codebehind= Global.asax.cs

Parser Error Line 1 @ Application Codebehind= Global.asax.cs

The value in the Inherits attribute of your Global.asax file must match a type that is derived from System.Web.HttpApplication. I have a new guy joining the group. See more: ASP.NET Visual-Studio hi, I am using asp.net MVC3 and visual studio 2010. I tried many suggestions from many pages only to find out the problem was that I had the website set to the wrong version of .Net No matter how many re-compiles http://back2cloud.com/parser-error/parser-error-application-codebehind-global-asax-cs.php

Has the acronym DNA ever been widely understood to stand for deoxyribose nucleic acid? Then the site worked and so did further publishes to the new server. share|improve this answer answered Aug 9 '11 at 16:27 Carl Wright 9111 add a comment| up vote 8 down vote I tried all above solutions but no luck. It failed. http://stackoverflow.com/questions/11596352/parser-error-server-error-in-application

Why does a full moon seem uniformly bright from earth, shouldn't it be dimmer at the "border"? Then I changed the "Inherits=namespace.class" to "Inherits=fully qualified assemble name" i.e "Inherits=namespace.class,assemblyname, Version=, Culture=, PublicKeyToken=" Hope it helps. rebuild the project. I was changing the project name and namespacing in my MVC project.

Also do a clean and rebuild - should fix the problem share|improve this answer answered Jul 27 '12 at 6:31 Peter Munnings 2,0151735 4 Modifying global.asax didn't do anything for Microsoft Customer Support Microsoft Community Forums Problem to left align within a split When did the coloured shoulder pauldrons on stormtroopers first appear? Linux questions C# questions ASP.NET questions SQL questions fabric questions discussionsforums All Message Boards...

Browse other questions tagged c# asp.net .net global-asax parse-error or ask your own question. Treat my content as plain text, not as HTML Preview 0 … Existing Members Sign in to your account ...or Join us Download, Vote, Comment, Publish. And I've tried a number of things, and by "things" I mean "wild guesses". see here What's difference between these two sentences?

Go to the folder of project in windows explorer (get out of VS). Does the code terminate? If this doesn't work and you are using local IIS, try removing the site in IIS Manager and recreating it manually. Notation for lengths more hot questions question feed lang-cs about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts

Good luck to anyone else encountering this gremlin. Please review the following specific parse error details and modify your source file appropriately. share|improve this answer answered Aug 22 at 7:03 Stanislav 1 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up I had modified the default namespace to make it a subnamespace, changing it back fixed this issue for me.

I fixed my error by changing the web project's output path. his comment is here Source share|improve this answer edited Oct 1 '13 at 18:13 Sumurai8 10.4k62352 answered Oct 1 '13 at 16:36 vignesh 2,59221647 add a comment| up vote 0 down vote I also got Should I boost his character level to match the rest of the group? Do I need to do this?

The error went away. Your Email This email is in use. I had upgraded it to a newer version, and had a nightmare getting it to deploy. http://back2cloud.com/parser-error/parser-error-application-codebehind-global-asax-cs-inherits-language-c.php the error occurs when the web page is being rendered. –Leke Okewale Oct 8 '14 at 14:54 Have you tried copying the core code (inside the class definition) deleting

Not possible.. Don't ask me why, but this has been the solution 100% of the time for me. Select “Make changes to this computer” and click “Next”.

Patent No 6,167,396.

A missing Pages section in Views\Web.config could also be at fault. Digital Alarm Clock Is this alternate history plausible? (Hard Sci-Fi, Realistic History) How to explain the existence of just one religion? Cheers. This happened right after I had tried to do an SVN revert to an older version of the project.

share|improve this answer answered Jul 25 at 14:44 tzipp 10716 add a comment| up vote 0 down vote In my case, it helps: if you use a folder other than the share|improve this answer answered Jan 13 '11 at 10:47 teedyay 15.4k115570 I was required to combine this answer with the answer from @brockstaylor below to solve this problem on How to explain the existence of just one religion? navigate here Why do you need IPv6 Neighbor Solicitation to get the MAC address?

Asking for a written form filled in ALL CAPS Has the acronym DNA ever been widely understood to stand for deoxyribose nucleic acid? Find the super palindromes! more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed