BUG: Visual Studio .NET Setup fails on AddShareAndPermissions custom action (318003)
The information in this article applies to:
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual C# .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
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- Right-click the My Computer icon on the desktop, and then click Manage.
- Expand the Services and Applications
node.
- Expand the Internet Information Services node.
- Right-click the Default Web or the first web that is listed (not FTP, SMTP or NNTP), and then
click Properties.
- 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. - In the Web Site Properties dialog box, click Apply.
- In Windows Explorer, locate the path that is specified as
the home directory.
- Right-click the folder, and then click Properties.
- 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- Right-click the My Computer icon on the desktop, and then click Manage.
- Expand the Services and Applications
node.
- Expand the Internet Information Services node.
- Expand the Web Sites folder.
- Right-click the Default Web or the first web listed (not FTP, SMTP or NNTP), and then click Properties.
- 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. - In the Web Site Properties dialog box, click Apply.
- In Windows Explorer, locate the path that you specified as
the home directory.
- Right-click the folder, and then click Properties.
- 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: - Right-click the My Computer icon on the desktop, and then click Manage. The Computer Management window appears.
- Expand Shared Folders, and then click Shares.
- On the Action menu, click New File Share. The Create Shared Folder dialog box appears.
- 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.)
- Click Next.
- Click to select Administrators have full control,
other users have no access.
- Click Finish. When prompted to create another folder share, click No.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.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
Modification Type: | Minor | Last Reviewed: | 1/26/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbtshoot kbvs2002sp1sweep kbbug kbnofix kbsetup KB318003 kbAudDeveloper |
---|
|