Discussion:
[WiX-users] Create new IIS WebSite
c***@comcast.net
2007-02-28 23:38:49 UTC
Permalink
I am trying to create a new web site in IIS.

Here is my code.
<WebSite Id='Web Sites' Description='My Web Site' Directory='INSTALLDIR' StartOnInstall='yes’>
<WebAddress Id="AllUnassigned" Port="14465" />
</WebSite>

If I use port 80 it renames the ‘Default Web Site’ to ‘My Web Site’. If I use a random port number I get an error (Failed to read IIsWebs table. (-2147024774)).

What I am trying to do is create a new web site on windows 2003 and windows XP. Can anyone please help??

TIA
Shayla
Matthew Janulewicz
2007-02-28 23:46:04 UTC
Permalink
IIS 5.1 (default with XP) only allows one website to be
installed/running at a time, so that's probably why it replaces your
'Default Web Site'.



IIS 6.0 should allow you to install multiple websites, we do it all the
time. I don't know if that's the default version for Windows Server
2003, but that's our current set-up and it works great.





-Matt





_____

From: ***@comcast.net [mailto:***@comcast.net]
Sent: Wednesday, February 28, 2007 3:39 PM
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] Create new IIS WebSite



I am trying to create a new web site in IIS.



Here is my code.

<WebSite Id='Web Sites' Description='My Web Site' Directory='INSTA
LLDIR' StartOnInstall='yes'>

<WebAddress Id="AllUnassigned" Port="14465" />< /SPAN>

</WebSite>



If I use port 80 it renames the 'Default Web Site' to 'My Web Site'. If
I use a random port number I get an error (Failed to read IIsWebs table.
(-2147024774)).



What I am trying to do is create a new web site on windows 2003 and
windows XP. Can anyone please help??



TIA

Shayla
david adams
2007-03-01 04:24:54 UTC
Permalink
IIS 5.1 (default XP) does allow only 1 web site. IIS 6.0 (default for 2003)
allows multiple web sites, which can be created and configured via the
installers.

Assuming that you are using default configurations, Shayla's code snippet
would overwrite the Default Web Site ("All Unassigned" / Port 80) under
either IIS 5.1 or 6.0.

The reasoning relates to IIS (and its API) more than anything else. In the
IIS metadata, web sites have an index key, name, IP address, port, &
optionally, host headers. The entries in IIS are inserted / updated via a
"Get" operation that accepts IP address, Port, and Host Header parameters.

Since "Default Web Site" is created by default under IIS at index position 0
with an IP of "All Unassigned" under Port 80 with no Host Headers, any WiX
(or other IIS API operation) performed with those parameters would be
changing the actual "Default Web Site". The API creates a new web site if
one does not exist under the parameters or updates an existing one that does
("Default Web Site" in this case).

Shayla: Create an additional IP address on the server. Use that IP
specifically on the @Website element. Assuming that you are on 2003 (IIS
6.0), it should create your new site on that IP address and have no effect
on the "Default Web Site".

David Adams
Subject: Re: [WiX-users] Create new IIS WebSite
Date: Wed, 28 Feb 2007 15:46:04 -0800
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by
bay0-mc5-f1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 28
Feb 2007 15:45:20 -0800
Received: from sc8-sf-list1-new.sourceforge.net
(sc8-sf-list1-new-b.sourceforge.net [10.3.1.93])by
sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 38FA512B31; Wed, 28 Feb
2007 15:45:20 -0800 (PST)
Received: from sc8-sf-mx1-b.sourceforge.net
([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net
with esmtp (Exim 4.43)id 1HMYTg-0008Nh-MFfor
Received: from mx1.greendotcorp.com ([63.161.119.204])by
mail.sourceforge.net with esmtp (Exim 4.44) id 1HMYTf-0006sj-ALfor
X-Message-Info: LsUYwwHHNt1esbP3tsUQs8jdpb9Hr08qyEv2p2nR1GA=
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [WiX-users] Create new
IIS WebSite
Thread-Index: Acdbkdrtr+fWHwhZTxqwSqvDOyGG0gAAEKuw
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See
http://spamassassin.org/tag/ for more details.Report problems
tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000010.0 HTML_MESSAGE
BODY: HTML included in message
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: "General discussion for Windows Installer XML
toolset."<wix-users.lists.sourceforge.net>
<http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
X-OriginalArrivalTime: 28 Feb 2007 23:45:20.0981 (UTC)
FILETIME=[821F9850:01C75B92]
IIS 5.1 (default with XP) only allows one website to be
installed/running at a time, so that's probably why it replaces your
'Default Web Site'.
IIS 6.0 should allow you to install multiple websites, we do it all the
time. I don't know if that's the default version for Windows Server
2003, but that's our current set-up and it works great.
-Matt
_____
Sent: Wednesday, February 28, 2007 3:39 PM
Subject: [WiX-users] Create new IIS WebSite
I am trying to create a new web site in IIS.
Here is my code.
<WebSite Id='Web Sites' Description='My Web Site' Directory='INSTA
LLDIR' StartOnInstall='yes'>
<WebAddress Id="AllUnassigned" Port="14465" />< /SPAN>
</WebSite>
If I use port 80 it renames the 'Default Web Site' to 'My Web Site'. If
I use a random port number I get an error (Failed to read IIsWebs table.
(-2147024774)).
What I am trying to do is create a new web site on windows 2003 and
windows XP. Can anyone please help??
TIA
Shayla
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
The average US Credit Score is 675. The cost to see yours: $0 by Experian.
http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE
c***@comcast.net
2007-03-01 16:21:21 UTC
Permalink
Thank you for your reply. Your were right... it should be working. I figured out the problem was a bug with wix. I am using an early version 2.0.4415.0. So i just replaced the effected dll (sca*.dll and scawix.dll) with an even early version (3309) where it was working.

Having said that, i do have another problem. I am trying to set some properties within the website. For example I would like to set the execute permission to 'Scripts Only', I would also like to name the default page. And one more thing.. i would like to be able to set the authenticated access to integrated security or prompt the user for username and password for anonymous access. Is this possible with Wix? I have searched the user list and couldn't find anything.

Thank you for your help,
Shayla
-------------- Original message --------------
From: "Matthew Janulewicz" <***@greendotcorp.com>

IIS 5.1 (default with XP) only allows one website to be installed/running at a time, so that’s probably why it replaces your ‘Default Web Site’.

IIS 6.0 should allow you to install multiple websites, we do it all the time. I don’t know if that’s the default version for Windows Server 2003, but that’s our current set-up and it works great.


-Matt





From: ***@comcast.net [mailto:***@comcast.net]
Sent: Wednesday, February 28, 2007 3:39 PM
To: wix-***@lists.sourceforge.net
Subject: [WiX-users] Create new IIS WebSite

I am trying to create a new web site in IIS.

Here is my code.
<WebSite Id='Web Sites' Description='My Web Site' Directory='INSTA LLDIR' StartOnInstall='yes’>
<WebAddress Id="AllUnassigned" Port="14465" />< /SPAN>
</WebSite>

If I use port 80 it renames the ‘Default Web Site’ to ‘My Web Site’. If I use a random port number I get an error (Failed to read IIsWebs table. (-2147024774)).

What I am trying to do is create a new web site on windows 2003 and windows XP. Can anyone please help??

TIA
Shayla
david adams
2007-03-01 16:45:45 UTC
Permalink
If replacing the dll corrected your problem (and you were using the current
codebase / binary drop), then I suspect that a bug has been reintroduced.
It was fixed a couple of months back.

The error that was occurring was an array buffer overflow in the SCA dll
when it read the IIS metadata. The array is on the index value, which until
Win 2003 / IIS 6.0 was always 0. Mike Dimmick posted the code fix a while
back and it was checked back into the project.

To your point, yes. Drop #3309 did not have the error.

To answer your other questions, I'd suggest that you look at the
<WebDirProperties> element in the WiX Help file. You associate it via the
@DirProperties attribute of your <WebSite> element.

David Adams
To: "Matthew Janulewicz"
Subject: Re: [WiX-users] Create new IIS WebSite
Date: Thu, 01 Mar 2007 16:21:21 +0000
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by
bay0-mc2-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu, 1
Mar 2007 08:22:36 -0800
Received: from sc8-sf-list1-new.sourceforge.net
(sc8-sf-list1-new-b.sourceforge.net [10.3.1.93])by
sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 3425A12B5D; Thu, 1 Mar
2007 08:21:47 -0800 (PST)
Received: from sc8-sf-mx2-b.sourceforge.net
([10.3.1.92]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net
with esmtp (Exim 4.43)id 1HMo2J-0007iq-Lcfor
Received: from sccrmhc14.comcast.net ([63.240.77.84])by
mail.sourceforge.net with esmtp (Exim 4.44) id 1HMo2H-0000YM-L0for
Received: from smailcenter47.comcast.net ([204.127.205.147])by comcast.net
(sccrmhc14) with SMTPid <2007030116212101400pt9tue>; Thu, 1 Mar 2007
16:21:21 +0000
Received: from [66.255.44.169] by smailcenter47.comcast.net;Thu, 01 Mar
2007 16:21:21 +0000
X-Message-Info: LsUYwwHHNt2xefYWvTrnm8rEYCvZfxYb4ztguHEdPlQ=
X-Mailer: AT&T Message Center Version 1 (Oct 4 2006)
X-Authenticated-Sender: Y29zbW81MUBjb21jYXN0Lm5ldA==
X-Spam-Score: 0.8 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See
http://spamassassin.org/tag/ for more details.Report problems
tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000010.2 NO_REAL_NAME
ends in numbers0.0 HTML_MESSAGE BODY: HTML included in message0.1
MIME_BOUND_NEXTPART Spam tool pattern in MIME boundary
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: "General discussion for Windows Installer XML
toolset."<wix-users.lists.sourceforge.net>
<http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
X-OriginalArrivalTime: 01 Mar 2007 16:22:37.0547 (UTC)
FILETIME=[D37EFBB0:01C75C1D]
Thank you for your reply. Your were right... it should be working. I
figured out the problem was a bug with wix. I am using an early version
2.0.4415.0. So i just replaced the effected dll (sca*.dll and scawix.dll)
with an even early version (3309) where it was working.
Having said that, i do have another problem. I am trying to set some
properties within the website. For example I would like to set the execute
permission to 'Scripts Only', I would also like to name the default page.
And one more thing.. i would like to be able to set the authenticated
access to integrated security or prompt the user for username and password
for anonymous access. Is this possible with Wix? I have searched the user
list and couldn't find anything.
Thank you for your help,
Shayla
-------------- Original message --------------
IIS 5.1 (default with XP) only allows one website to be installed/running
at a time, so that’s probably why it replaces your ‘Default Web Site’.
IIS 6.0 should allow you to install multiple websites, we do it all the
time. I don’t know if that’s the default version for Windows Server 2003,
but that’s our current set-up and it works great.
-Matt
Sent: Wednesday, February 28, 2007 3:39 PM
Subject: [WiX-users] Create new IIS WebSite
I am trying to create a new web site in IIS.
Here is my code.
<WebSite Id='Web Sites' Description='My Web Site' Directory='INSTA LLDIR'
StartOnInstall='yes’>
<WebAddress Id="AllUnassigned" Port="14465" />< /SPAN>
</WebSite>
If I use port 80 it renames the ‘Default Web Site’ to ‘My Web Site’. If I
use a random port number I get an error (Failed to read IIsWebs table.
(-2147024774)).
What I am trying to do is create a new web site on windows 2003 and windows
XP. Can anyone please help??
TIA
Shayla
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month.
Intro*Terms
https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f6&disc=y&vers=743&s=4056&p=5117
Rob Mensching
2007-03-01 16:49:16 UTC
Permalink
Please, try the latest WiX v2 drops (http://wix.sourceforge.net/releases). All of these bugs should be fixed there. We're getting close to zero bugs in WiX v2 so it would be helpful if people started picking up the weekly drops of WiX v2 to help us ensure nothing regresses.

-----Original Message-----
From: wix-users-***@lists.sourceforge.net [mailto:wix-users-***@lists.sourceforge.net] On Behalf Of david adams
Sent: Thursday, March 01, 2007 8:46 AM
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Create new IIS WebSite

If replacing the dll corrected your problem (and you were using the current codebase / binary drop), then I suspect that a bug has been reintroduced.
It was fixed a couple of months back.

The error that was occurring was an array buffer overflow in the SCA dll when it read the IIS metadata. The array is on the index value, which until Win 2003 / IIS 6.0 was always 0. Mike Dimmick posted the code fix a while back and it was checked back into the project.

To your point, yes. Drop #3309 did not have the error.

To answer your other questions, I'd suggest that you look at the <WebDirProperties> element in the WiX Help file. You associate it via the @DirProperties attribute of your <WebSite> element.

David Adams
To: "Matthew Janulewicz"
Subject: Re: [WiX-users] Create new IIS WebSite
Date: Thu, 01 Mar 2007 16:21:21 +0000
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by
bay0-mc2-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444);
Thu, 1 Mar 2007 08:22:36 -0800
Received: from sc8-sf-list1-new.sourceforge.net
(sc8-sf-list1-new-b.sourceforge.net [10.3.1.93])by
sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 3425A12B5D; Thu, 1 Mar
2007 08:21:47 -0800 (PST)
Received: from sc8-sf-mx2-b.sourceforge.net
([10.3.1.92]helo=mail.sourceforge.net)by
sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43)id
08:21:43 -0800
Received: from sccrmhc14.comcast.net ([63.240.77.84])by
mail.sourceforge.net with esmtp (Exim 4.44) id 1HMo2H-0000YM-L0for
Received: from smailcenter47.comcast.net ([204.127.205.147])by
comcast.net
(sccrmhc14) with SMTPid <2007030116212101400pt9tue>; Thu, 1 Mar 2007
16:21:21 +0000
Received: from [66.255.44.169] by smailcenter47.comcast.net;Thu, 01 Mar
2007 16:21:21 +0000
X-Message-Info: LsUYwwHHNt2xefYWvTrnm8rEYCvZfxYb4ztguHEdPlQ=
X-Mailer: AT&T Message Center Version 1 (Oct 4 2006)
X-Authenticated-Sender: Y29zbW81MUBjb21jYXN0Lm5ldA==
X-Spam-Score: 0.8 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See
http://spamassassin.org/tag/ for more details.Report problems
tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000010.2 NO_REAL_NAME
ends in numbers0.0 HTML_MESSAGE BODY: HTML included in message0.1
MIME_BOUND_NEXTPART Spam tool pattern in MIME boundary
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: "General discussion for Windows Installer XML
toolset."<wix-users.lists.sourceforge.net>
<https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:wix-us
<http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
<https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:wix-us
X-OriginalArrivalTime: 01 Mar 2007 16:22:37.0547 (UTC)
FILETIME=[D37EFBB0:01C75C1D]
Thank you for your reply. Your were right... it should be working. I
figured out the problem was a bug with wix. I am using an early
version 2.0.4415.0. So i just replaced the effected dll (sca*.dll and
scawix.dll) with an even early version (3309) where it was working.
Having said that, i do have another problem. I am trying to set some
properties within the website. For example I would like to set the
execute permission to 'Scripts Only', I would also like to name the default page.
And one more thing.. i would like to be able to set the authenticated
access to integrated security or prompt the user for username and
password for anonymous access. Is this possible with Wix? I have
searched the user list and couldn't find anything.
Thank you for your help,
Shayla
-------------- Original message --------------
IIS 5.1 (default with XP) only allows one website to be
installed/running at a time, so that's probably why it replaces your 'Default Web Site'.
IIS 6.0 should allow you to install multiple websites, we do it all the
time. I don't know if that's the default version for Windows Server
2003, but that's our current set-up and it works great.
-Matt
Sent: Wednesday, February 28, 2007 3:39 PM
Subject: [WiX-users] Create new IIS WebSite
I am trying to create a new web site in IIS.
Here is my code.
<WebSite Id='Web Sites' Description='My Web Site' Directory='INSTA LLDIR'
StartOnInstall='yes'>
<WebAddress Id="AllUnassigned" Port="14465" />< /SPAN> </WebSite>
If I use port 80 it renames the 'Default Web Site' to 'My Web Site'.
If I use a random port number I get an error (Failed to read IIsWebs table.
(-2147024774)).
What I am trying to do is create a new web site on windows 2003 and
windows XP. Can anyone please help??
TIA
Shayla
-----------------------------------------------------------------------
-- Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD
EV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month.
Intro*Terms
https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f6&disc=y&vers=743&s=4056&p=5117
derekj
2008-09-04 14:17:18 UTC
Permalink
Hi,

I am having the same problem, I'm installing on XP Pro - is this the cause
of my problem - the default website being removed on installation? - this
should not occur if I was instainng on server 2003?

regards

Derek
Post by c***@comcast.net
I am trying to create a new web site in IIS.
Here is my code.
<WebSite Id='Web Sites' Description='My Web Site' Directory='INSTALLDIR'
StartOnInstall='yes’>
<WebAddress Id="AllUnassigned" Port="14465" />
</WebSite>
If I use port 80 it renames the ‘Default Web Site’ to ‘My Web Site’. If I
use a random port number I get an error (Failed to read IIsWebs table.
(-2147024774)).
What I am trying to do is create a new web site on windows 2003 and
windows XP. Can anyone please help??
TIA
Shayla
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
View this message in context: http://n2.nabble.com/Create-new-IIS-WebSite-tp698539p838889.html
Sent from the wix-users mailing list archive at Nabble.com.
Rob Mensching
2008-09-05 03:57:04 UTC
Permalink
I believe that WinXP only allows one WebSite at a time. So, if you overwrite port 80, then it probably works. If you delete port 80 and install on a different port it probably works. Windows Server has no such restrictions.

-----Original Message-----
From: wix-users-***@lists.sourceforge.net [mailto:wix-users-***@lists.sourceforge.net] On Behalf Of derekj
Sent: Thursday, September 04, 2008 07:17
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Create new IIS WebSite


Hi,

I am having the same problem, I'm installing on XP Pro - is this the cause
of my problem - the default website being removed on installation? - this
should not occur if I was instainng on server 2003?

regards

Derek
Post by c***@comcast.net
I am trying to create a new web site in IIS.
Here is my code.
<WebSite Id='Web Sites' Description='My Web Site' Directory='INSTALLDIR'
StartOnInstall='yes’>
<WebAddress Id="AllUnassigned" Port="14465" />
</WebSite>
If I use port 80 it renames the ‘Default Web Site’ to ‘My Web Site’. If I
use a random port number I get an error (Failed to read IIsWebs table.
(-2147024774)).
What I am trying to do is create a new web site on windows 2003 and
windows XP. Can anyone please help??
TIA
Shayla
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
View this message in context: http://n2.nabble.com/Create-new-IIS-WebSite-tp698539p838889.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lis
Continue reading on narkive:
Loading...