Bugs item #1544874, was opened at 2006-08-22 20:39
Message generated for change (Comment added) made by mikedimmick
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1544874&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: extensions
Group: v2.0
Status: Open
Resolution: None
Priority: 5
Submitted By: David Adams (dmadam)
Assigned to: Scott Kurtzeborn (scotk)
Summary: ConfigureIIS / "Failed to read IIsWebs table"

Initial Comment:
I believe that there is a problem with the Server 
Custom Actions (SCA) that causes a MSI to fail with a 
message of "Failed to read IIsWebs table" during the 
install.  

I first noticed this problem with release 4221 and 
have validate that it still occurs up to the current 
release 4415.

I have attached a log output of from the Windows 
Installer.  I noted that it first reported a buffer 
overflow ostensibly during 
CommitMetabaseTransaction.  

I do not know where the problem may have been 
introduced, but release 3309 did not experience the 
problem.  

I was able to work around the problem locally by 
copying the 3309 versions of the server custom action 
wixlib and dlls into my bin folder with the 4221 
executables.  I have not tried this workaround for 
any other releases.

This is a paste from the log file of the 
[ConfigureIIs] section where it appears that the 
error occurs.

Action 17:33:48: ConfigureIIs. Configuring IIS
Action start 17:33:48: ConfigureIIs.
Action 17:33:48: StartMetabaseTransaction. Starting 
IIS Metabase Transaction
Action start 17:33:48: StartMetabaseTransaction.
1: Starting IIS Metabase Transaction 
Action ended 17:33:48: StartMetabaseTransaction. 
Return value 1.
Action 17:33:48: RollbackMetabaseTransaction. Rolling 
back IIS Metabase Transaction
Action start 17:33:48: RollbackMetabaseTransaction.
1: Rolling back IIS Metabase Transaction 
Action ended 17:33:48: RollbackMetabaseTransaction. 
Return value 1.
Action 17:33:48: CommitMetabaseTransaction. 
Committing IIS Metabase Transaction
Action start 17:33:48: CommitMetabaseTransaction.
1: Committing IIS Metabase Transaction 
Action ended 17:33:48: CommitMetabaseTransaction. 
Return value 1.
ConfigureIIs:  Error 0x8007007a: Insufficient buffer 
to track all sub-WebSites
ConfigureIIs:  Error 0x8007007a: Failed to find web 
root
ConfigureIIs:  Error 0x8007007a: failed to read 
IIsWebSite table
Error 26002. Failed to read IIsWebs table.   (-
2147024774         )
MSI (s) (DC!74) [17:33:50:711]: Product: Crawford 
RiskTech Interfaces -- Error 26002. Failed to read 
IIsWebs table.   (-2147024774         )

Action ended 17:33:50: ConfigureIIs. Return value 3.
Action ended 17:33:50: INSTALL. Return value 3.    

----------------------------------------------------------------------

Comment By: Mike Dimmick (mikedimmick)
Date: 2006-09-21 23:10

Message:
Logged In: YES 
user_id=1040952

The code is supposed to dynamically allocate enough memory 
for the number of keys extracted and only fail if there 
isn't sufficient memory. However, at line 679 of 
scaweb.cpp, there is a test against countof(rgdwSubKeys). 
Because rgdwSubKeys is a pointer, this will evaluate to 1, 
so the code will work if there is only one subkey but fail 
otherwise.

I suspect the code at line 679 is a leftover from when 
rgdwSubKeys was a static array. This 'if' statement should 
now be removed - the code further down at line 689 should 
handle expanding the array and reporting an error if there 
is a failure to allocate memory.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1544874&group_id=105970

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to