Hi,

Occasionally I get a FileNotFound exception for System.Data. This is in an
Enteprise Services server component, at activation time, when multiple
threads are hitting the component at the same time. A gotdotnet board user
replied to me that this is a known bug in the assembly loader, but I can't
seem to find anything on it. Can anyone confirm this ? I'm on Win2K, .Net
sp2.

Thanks for any help on this, as I am experiencing it on my production
servers (of course <g>) which are multi-processor boxes.

A partial log follows:
------------------------------------
System.IO.FileNotFoundException: File or assembly name System.Data, or one
of its dependencies, was not found.
File name: "System.Data"
  at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
  at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
  at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark)
  at System.Reflection.Assembly.Load(String assemblyString)
  at
System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembl
y()
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType
(BinaryAssemblyInfo assemblyInfo, String name)

------------------------------------
and the Fusion log
------------------------------------

Fusion log follows:
=== Pre-bind state information ===
LOG: DisplayName = System.Data
(Partial)
LOG: Appbase = file:///D:/CAMktServices
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: System.Data
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/root/0378401b/6cae2094/System.Data.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET
Files/root/0378401b/6cae2094/System.Data/System.Data.DLL.

------------------------------------

Brad King
ChannelAdvisor Corp.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to