The Execute permissions for a Web application are unexpectedly set to the None setting after you use Visual Studio .NET 2003 to copy a Web application to the Web server (916868)
The information in this article applies to:
- FrontPage 2002 Server Extensions from Microsoft, when used with:
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio 2005 Professional Edition
- Microsoft Visual Studio 2005 Team System Architect Edition
- Microsoft Visual Studio 2005 Team System Developer Edition
- Microsoft Visual Studio 2005 Team System Team Foundation:
- Microsoft Visual Studio 2005 Standard Edition
- Microsoft Visual Studio 2005 Express Edition
Important This article contains information about how to modify the
registry. Make sure to back up the registry before you modify it. Make sure
that you know how to restore the registry if a problem occurs. For more
information about how to back up, restore, and modify the registry, click the
following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry SYMPTOMSConsider the following scenario. You use the Copy Project
feature in Microsoft Visual Studio .NET 2003 to copy a Web application to a Web
server that is running Microsoft Internet Information Services (IIS) 6.0 and
FrontPage 2002 Server Extensions from Microsoft. When you view the properties
of the Web application in
Internet Information Services Manager, you notice that the Execute permissions
are set to the None setting. You expect the Execute
permissions to be set to the default Scripts Only
setting.CAUSEThis issue may occur if one of the following conditions is
true:
- You run the Visual Studio .NET 2003 IDE as a user who does
not have administrative credentials on the Web server.
- You run the Visual Studio .NET 2003 IDE as a user who is
not a member of the same domain as the Web server.
WORKAROUNDWarning Serious problems might occur if you modify the registry
incorrectly by using Registry Editor or by using another method. These problems
might require that you reinstall your operating system. Microsoft cannot
guarantee that these problems can be solved. Modify the registry at your own
risk. To work around this issue, turn on the NoMarkScriptable property. To do this, set the NoMarkScriptable registry entry in
the following registry subkey to 1: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\Ports\Port /LM/W3SVC/<Number> Note <Number> is a number that indicates the instance of the Web application. By default, the NoMarkScriptable registry entry for a Web application
is set to 0 (zero). When you set the NoMarkScriptable registry entry for a Web application to 1, the scriptable attribute on folders in the Web application cannot be
modified. To set the value of the NoMarkScriptable registry entry in the
following registry subkey to 1, follow these steps:
- Click Start, click Run,
type regedit, and then click
OK.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions - Expand Ports, and then expand
Port /LM/W3SVC/<Number>.
- Double-click the NoMarkScriptable registry entry, type
1 in the Value data box, and then click
OK.
If the NoMarkScriptable registry entry does not
exist, follow these steps to create it:
- Right-click Port
/LM/W3SVC/<Number>, click New, and then click
String Value.
- Name the new registry entry
NoMarkScriptable, and then press ENTER.
- In the Value data box, type
1, and then click OK.
- On the File menu, click Exit
to exit Registry Editor.
REFERENCESFor more information about the NoMarkScriptable property and the NoExecutableCGIUpload property, visit the following Microsoft Web site: For more information about how to set the NoMarkScriptable
registry entry, visit the following Microsoft Web site: For more information about FrontPage 2002 Server Extensions, visit
the following Microsoft Web site: For more information about FrontPage 2000 Server Extensions from
Microsoft, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 5/10/2006 |
---|
Keywords: | kbprb kbtshoot kbExpertiseInter KB916868 kbAudKnowledgeWorker |
---|
|