473,326 Members | 2,013 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,326 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 2922
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.