Assembly not found: u_pawew4.dll

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello,

The above code generate the above error.
The not found assembly is different at each execution.

--------------------------------------------------------------------------
public void WritePatchConfiguration(StreamWriter wr)
{
System.Xml.Serialization.XmlSerializer writer = new XmlSerializer(this.GetType());
//writer = null;
}


--------------------------------------------------------------------------
System.IO.FileNotFoundException: Le fichier ou l'assembly nommé u_pawew4.dll ou
l'une de ses dépendances, est introuvable.
Nom du fichier : "u_pawew4.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, B
oolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Ass
embly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assembl
ySecurity)
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
at System.Xml.Serialization.Compiler.Compile()
at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlTypeMapping
xmlTypeMapping)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultName
space)
at System.Xml.Serialization.XmlSerializer..ctor(Type type)
at dotnetpatcher.PatchFilesList.WritePatchConfiguration(StreamWriter wr) in Q
:\Developpement\Pro\dotnetpatcher1\PatchFilesListInfos.cs:line 100
at dotnetpatcher.Patcher.NewVersionAvailable() in Q:\Developpement\Pro\dotnet
patcher1\Patcher.cs:line 49
at dotnetpatcher_app.MainForm..ctor() in Q:\Developpement\Pro\dotnetpatcher-a
pp\MainForm.cs:line 38


=== Pre-bind state information ===
LOG: Where-ref bind. Location = d:\tmp\u_pawew4.dll
LOG: Appbase = Q:\Developpement\Pro\dotnetpatcher-app\bin\Debug\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partia
l, or location-based assembly bind).
LOG: Attempting download of new URL file:///d:/tmp/u_pawew4.dll.
-----------------------------------------------------------------------


In advance thanks,

CN
.



Relevant Pages

  • Re: Exception when invoking web service from asp .net form
    ... > fileName, String codeBase, Boolean isStringized, Evidence ... > assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, ... > assemblyRef, Boolean stringized, Evidence assemblySecurity, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Newbie question about referencing assemblies in C#.
    ... Please do not send e-mail directly to this alias. ... > do that I have created a seperate project to put the string tables in. ... Attempting download of new URL ... > Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) ...
    (microsoft.public.dotnet.languages.csharp)
  • Xml serialization
    ... XmlSerializer serializer = new XmlSerializer); ... at System.Reflection.Assembly.nLoad(AssemblyName fileName, String ... assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, ... Policy not being applied to reference at this time (private, custom, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: File or assembly name not found..
    ... The name "aiheejyd.dll" is the name of a temporary assembly that the XML Serializer is creating for your. ... We are calling a web service through a serviced component. ... Boolean stringized, Evidence assemblySecurity, StackCrawlMark& ... at Microsoft.OEM.SAP.HW.HWRFC.GetSAPOrders(String sCustNum, String ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • File or assembly name myDll or one of its dependencies, was not found.
    ... System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, ... Boolean isStringized, Evidence assemblySecurity, Boolean ... virtualPath, String inputFile, HttpContext context) +36 ...
    (microsoft.public.dotnet.framework.aspnet)