RE: some other problems
From: Richard (anonymous_at_discussions.microsoft.com)
Date: 03/02/04
- Next message: richard: "RE: some other problems"
- Previous message: One Handed Man [ OHM# ]: "Tablet PC Ink Controls Woes with J#"
- In reply to: Michael Green: "RE: some other problems"
- Next in thread: Michael Green: "RE: some other problems"
- Reply: Michael Green: "RE: some other problems"
- Messages sorted by: [ date ] [ thread ]
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
>
>.
>
- Next message: richard: "RE: some other problems"
- Previous message: One Handed Man [ OHM# ]: "Tablet PC Ink Controls Woes with J#"
- In reply to: Michael Green: "RE: some other problems"
- Next in thread: Michael Green: "RE: some other problems"
- Reply: Michael Green: "RE: some other problems"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|