Asp Net Parser Error Could Not Load The Assembly
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 hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Parser Error: Could not load the assembly 'App_Web_ah9y-lsc' up vote 1 down vote favorite 2 The site works fine when I'm running it locally, I published it and hosted to a hosting space hired by my company via SMART FTP.There is a folder with my company's name eg. 'MyCompany'. It has sub folders such as App Data, App Code, Bin, Httpdocs,Httpsdocs...etc. I transferred my published project'UtilityServices' to Httpdocs. Then i enter www.MyCompany.net/UtilityServices/Customer_Login.aspx i got the following error. Server Error in '/' Application. 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 the assembly 'App_Web_ah9y-lsc'. Make sure that it is compiled before accessing the page. Source Error: Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Customer_Login, App_Web_ah9y-lsc" %> Line 2: <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> Line 3: Source File: /UtilityServices/Customer_Login.aspx Line: 1 Httpdocs has a bin folder and a webconfig, the hosted UtilityServices has a bin and webconfig. Is this the reason for this error. I am using VS2008 C# 3.5 Framework. c# asp.net web-hosting parse-error web-publishing share|improve this question edited Apr 26 at 23:42 madhead 7,89154786 asked Nov 3 '11 at 15:09 David John 1914918 Is there a file in the /UtilityServices/bin folder of your site with the name App_Web_ah9y-lsc.dll? –Sir Crispalot Nov 3 '11 at 15:14 yes in the bin folder of UtilityService –David John Nov 4 '11 at 10:37 It sounds like the answer suggested by @Nathan could be correct. If you've deployed the files to a subfolder of the site root, it would need to be configured as an application. You may or may not have the ability to do this depending on your host provider's configuration. It might be worth trying to republish the site to the root instead (not in a UtilityServices folder) as your
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting http://stackoverflow.com/questions/7997237/parser-error-could-not-load-the-assembly-app-web-ah9y-lsc and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge  The Insider News The Weird & The Wonderful The Soapbox http://www.codeproject.com/Questions/807745/Could-not-load-the-assembly-App-Web-lhaveiz-Make-s Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Could not load the assembly 'App_Web_3lhaveiz'. Make sure that it is compiled before accessing the page Rate this: Please Sign up or sign in to vote. See more: ASP.NET I am getting following error when i open the page. I did everything like added batch="false" also numRecompilesbeforeAppRestart="50". but still getting problem. Please help me as early as possible. 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 the assembly 'App_Web_3lhaveiz'. Make sure that it is compiled before accessing the page. Source Error: Line 1: <%@ page language="C#" autoeventwireup="true" inherits="rimage, App_Web_3lhaveiz" Line 2: Line 3:
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question http://www.codeproject.com/Questions/191006/Getting-an-error-could-not-load-the-assembly-App-w View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL http://p2p.wrox.com/asp-net-2-0-professional/59754-parser-error-could-not-load-assembly.html questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System asp net Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge  The Insider News The Weird & The asp net parser Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Getting an error'could not load the assembly'App_web' Rate this: Please Sign up or sign in to vote. See more: ASP.NET I am getting an error when trying to run a website deployed in IIS. parser error message-could not load the assemble'App_web_doc8x9lk'.make sure it is compiled before accesing the page. What may have gone wrong? Please help, I am stuck with this. Posted 3-May-11 20:52pm bsb25927 Updated 3-May-11 21:37pm Dalek Dave433.3K v2 Add a Solution Comments Dalek Dave 4-May-11 3:37am Edited for Grammar, Syntax, Spelling and Readability. 3 solutions Top Rated Most Recent Rate this: Please Sign up or sign in to vote. Solution 1 Accept Solution Reject Solution This error occurs when u have different version of .net on same IIS To solve this problem Create your Application Pool. After that assig
Unanswered Topics Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional Parser error could not load the assembly User Name Remember Me? Password Reminder Password Register Register | FAQ | Members List | Calendar | Today's Posts | Search ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum. Search Forums Show Threads Show Posts Advanced Search Find All Thanked Posts Go to Page... Welcome to the p2p.wrox.com Forums. You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free . Thread Tools Display Modes #1 (permalink) July 4th, 2007, 02:59 AM Kamal_Bhola Registered User Join Date: Jul 2007 Location: , , . Posts: 2 Thanks: 0 Thanked 0 Times in 0 Posts Parser error could not load the assembly I am uploading a web site when i open it gives me following error:- Server Error in '/fortishealthfirst' Application. 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 the assembly 'App_Web_9rcjwvbu'. Make sure that it is compiled before accessing the page. Source Error: Line 1: <%@ page language="C#" autoeventwireup="true" inherits="frmLogin, App_Web_9rcjwvbu" %> Line 2: Line 3: Source File: D:\Websites\Iridiuminteractive\Extranet\fortisheal thfirst\login.aspx Line: 1 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 Pls reply asap. Regards, Kamal #2 (permalink) July 4th, 2007, 07:54 AM gbianchi Friend of Wrox Points: 7,395, Level: 36 Activity: 0% Join Date: Jun 2003 Location: Capital Federal, , Argentina. Posts: 2,190 Thanks: 5 Thanked 59 Times in 57 Posts hi there.. your form inherits from 2 classes???? what is App_Web_9rcjwvbu???? HTH Gonzalo ================================================== =====