By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,592 Members | 1,977 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,592 IT Pros & Developers. It's quick & easy.

VS .net causes IE throws "member not found" error

P: n/a
Dear ALL,

Is there some one ever faces this problem? And fix it?

The scenario is:

There's an html page that hosts a .net object (using
object tag), and this page opens the second html page
that
also hosts a .net object (e.g. by click a hyperlink).

This often causes "member not found" error in second page
when the .net
object tries to access one of the html control.

The problem is gone altogether if VS .net is un-installed.

Is there someone know how to fix this error?

Tx a loooot.

Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
The following registry setting whould allow you to see exact exception
behind general IE error message:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramewor k]
"ExposeExceptionsInCOM"=dword:00000003

Also using of the fusion log viewer (FusLogVw.exe) can be very useful to
check what assemblies are found and what are not and why.

The following key allows you to see successful binds in addition to
possible failures:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]
"ForceLog"=dword:00000001

Thanks!
Konst

Jul 21 '05 #2

P: n/a
Tx a lot for idea.

I've tried it, and still get not clue what causes it.

I also tried to see the log file generated by IEHost (by
adding IEHostLogFile to registry) and still get not clue
what causes. It seems normal instead that before loading
the second page (in third row from last row) there's a
text read as:

"There are no context policies."

(Does this ring any bell on you?>

This line is not exist when loading the first page. Here
is the log file generated if you're interested to see it
(sorry it's rather lenght).

The first html page I'm trying to load
is "http://localhost/bin/UdARViewer.DLL" and the second
page is "http://localhost/bin/UdBoq.DLL".

So may you have more idea? Anyway you're the best :) (
sorry for more ask, but you're the only hope after 2 years
trying to solve this problem :( )

Really really tx lot.
<MY OWN INSERT TEXT: IEHostLogFile's log starts>

<MY OWN INSERT TEXT: LOG WHEN LOADING FIRST PAGE>

Creating security manager

Microsoft.IE.Manager: Microsoft.IE.Manager: unique id lgth
= 36
Microsoft.IE.SecureFactory: Create SecureFactory() with
security information
Microsoft.IE.Manager: Created secure factory
Microsoft.IE.SecureFactory: Creating instance of the
object in the correct domain
Microsoft.IE.SecureFactory: pUrl =
http://localhost/BosNetUI/AR/ARViewerDLL.htm
Microsoft.IE.SecureFactory: id =
86474707A3C6F63616C686F6374710000000
Microsoft.IE.SecureFactory: link =
Microsoft.IE.SecureFactory: licenses =
Microsoft.IE.Manager: Url =
http://localhost/BosNetUI/AR/ARViewerDLL.htm
Microsoft.IE.Manager: UrlGetPartW returned 0
Microsoft.IE.Manager: CodeBase = http://localhost
Microsoft.IE.Manager: Application = BosNetUI/AR
Microsoft.IE.Manager: Found a codebase
Microsoft.IE.Manager: UrlCanonicalize returned 0
Microsoft.IE.SecureFactory: URL codeBase: http://localhost/
Microsoft.IE.SecureFactory: URL application: BosNetUI/AR
Microsoft.IE.SecureFactory: Locating domain for
http://localhost/
Microsoft.IE.IDKey: Created key
Microsoft.IE.Manager: The domain does not exist.
Microsoft.IE.IDKey: Created key
Microsoft.IE.Manager: The domain does not exist.
Microsoft.IE.SecureFactory: Need to create domain
Microsoft.IE.SecureFactory: Application base:
http://localhost/
Microsoft.IE.SecureFactory: Private Bin Path: bin
Microsoft.IE.IDKey: Created key
Microsoft.IE.SecureFactory: Trying to create instance of
type http://localhost/bin/UdARViewer.DLL#BOS.UD.UdARViewer
Microsoft.IE.SecureFactory: Created instance of type
http://localhost/bin/UdARViewer.DLL::BOS.UD.UdARViewer

<MY OWN INSERT TEXT: LOADING SECOND PAGE>

Microsoft.IE.Manager: Microsoft.IE.Manager: unique id lgth
= 36
Microsoft.IE.SecureFactory: Create SecureFactory() with
security information
Microsoft.IE.Manager: Created secure factory
Microsoft.IE.SecureFactory: Creating instance of the
object in the correct domain
Microsoft.IE.SecureFactory: pUrl =
http://localhost/BosNetUI/sm/BoqDLL.htm
Microsoft.IE.SecureFactory: id =
86474707A3C6F63616C686F6374710000000
Microsoft.IE.SecureFactory: link =
Microsoft.IE.SecureFactory: licenses =
Microsoft.IE.Manager: Url =
http://localhost/BosNetUI/sm/BoqDLL.htm
Microsoft.IE.Manager: UrlGetPartW returned 0
Microsoft.IE.Manager: CodeBase = http://localhost
Microsoft.IE.Manager: Application = BosNetUI/sm
Microsoft.IE.Manager: Found a codebase
Microsoft.IE.Manager: UrlCanonicalize returned 0
Microsoft.IE.SecureFactory: URL codeBase: http://localhost/
Microsoft.IE.SecureFactory: URL application: BosNetUI/sm
Microsoft.IE.SecureFactory: Locating domain for
http://localhost/
Microsoft.IE.IDKey: Created key
Microsoft.IE.IDKey: IDKEy::Equals
Microsoft.IE.IDKey: Testing uniqueid
Microsoft.IE.IDKey: Uniqueid's are the same
Microsoft.IE.IDKey: Others URL = http://localhost/
Microsoft.IE.IDKey: My URL = http://localhost/
Microsoft.IE.Manager: The domain does exist.
Microsoft.IE.SecureFactory: Do not have to create new
domain
Microsoft.IE.SecureFactory: Existing Domain:
Microsoft.IE.SecureFactory: Name: localhost

"There are no context policies." --> <MY OWN INSERT
TEXT: THIS LINE IS NOT FOUND WHEN LOADING THE FIRST PAGE>

Microsoft.IE.SecureFactory: Trying to create instance of
type http://localhost/bin/UdBoq.DLL#BOS.UD.UdBoq

Microsoft.IE.SecureFactory: Created instance of type
http://localhost/bin/UdBoq.DLL::BOS.UD.UdBoq
Jul 21 '05 #3

P: n/a
I'm sorry for the long delay with my answer - I was totally distracted from
reading newsgroups.

-- The problem is gone altogether if VS .net is un-installed.

This part really confuses me. I don't understand how UNinstalling VS can
fix things.

From IEHost log it looks like both controls were loaded successfully. Are
you sure you have logged the failing case (with VS)?
Because both logs look perfectly fine.

I wonder if your controls interact in some way and may be the first one
somehow disturb the second. Have you tried to load the second page directly?

If you send me Fusion log (with ForceLog=1), exception text (if any) and
IEHost log for the case when second control fails to load, I can try to
investigate further.

Another useful (although sometimes too powerful) tool is FileMon from
www.sysinternals.com It can show you the history of the file I/O (both
successful and failed) on the machine. This log can help if everything else
failed.

Thank you!
Konst
Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.