PC Review


Reply
Thread Tools Rate Thread

ASP.NET Web Setup Projects & Application Center 2000

 
 
=?Utf-8?B?SmFuIEs=?=
Guest
Posts: n/a
 
      9th Aug 2005
Hello,

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
created.

This was done by following the article:
http://msdn.microsoft.com/library/de...deployment.asp
- "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
below).

---
IISObjectPath = ("IIS://" + (machineName + ("/W3SVC/" +
servers[i].ToString())));
IISObject = GetIISObject(IISObjectPath);
----
private DirectoryEntry GetIISObject(string strFullObjectPath)
{
DirectoryEntry IISObject;
try
{
IISObject = new DirectoryEntry(strFullObjectPath);
return IISObject;
}
catch (Exception ex)
{
throw new Exception(("Error opening: " + (strFullObjectPath + (". "+
ex.Message))));
}
}


So the question is: Does Web Set up projects work on Application Center
clusters?

Cheers,
Jan
 
Reply With Quote
 
 
 
 
WenJun Zhang[msft]
Guest
Posts: n/a
 
      10th Aug 2005
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
Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/tec...toverview/4001
0469
Others:
https://partner.microsoft.com/US/tec...pportoverview/

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
rights.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
URGENT: anyone using Application Center 2000 ??? ABCamjasABC@earthlink.net Microsoft Windows 2000 0 28th Oct 2007 12:57 PM
Application Center 2000 Alternatives John Lee Microsoft C# .NET 1 30th Apr 2005 08:56 AM
NLB with Application center 2000 sp2 coollzh Microsoft ASP .NET 0 2nd Jun 2004 04:34 PM
Problems replicating COM+ through Application Center 2000 after installing security fix MS04-012 =?Utf-8?B?R00=?= Microsoft Windows 2000 Security 0 11th May 2004 11:36 AM
NLB, Application Center 2000 and Hardware Load Balancing? SamIAm Microsoft ASP .NET 0 11th Nov 2003 05:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:37 PM.