RE: some other problems

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Richard (anonymous_at_discussions.microsoft.com)
Date: 03/02/04


Date: Tue, 2 Mar 2004 01:19:01 -0800

hi, michael:

What you said is reasonable, but how can IE load the
assembly successfully? What's the difference between my
customized browser and IE? As you know, there is an
embedded browser in MSDN 2003 executive, via which I can't
load the assembly either. And I have also some other
browsers at hand, none of them can load the assembly
successfully except Internet Explorer. I really got
puzzled. Looking into the logs, I found that IE's logs are
different from other browsers in that IE will firstly load
Microsoft.mshtml, the logs is as follows:

*******************************************************
*** Assembly Binder Log Entry (2004-3-2 @ 16:57:32) ***

The operation was successful.
Bind result: hr = 0x0.
Assembly manager loaded from:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable C:\Program Files\Internet
Explorer\iexplore.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.mshtml, Version=7.0.3300.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = C:\Program Files\Internet Explorer\
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===

LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\config\machine.config.
LOG: Post-policy reference: Microsoft.mshtml,
Version=7.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
LOG: Found assembly by looking in the cache.
*******************************************************
Other browsers have no such item.
What's more, IE will also load mscorlib.resources, and
succeed in find it in GAC, and other browsers will load
mscorlib.resources twice, one is successful, the other is
not.

successful log:
*******************************************************
*** Assembly Binder Log Entry (2004-3-2 @ 16:48:17) ***

The operation was successful.
Bind result: hr = 0x0.

Assembly manager loaded from:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable d:\sample code\testproject10
\testproject10\debug\testproject10.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = mscorlib.resources, Version=1.0.5000.0,
Culture=zh-CHS, PublicKeyToken=b77a5c561934e089
 (Fully-specified)
LOG: Appbase = d:\sample code\testproject10\testproject10
\debug\
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===

LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\config\machine.config.
LOG: Post-policy reference: mscorlib.resources,
Version=1.0.5000.0, Culture=zh-CHS,
PublicKeyToken=b77a5c561934e089
LOG: Found assembly by looking in the cache.

*******************************************************
unsuccessful log:
*******************************************************
*** Assembly Binder Log Entry (2004-3-2 @ 16:48:17) ***

The operation failed.
Bind result: hr = 0x80070002. can not find the specified
file.

Assembly manager loaded from:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable d:\sample code\testproject10
\testproject10\debug\testproject10.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = mscorlib.resources, Version=1.0.5000.0,
Culture=zh-CN, PublicKeyToken=b77a5c561934e089
 (Fully-specified)
LOG: Appbase = d:\sample code\testproject10\testproject10
\debug\
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===

LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\config\machine.config.
LOG: Post-policy reference: mscorlib.resources,
Version=1.0.5000.0, Culture=zh-CN,
PublicKeyToken=b77a5c561934e089
LOG: Cache Lookup was unsuccessful.
LOG: Attempting download of new URL file:///d:/sample
code/testproject10/testproject10/debug/zh-
CN/mscorlib.resources.DLL.
LOG: Attempting download of new URL file:///d:/sample
code/testproject10/testproject10/debug/zh-
CN/mscorlib.resources/mscorlib.resources.DLL.
LOG: Attempting download of new URL file:///d:/sample
code/testproject10/testproject10/debug/zh-
CN/mscorlib.resources.EXE.
LOG: Attempting download of new URL file:///d:/sample
code/testproject10/testproject10/debug/zh-
CN/mscorlib.resources/mscorlib.resources.EXE.
LOG: All probing URLs attempted and failed.
*******************************************************

IE will only load mscorlib.resources once and always be
successful, the log is as the successful log listed above.
And after mscorlib.resources is loaded, IE will then load
my assembly. but other browsers will not do things like IE.

I am really sorry to bring so many troubles to you. I
appreciate every word from you.

Thank you!
Best regards!
Richard

>
>>From looking at the fuslog you sent it appears there is a
problem not
>loading one of your dll's but rather one of the CLR's
main dlls,
>mscorlib.resources.dll. If you look in the log you will
see a number of
>lines that look like this:
>
>Attempting download of new URL
>file:///d:/samplecode1/Testaa/Testaa/Debug/zh-
CN/mscorlib.resources.DLL.
>
>All of these are trying to find this one dll and are
failing. The assembly
>in question is a resource assembly for simplified
Chinese. Make sure you
>have the localized version of the .Net Runtime installed
for Simplified
>Chinese.
>
>I hope this is helpful,
>
>Michael Green
>Microsoft Developer Support
>
>.
>



Relevant Pages

  • David Marks Essential Javascript Tips - Volume #8 - Tip #47B - The Load "problem" and Re
    ... The Load "problem" and Related Matters ... listeners are very easy to implement in cross-browser fashion:- ... Because it's possible the script ... likely work for as long as there are Web browsers. ...
    (comp.lang.javascript)
  • Re: Preload Images
    ... To avoid load delays for the ... But as much as I remember, this feature exposed browsers ... caching images completely on imgObject.src="url" assignments. ... I looked through the clj archives and the time this FAQ ...
    (comp.lang.javascript)
  • Re: Follow-up Note for DavidF and Mike
    ... need to install it and use it. ... can see the different image placeholders load along with the ALT tags. ... to an image in the code Publisher produces for non-IE browsers. ... adjust your layout so that nothing overlaps the navbar text ...
    (microsoft.public.publisher.webdesign)
  • Re: Error Handling not working properly
    ... So if the load is successful then it should display ... for the lab tech when they hit the load data command. ... Private Sub cmd_load2010_rrtnew_Click ... MsgBox "Upload completed Successfully" ...
    (microsoft.public.access.formscoding)
  • WINXP will not Boot
    ... software or hardware was added and was not successful. ... screen goes blank and will not load. ... Adobe Acrobat or should I do a restore on the hard disk? ...
    (microsoft.public.windowsxp.help_and_support)