470,641 Members | 1,578 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,641 developers. It's quick & easy.

ASP.NET Web Setup Projects & Application Center 2000


I've a web setup project where I include a custom action and an Installer
class, in order to disable anonymous access in the web-application to be

This was done by following the article:
- "Modifying Internet Information Services During Deployment with Custom
Actions". I converted this code to work in C# though.

In order to be overcome the issue with deployment to non-default websites,
I've patched .NET 2003 in accordance with the following KB-article:
http://support.microsoft.com/default...b;en-us;821335 - "FIX: You
cannot deploy a Web Setup project to Web sites by using host headers or IP
addresses in Visual Studio 2003 and Visual Studio 2002 Service Pack 1".

This works fine, in most instances. However, the Web Setup installation
package doesn't work on our Application Center cluster, and the error seem to
be to retrieve the correct DirectoryEntry object (IISObject - see code sample

IISObjectPath = ("IIS://" + (machineName + ("/W3SVC/" +
IISObject = GetIISObject(IISObjectPath);
private DirectoryEntry GetIISObject(string strFullObjectPath)
DirectoryEntry IISObject;
IISObject = new DirectoryEntry(strFullObjectPath);
return IISObject;
catch (Exception ex)
throw new Exception(("Error opening: " + (strFullObjectPath + (". "+
So the question is: Does Web Set up projects work on Application Center

Nov 19 '05 #1
1 1108
Hi Jan,

I will reply you in Application Center newsgroup. Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.

================================================== ===

Business-Critical Phone Support (BCPS) provides you with technical
phone support at no charge during critical LAN outages or "business
down" situations. This benefit is available 24 hours a day, 7 days a
week to all Microsoft technology partners in the United States and

This and other support options are available here:


If you are outside the United States, please visit our International
Support page: http://support.microsoft.com/common/international.aspx

================================================== ===

This posting is provided "AS IS" with no warranties, and confers no

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Wilson Ricardo Passos Oliveira | last post: by
1 post views Thread by StevenBarnes | last post: by
reply views Thread by Pete Wittig | last post: by
3 posts views Thread by Bob Sanderson | last post: by
1 post views Thread by harry_noble1902 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.