Hello All..
We are attempting to load a .Net assembly DLL from
a GINA (Winlogon) DLL. This is a C# DLL, signed
and GAC'ed.
In Windows XP, this works fine. In Windows 2000
however, we get this exception:
System.IO.FileLoadException: The given assembly name or codebase, 'MyDLL', wa
s invalid.
File name: "MyDLL"
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(AssemblyNa me assemblyRef,
Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence as
semblySecurity, StackCrawlMark& stackMark)
at System.AppDomain.Load(String assemblyString)
....
We have determined (I think) that this does _not_ mean
the DLL was not found.. there seems to be something
else about the assembly/DLL that bothers the loader.
Once the user is logged on to Win2K, this DLL works
fine.. it is the Winlogon invocation that fails.
Has anybody run into this sort of problem ?
Thank you..
Cris..