Home > Parser Error > Parser Error Message Could Not Load File

Parser Error Message Could Not Load File


I think it's problem of .net framework version. Then which version of .NET Framework you use? I made the above change and voila...it worked... Thanks Reply NandaDodd None 0 Points 1 Post Re: Parser Error: Could not load type '_Default'. http://back2cloud.com/parser-error/parser-error-message-could-not-load-file-or-assembly.php

Do you need your password? references had been removed (for some unknown reason) for the file that was having this error. When you try to load your application, you get the Parser Error message. At the bottom of my error page I could see that the asp.net version was set to 1.4(something).

An Error Occurred During The Parsing Of A Resource Required To Service This Request Asp Net

I had named my project 'interface' which when I got the parse error it said that it couldn't load: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="@interface.MvcApplication" Language="C#" %> Where there was an Jan 11, 2010 06:23 PM|rodneyaz|LINK Ihad anID-10-Tand PEBKAC error. :) I setup my virtual directory as "service", which was stored in a subfolder on the web server (ie: ftp://ftp.mydomain.com/service/webapp/) When I On the Build tab, check the value of "Platform Target". As 64 bit IIS worker process can only load 64 bit ASP.NET assemblies, it will fail to load yours because they are explicitly marked as x86 only.

I deleted the app and installed a new copy and a new version, both are doing the same thing. It smartly renamed the related aspx.cs and aspx.designer.cs files as well. In both cases, make sure you check the settings both for debug and release mode - otherwise you'll get it working on your machine but not when you deploy it! Could Not Load Type Aspx I found that two of the

What about the OS bitness, 32-bit or 64-bit? 2. Terms of Service Layout: fixed | fluid CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100 Blog Sign in Join ASP.NET Home Get Started Learn Hosting Downloads So i right clicked it and Manage Virtual directory > Advanced Settings > convert to Application changed the icon of virtual directory to a green earth icon. http://stackoverflow.com/questions/14800550/parser-error-when-deploy-asp-net-application Left by Mydeen on Aug 07, 2008 11:42 PM # re: You may receive the error "Parser Error Message: Could not load type 'WebApplication1.Global'." when browsing an asp.net pag hi ,

This solution worked for me. –Christopher Mar 13 '12 at 20:54 Bingo, this is the solution that worked for me as well. Could Not Load Type C# C:\Inetpub\wwwroot\Example2. Does anyone know how to make it work? Another option is to copy off all your code from Global.asax.cs and then delete and create another Global.asax file (and then copy the code back into Global.asax.cs).

Parser Error Message: Could Not Load Type

Parser Error Description: An error occurred during the parsing of a resource required to service this request. Left by LE on Mar 18, 2008 6:50 AM # re: You may receive the error "Parser Error Message: Could not load type 'WebApplication1.Global'." when browsing an asp.net pag Thanks for An Error Occurred During The Parsing Of A Resource Required To Service This Request Asp Net Optional Password I have read and agree to the Terms of Service and Privacy Policy Please subscribe me to the CodeProject newsletters Submit your solution! What Is Parser Error I have searched the web and also readTom Hollander's blog and it does not say anything about this specific problem.

Error. 2. click site Strange error! –Sune Rievers Dec 2 '10 at 9:18 4 +1 Me too. Very stupid. Your Email Password Forgot your password? Parser Error Application Codebehind Global Asax Cs

For example the assembly is placed in the BIN folder but the project is referencing it from the GAC or vice versa. what does all of this mean? Browse other questions tagged asp.net parsing deployment or ask your own question. news Did you load the page up in your local environment? (dev web server, IIS express or full IIS locally) –Oded♦ Feb 10 '13 at 17:41 Yes it is local

I also need to mention that this is the published code, so all is compiled. Parser Error Could Not Load Type Inherits Therefore, your application will not be referencing the bin folder of your application. Not the answer you're looking for?

Sep 02, 2005 01:04 PM|NateM|LINK I was also hitting this error and just got around it this morning.

In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms asp.net asp.net-mvc-3 share|improve this question edited Aug 22 '14 at 19:32 Malachi 2,41141740 asked Jul 27 '12 at 5:56 PsychoCoder 5,47172851 5 Do you really have GodsCreationTaxidermy.Core.MvcApplication class in your So, to solve the problem I just left the Global.asax code inaltered and put the Global.asax.vb file (you can find it in any zip file of the Dotnetnuke) in the App_Code <%@ Application Codebehind="global.asax.cs" Inherits=" Mvcapplication" Language="c#" %> Sep 28, 2009 07:56 PM|mballoni2|LINK I don't think this is one of those x86 vs, 64 bit issues; all my assemblies are marked x86.

Thanks in advance for your consideration, -Mike Windows 2008 iis 7 64 bit .NET 2.0 Reply lextm 6643 Posts MVP Re: Parser Error Message: Could not load file or assembly 'XXX' Adding line to web.config fixed it for me. (You can also add to machine.config or root web.config file of the appropriate .NET framework version, I didn't try it) This took me more then 5 hours!!!! More about the author Regards, Pavlina Telerik Do you want to have your say when we set our development plans?

If unchecked, it is not always the most obvious location. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Ensure that the value is set to \bin. Deleted the dll file with the same name of your project.e.g Example.dll4.

And just like him I too did nothing to bring this albatross into my application other than maybe install a service pak or other upgrade.