Solved

Could not load the assembly 'App_Web_jri5b8jc'. Make sure that it is compiled before accessing the page.

Posted on 2011-03-01
5
419 Views
Last Modified: 2012-06-27
hi there,
Im getting this error after i called my page:
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_jri5b8jc'. Make sure that it is compiled before accessing the page.

Source Error:


Line 1:  <%@ page language="VB" autoeventwireup="true" inherits="Contacts, App_Web_jri5b8jc" %>
Line 2:  
Line 3:  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

Source File: /site_flash/Contacts.aspx    Line: 1

Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209

I have check the bin folder and the dll App_Web_jri5b8jc.dll actually does exist. I have removed everything from the folder and recompiled (meaning publish the website once again) and copy and paste to the directory and not luck. get the same error with a different dll name obviously.
How can i solved this issue? i have spend a few hour online trying to solve the issue but they refer me to hot fix but it does not do anything.

It works on local machine, but not remote server
Im working on VS 2005
Thanks,
COHFL
0
Comment
Question by:COHFL
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:Rick
Comment Utility
Have you renamed the page recently?
If so, check the Inherits="partial_class_name"
Make sure that "partial_class_name" is the same as stated in your codebehind file.
0
 

Author Comment

by:COHFL
Comment Utility
i haven't change anything. I published it and thats it
0
 
LVL 13

Expert Comment

by:Rick
Comment Utility
Well, have you checked if the partial class name matches what is in the page's markup file?
0
 

Author Comment

by:COHFL
Comment Utility
actually the problem gto resolved when i put the dll on the root of the directory under wwwroot/bin instead of the directory where the app resides any reason why this happens?
0
 
LVL 13

Accepted Solution

by:
Rick earned 500 total points
Comment Utility
ASP.NET only reads the bin directory of the application root.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now