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
524 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:Rick
ID: 35011506
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
ID: 35012093
i haven't change anything. I published it and thats it
0
 
LVL 13

Expert Comment

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

Author Comment

by:COHFL
ID: 35017611
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
ID: 35017881
ASP.NET only reads the bin directory of the application root.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
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 …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

729 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