Home > Parser Error > Parser Error Message Could Not Load Type Global.asax

Parser Error Message Could Not Load Type Global.asax

Looks like the duplicates were caused by a failed rename. try this solution https://www.youtube.com/watch?v=LNwpNqgX7qw share|improve this answer edited Mar 27 at 18:18 answered Mar 27 at 18:13 Eng.Bassel 111 add a comment| protected by Community♦ Oct 5 at 13:22 Thank you Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="'WebApplication1.Global'" %> This error occurs when you create a new web application in asp.net using visual studio.net and without compiling the application, you try My situation was complex as it was a namespace inside a namespace problem... http://back2cloud.com/parser-error/parser-error-message-could-not-load-type-global-asax-cs.php

Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). Parser Error Description: An error occurred during the parsing of a resource required to service this request. Cries of joy rang out a half a world away when this answer was both read and applied with magnificent levels of success and sincere sensations of relief. I did find a solution that worked, which I suggest for those in the same situation: Close Visual Studio Browse to Projects\yourProject\yourProject Rename Web.Debug.config and Web.Release.config Rebuild and run your application http://stackoverflow.com/questions/11682216/parser-error-message-could-not-load-type-in-global-asax

Not the answer you're looking for? There are many problems that result in the same error. share|improve this answer answered Feb 24 at 19:29 ascriven 464 add a comment| up vote 0 down vote When you try to access the Microsoft Dynamics NAV Web client, you get What kind of weapons could squirrels use?

Left by Farrel on Feb 13, 2008 8:21 PM # re: You may receive the error "Parser Error Message: Could not load type 'WebApplication1.Global'." when browsing an asp.net pag This can Can you help me, please? It is in reference to the Excel, Word and PowerPoint .DLL's. Thank you! –moshjeier Mar 24 '12 at 20:37 Worked for me as well - isn't this a bug? –Matt Wilko Jul 5 '12 at 13:41 And check

But on this particular site, it was the only way to push items to the server. Parser Error Message: Could not load type 'webmarketing'. THANKS! –Erikest Jul 26 '12 at 17:27 1 Our problem was the install project had the Primary Output pointed at a "bin" folder, so its compiled dll ended up in http://stackoverflow.com/questions/2005747/could-not-load-type-namespace-global-causing-me-grief Parser Error Message: Could not load type 'Worldfreezone.Global'.Source Error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="My_Web.Global" %> Left by Anu on Jan 02, 2008 1:38 AM # Error<%@ Application Codebehind="Global.asax.vb" Inherits="My_Web.Global" %>

Any chance please let me also know to fix. Of course the app was targeting framework 4.5, so changed App pool to 4.0 from default app pool, which was there earlier. I after a little bit discovered that simply building the website before trying to run solved my problem. This solution worked for me. –Christopher Mar 13 '12 at 20:54 Bingo, this is the solution that worked for me as well.

Asking for a written form filled in ALL CAPS A word generalizing over inputs and outputs (of a system) Generating Pythagorean triples below an upper bound Would there be no time http://stackoverflow.com/questions/1120329/error-could-not-load-type-mvcapplication Open the WebApplication1.vbproj file in NOTEPAD. Join them; it only takes a minute: Sign up ASP.NET Error: Parser Error Message: Could not load type 'webmarketing' up vote 10 down vote favorite 5 After finishing the web application share|improve this answer answered Oct 23 '08 at 1:33 Mark Glorie 2,75112130 I've read this elsewhere, but all mine are not partial and they work. –Nelson Rothermel Feb 5

Please explain your problem in more detail.. his comment is here Interpolation of magnitude of discrete Fourier transform (DFT) Movie about a board-game that asks the players touchy questions "Surprising" examples of Markov chains Teaching a blind student MATLAB programming How can I deleted the project and made a new one with a different name with no problems. It appears that this happens when you launch more than one web application from the same port number.

Parser Error Message: Could not load type 'my_Web.Global'.Source Error: Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="my_Web.Global" %> Left by Anu on Jan 02, 2008 1:40 AM # You may receive the error 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 I believe the root cause is simply that the solution is unable to resolve dependencies correctly. http://back2cloud.com/parser-error/parser-error-message-could-not-load-type-global-asax-vb.php For your example, you should have the following: namespace Inventory1 { public class Global { ... } } Note: avoid names like Inventory1.

The more correct solution would have been to have just used web config transforms on publish. I have a new guy joining the group. I have tried to open my project as solution and it resolved my problem.

HTH share|improve this answer answered Feb 13 '13 at 7:14 community wiki TonyG add a comment| up vote 2 down vote I know there are lots of solutions to this already,

thnx alot Reply albertpascua... and re-Build the solution Left by JohnG on Apr 23, 2006 11:11 AM # re: You may receive the error "Parser Error Message: Could not load type 'WebApplication1.Global'." when browsing an If I had to guess, I'd put my money on a compilation error. Left by Robert on Nov 16, 2006 4:40 PM # re: You may receive the error "Parser Error Message: Could not load type 'WebApplication1.Global'." when browsing an asp.net page Finally I

I am accessing with domain credential and not with 'pass through' authentication. I changed the name of the Project and the name of the class but neglected to change the "Assembly Name" or "Root namespace" in the "My Project" or project properties. I was having a problem with boomtrek.partners and realized that in IIS I had originally added it as a web app. navigate here I upgraded the app to 2.0, converted to web application, but never changed the app pool: Version Information: Microsoft .NET Framework Version:1.1.4322.2490; ASP.NET Version:1.1.4322.2494 share|improve this answer answered Apr 11 '12

Solution 4 Accept Solution Reject Solution Hi, what i did to solve my problem giving the same message was to go to IIS and check if it is configured as an Application or Then make sure all projects and getting built, and this won't be a problem. share|improve this answer answered Sep 3 '11 at 9:09 community wiki Gautam Jain Didn't notice because the bleepity-bleep Error List said it was HAPPY!!!!