Microsoft KB Archive/318003

From BetaArchive Wiki

Article ID: 318003

Article Last Modified on 1/26/2006



APPLIES TO

  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Basic .NET 2002 Standard Edition
  • Microsoft Visual Basic .NET 2003 Standard Edition
  • Microsoft Visual C# .NET 2002 Standard Edition
  • Microsoft Visual C# .NET 2003 Standard Edition
  • Microsoft Visual C++ .NET 2002 Standard Edition
  • Microsoft Visual C++ .NET 2003 Standard Edition



This article was previously published under Q318003

SYMPTOMS

When you run Visual Studio .NET Setup, you receive a "Setup Failed" error message when Visual Studio .NET Setup completes. No other error messages appear. The following string appears in the log file VSMSILOG*.txt (located in the Temp folder):

MSI (s) (54:F0): Executing op: CustomActionSchedule
     (Action=VSCA_AddShareAndPermissions.3643236F_FC70_11D3_A536_0090278A1BB8,
      ActionType=1025,Source=BinaryData,Target=AddShareAndPermissions,)
MSI (s) (54:F0): Creating MSIHANDLE (1263) of type 790536 for thread 2800
Action ended 15:41:08: InstallFinalize. Return value 3.

CAUSE

This behavior occurs when the Home Directory in Internet Information Service (IIS) for the Default Web is missing or inaccessible because of permission issues. The missing or inaccessible Home Directory causes the Visual Studio .NET Setup custom action AddShareAndPermissions to fail.

RESOLUTION

Verify that the Home Directory for the Default Web exists and that the user accounts System and Administrators have Full Control rights for the Home Directory folder on the file system.

Verify the default Web Home directory and rights on Windows 2000

  1. Right-click the My Computer icon on the desktop, and then click Manage.
  2. Expand the Services and Applications node.
  3. Expand the Internet Information Services node.
  4. Right-click the Default Web or the first web that is listed (not FTP, SMTP or NNTP), and then click Properties.
  5. On the Home Directory tab, verify that, for When Connecting to this resource, the content should come from, the option A directory located on this computer is selected and that the Local Path exists.


Note If the folder does not exist, click Browse, and then click to select a local folder that will be the location for Web projects.

  1. In the Web Site Properties dialog box, click Apply.
  2. In Windows Explorer, locate the path that is specified as the home directory.
  3. Right-click the folder, and then click Properties.
  4. On the Security tab, verify that the user account System and the group Administrators have Full Control rights.

Verify the default Web Home directory and rights on Windows XP

  1. Right-click the My Computer icon on the desktop, and then click Manage.
  2. Expand the Services and Applications node.
  3. Expand the Internet Information Services node.
  4. Expand the Web Sites folder.
  5. Right-click the Default Web or the first web listed (not FTP, SMTP or NNTP), and then click Properties.
  6. On the Home Directory tab, verify that, for When Connecting to this resource, the content should come from, the option A directory located on this computer is selected, and that the Local Path exists.


Note If the folder does not exist, click Browse, and then click to select a local folder that will be the location for Web projects.

  1. In the Web Site Properties dialog box, click Apply.
  2. In Windows Explorer, locate the path that you specified as the home directory.
  3. Right-click the folder, and then click Properties.
  4. On the Security tab, verify that the user account System and the group Administrators have Full Control rights.

Create the share manually

In some cases, the previous solutions may not allow Setup to complete. If these solutions do not resolve the issue, manually create the share before you run Setup. To do this, follow these steps:

  1. Right-click the My Computer icon on the desktop, and then click Manage. The Computer Management window appears.
  2. Expand Shared Folders, and then click Shares.
  3. On the Action menu, click New File Share. The Create Shared Folder dialog box appears.
  4. In the Create Shared Folder dialog box, type the following information in the appropriate text boxes:
    • Folder to Share

This is your default home directory (typically C:\Inetpub\wwwroot). See the previous procedures for more information about how to determine your default home directory.

    • Share Name

wwwroot$

    • Description

(This is optional.)

  1. Click Next.
  2. Click to select Administrators have full control, other users have no access.
  3. Click Finish. When prompted to create another folder share, click No.


STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

In the error log, at the failed setup summary, the following logged events show the symptoms described in this article:

Visual Studio .NET Enterprise Architect - English: ***ERRORLOG EVENT*** : ERROR processed; exception was thrown for retail build Developer Comment: Action Start message out of order Build Time: Fri Aug 17 06:47:15 2001 File: f:\vs70builds\9344\vs\src\vssetup\setupexe\sitmanagers\brooklyn10\cmsiprogesshandlervs.cpp Line Number: 230 Expression: (0 > iDiff) HRESULT: -2147467259

The following error messages appear in VSMSILOG*.txt:

MSI (s) (54:F0): Executing op: ActionStart
     (Name=VSCA_RollbackAddShareAndPermissions.3643236F_FC70_11D3_A536_0090278A1BB8,,)
MSI (s) (54:F0): Executing op: CustomActionSchedule
     (Action=VSCA_RollbackAddShareAndPermissions.3643236F_FC70_11D3_A536_0090278A1BB8,
      ActionType=1345,Source=BinaryData,Target=AddShareAndPermissions,
      CustomActionData=Administrators|9|1|1f01ff|Administrators|a|1|1f01ff|
      Administrators|0|1|1f01ff|Administrators|9|1|1f01ff|Administrators|a|1|1f01ff|
      Administrators|0|1|1f01ff|Administrators|9|1|1f01ff|Administrators|a|1|1f01ff|
      Administrators|0|1|1f01ff|Everyone|9|1|120089|Everyone|2|1|1200a9|)
MSI (s) (54:F0): Executing op: ActionStart
     (Name=VSCA_AddShareAndPermissions.3643236F_FC70_11D3_A536_0090278A1BB8,,)
MSI (s) (54:F0): Executing op: CustomActionSchedule
     (Action=VSCA_AddShareAndPermissions.3643236F_FC70_11D3_A536_0090278A1BB8,
      ActionType=1025,Source=BinaryData,Target=AddShareAndPermissions,)
MSI (s) (54:F0): Creating MSIHANDLE (1263) of type 790536 for thread 2800
Action ended 15:41:08: InstallFinalize. Return value 3.

Steps to reproduce the behavior

To reproduce the problem, follow these steps:

  1. Delete or rename the folder that is specified in the path for the Home Directory of the default Web.
  2. Run Visual Studio .NET.


REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

315320 INFO: Error Log message "ACTION FAILURE... See MSI log for details." does not specify the file name



Additional query words: wwwroot wwwroot$ share

Keywords: kbtshoot kbbug kbnofix kbsetup kbvs2002sp1sweep kbvs2005swept kbvs2005doesnotapply KB318003