Problems with configuration IIS-Sites

For all your non-technical questions.
RetroMind
Posts: 4
Joined: Thu Oct 26, 2006 9:21 am

Problems with configuration IIS-Sites

Postby RetroMind » Thu Oct 26, 2006 9:29 am

Hello,

i am using version 6.0 an have some problems by configuration my IIS-Site.

i am not able to set 'script socure access', changing 'application protection' and ich can not 'default.aspx' as a default content page.
furthermore i am not able so change ASP.NET version is.

all these settings have no effect on my finish install-routine.

it's a win32-Setup project.

any ideas, how can i solve my problem?

best regards
Chris
Last edited by RetroMind on Fri Oct 27, 2006 1:04 am, edited 1 time in total.

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Thu Oct 26, 2006 12:21 pm

Hi Chris,

All of these appear to be supported using the pre-built MSIcode commands.
Can you provide any other details on the problem so we can track it down better?
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

RetroMind
Posts: 4
Joined: Thu Oct 26, 2006 9:21 am

Postby RetroMind » Fri Oct 27, 2006 1:33 am

Hello,

this code-part is placed in the MSIcode:

Code: Select all

~InstallAware Clipboard Data~
~Create Virtual Folder~
~{F5C0B08D-3214-4386-8D5B-671E1196F98C}~
~$KUNDE$~
~$WWWROOTDIR$\\$KUNDE$~
~TRUE~
~TRUE~
~FALSE~
~FALSE~
~TRUE~
~TRUE~
~2|~
~1|2~
~TRUE~
~Default.aspx,Default.htm,Default.asp,index.htm,Default.asx~
~~
~TRUE~
~TRUE~
~FALSE~
~~
~~

Code: Select all

        Create Virtual Folder "$KUNDE$" in IIS Site #, pointing to physical location $WWWROOTDIR$\\$KUNDE$


I have tried this code-part on several positions in the code, always the same effect.

Best regards
Chris

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Fri Oct 27, 2006 7:45 am

You need to provide a site index number, otherwise there is no way for IIS to know which site you are creating your virtual folder within.
Candice Jones

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

RetroMind
Posts: 4
Joined: Thu Oct 26, 2006 9:21 am

Postby RetroMind » Thu Nov 02, 2006 2:20 am

great, it works :)

mtaber
Posts: 13
Joined: Mon Mar 19, 2007 7:12 pm

Postby mtaber » Mon Mar 19, 2007 7:17 pm

I'm having basically the same problem using version 6.4. The ASP.NET version is not getting set properly when I run the installer against Windows XP SP2 with IIS installed.

It creates the virtual directory and puts all of the files in the right places, but the ASP.NET version is not being set to 2.0.xxxx.

Code: Select all

~InstallAware Clipboard Data~
~Create Virtual Folder~
~{D55E07A2-2DD0-4FE6-AD93-2E6CDE7BB88D}~
~$FOLDER$~
~$TARGETDIR$~
~FALSE~
~TRUE~
~FALSE~
~FALSE~
~TRUE~
~TRUE~
~2|~
~1|2~
~TRUE~
~Default.aspx~
~~
~TRUE~
~FALSE~
~FALSE~
~~
~$WEBSITEINDEXVAR$~


Code: Select all

Create Virtual Folder "$FOLDER$" in IIS Site #$WEBSITEINDEXVAR$, pointing to physical location $TARGETDIR$


This is the line that I'm using, but I don't see any mention of ASP.NET 2.0. Not sure if it's even here. Do I need to set an IIS property manually to get that to work?

mtaber
Posts: 13
Joined: Mon Mar 19, 2007 7:12 pm

Postby mtaber » Tue Mar 20, 2007 11:56 am

I was able to get around this by making a call to:
aspnet_regiis.exe -iru

followed by a call to:
aspnet_regiis.exe -s W3SVC/$WEBSITEINDEXVAR$/ROOT/$FOLDER$

It appears that setting the ASP.NET version doesn't work properly if it's installed, but not registered with the websites.

From what I'm seeing, I'm very pleased overall. There seems to be multiple ways to solve most problems, which would make working around bugs pretty easy.


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 24 guests