473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Assembly could not be loaded???

KK

Hi

My Asp.NET application was working fine until today.
It suddenly start to gave me the following error.

=== Pre-bind state information ===
LOG: DisplayName = CrimeTrack.SystemFramework, Version=1.0.1563.33238,
Culture=neutral, PublicKeyToken=88698d91a4baa3ba
(Fully-specified)
LOG: Appbase = file:///D:/Projects/MS.Net/CrimeTrack/web
LOG: Initial PrivatePath = bin
Calling assembly : CrimeTrack.Common, Version=1.0.1563.33239,
Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet .config).
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\ machine.config.
LOG: Post-policy reference: CrimeTrack.SystemFramework,
Version=1.0.1563.33238, Culture=neutral, PublicKeyToken=88698d91a4baa3ba
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/crimetrack/fa2e4e53/eea02885/CrimeTrack.SystemFramework.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/crimetrack/fa2e4e53/eea02885/CrimeTrack.SystemFramework/CrimeTrack.Sys
temFramework.DLL.
LOG: Attempting download of new URL
file:///D:/Projects/MS.Net/CrimeTrack/web/bin/CrimeTrack.SystemFramework.DLL
..
WRN: Comparing the assembly name resulted in the mismatch: Revision Number

How ever my web application <BIN> folder and the <temporary ASP.NET files>
folder both contains the same assembly (CrimeTrack.SystemFramework) but
these folders have a newer version.

The above log refers to some old version!!! In my web.config I havent
redirected any assemblies either.

I tried clearing the <BIN> and <temporary ASP.NET files> folders, then
recompiled and tried to run. still the same error.

How can I get this thing cleared up? Is there a way that I can clear ALL
cache and do a CLEAN REBUILD or something?

regards
KK
Nov 18 '05 #1
1 2926
You should clear the temporary files for that application and try again

--
Abdellah Elamiri
..net Developer
Efficacy through simplicity
"KK" <kk@kk.com> wrote in message
news:e8**************@TK2MSFTNGP09.phx.gbl...

Hi

My Asp.NET application was working fine until today.
It suddenly start to gave me the following error.

=== Pre-bind state information ===
LOG: DisplayName = CrimeTrack.SystemFramework, Version=1.0.1563.33238,
Culture=neutral, PublicKeyToken=88698d91a4baa3ba
(Fully-specified)
LOG: Appbase = file:///D:/Projects/MS.Net/CrimeTrack/web
LOG: Initial PrivatePath = bin
Calling assembly : CrimeTrack.Common, Version=1.0.1563.33239,
Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet .config).
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\ machine.config.
LOG: Post-policy reference: CrimeTrack.SystemFramework,
Version=1.0.1563.33238, Culture=neutral, PublicKeyToken=88698d91a4baa3ba
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/crimetrack/fa2e4e53/eea02885/CrimeTrack.SystemFramework.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/crimetrack/fa2e4e53/eea02885/CrimeTrack.SystemFramework/CrimeTrack.Sys temFramework.DLL.
LOG: Attempting download of new URL
file:///D:/Projects/MS.Net/CrimeTrack/web/bin/CrimeTrack.SystemFramework.DLL .
WRN: Comparing the assembly name resulted in the mismatch: Revision Number

How ever my web application <BIN> folder and the <temporary ASP.NET files>
folder both contains the same assembly (CrimeTrack.SystemFramework) but
these folders have a newer version.

The above log refers to some old version!!! In my web.config I havent
redirected any assemblies either.

I tried clearing the <BIN> and <temporary ASP.NET files> folders, then
recompiled and tried to run. still the same error.

How can I get this thing cleared up? Is there a way that I can clear ALL
cache and do a CLEAN REBUILD or something?

regards
KK

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Daylor | last post by:
can shadowcopy be done with private assembly ? any info about how shadowcopy actually works ? when im compiling an assembly (while the assembly file is in use ), what i need to do ? change...
6
by: Outshined | last post by:
I have a class library where just about every class uses its static initializer to register with a central registry object in the same assembly. I am hoping for some sort of Assembly.Load event...
4
by: Arnaud Debaene | last post by:
Hello group. I have an app which can load "plugins" assemblies that are described in the registry (each registry entry gives the full path to the plugin ..dll file). The plugins may be anywhere...
1
by: Benjamin | last post by:
Hi, I'm currently writing a Web Services that interacts with a database. To allow me to use not just one database provider (for example, I could use MS Access, SQL Server or MySQL), the Web...
2
by: Razzie | last post by:
Hey all, I'm working on this project where I'm dynamically loading an assembly. Basically what I want is that I can just replace my old dll file with a new one without having to do anything...
1
by: Zachary Hartnett | last post by:
I was trying to write a routine this morning that would open a given assembly, walk the inheritance tree of classes in the assembly, and provide a list of classes in the assembly that inherit from...
2
by: Jan | last post by:
Regarding my post "CSharpCodeProvider: referencing other generated "InMemory" assembly" 4/27/2006 and the blog from Greg Young http://geekswithblogs.net/gyoung/archive/2006/04/27/76533.aspx I...
2
by: christopher.watford | last post by:
I'm loading a plugin assembly using Activator.CreateInstanceFrom, and inside this assembly is a settings class which gets serialized to XML. The general code flow is as follows: ObjectHandle...
2
by: Smithers | last post by:
Using 3.5, I am stuck in attempting to: 1. Dynamically load an assembly 2. Instantiate a class from that assembly (the client code is in a different namespace than the namespace of the...
4
by: =?Utf-8?B?SnVhbiBEZW50?= | last post by:
Hi, I am getting the following in a VC++ EXE (using VS2005) that links several C++ DLLs and uses MFC and ATL, when I try to start it under the debugger: ------- 'Exactus.UX.Studio.v1.exe':...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.