Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Failed to install (on a few machines) …


1 reply to this topic

Jian

Jian
  • Full Members
  • 6 posts

Posted 29 July 2008 - 17:32

Sorry the detail is kind of long -- here it is:

I did a release build for our Setup project. While it installs successfully on most of the machines, it failed on a few with: “Object reference not set to an instance of an object.”

I tried to diagnose it with the FUSLOGVW.exe and found that the difference between the successful machine and the failed one is that:

They both had:

************************************************************************

<meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8">
<!-- saved from url=(0015)assemblybinder: -->
<html><pre>

*** Assembly Binder Log Entry (7/25/2008 @ 4:23:01 PM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable C:\WINNT\system32\MsiExec.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = DataProvider, Version=1.0.3124.21803, Culture=neutral, PublicKeyToken=4fc8afcef706ae29
(Fully-specified)
LOG: Appbase = C:\WINNT\system32\
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: Cache Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/WINNT/system32/DataProvider.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/system32/DataProvider/DataProvider.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/system32/DataProvider.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/system32/DataProvider/DataProvider.EXE.
LOG: All probing URLs attempted and failed.

</pre></html>

************************************************************************

But only the successful machine had:

************************************************************************

<meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8">
<!-- saved from url=(0015)assemblybinder: -->
<html><pre>

*** Assembly Binder Log Entry (7/25/2008 @ 4:23:01 PM) ***

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

Assembly manager loaded from: C:\WINNT\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable C:\WINNT\system32\MsiExec.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\Program Files\Riverside Publishing Company\ScoreManager\03.09.09\DataProvider.dll
LOG: Appbase = C:\WINNT\system32\
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===

LOG: Processing DEVPATH.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Program Files/Riverside Publishing Company/ScoreManager/03.09.09/DataProvider.dll.
LOG: Assembly download was successful. Attempting setup of file: C:\Program Files\Riverside Publishing Company\ScoreManager\03.09.09\DataProvider.dll
LOG: Entering run-from-source setup phase.

</pre></html>

************************************************************************


Jian

Jian
  • Full Members
  • 6 posts

Posted 29 July 2008 - 17:41

OK ignore the DEVPATH -- somehow my machine.config didn't turn it on but it is still being accessed.

I checked all the References that DataProvider.DLL uses, they all exists in the GAC or in .msi.

What is the Where-ref bind? How come the failed machine cannot find the DataProvider.DLL from the install directory?

Thanks so much for your time …

Edited by Jian, 29 July 2008 - 22:56.