Creating IIS applications changes the Web Site root path!
Re: Creating IIS applications changes the Web Site root path
Just wondering if anyone ever found a fix for this? My installer is doing exactly the same. I install between 1 and 3 websites based on the features selected and it looks like whichever is the last Virtual Directory to be created, updates "Default Web Site" and points it's physical path to $TARGETDIR$ rather than the default \inetpub\wwwroot. This is causing me problems as it means 2/3 websites do not work.
Cheers
Adam
Cheers
Adam
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Creating IIS applications changes the Web Site root path
Dear Adam,
can you please verify if the following topic helps you?
http://www.installaware.com/forum/viewt ... lt+apppool
If your issue can reproduced as reported with the above topic, it is also described a possible workaround.
The issue reported with the above topic as been added to our fix list.
Let me know if this helps you.
Regards.
can you please verify if the following topic helps you?
http://www.installaware.com/forum/viewt ... lt+apppool
If your issue can reproduced as reported with the above topic, it is also described a possible workaround.
The issue reported with the above topic as been added to our fix list.
Let me know if this helps you.
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Creating IIS applications changes the Web Site root path
Hi Francisco
While this is another problem, I can get around this problem by those exact methods for now.
My problem is that adding a Virtual Directory seems to change the root path for "Default Web Site" from c:\inetpub\wwwroot to the $TARGETDIR$ where the files for my virtual directory is kept. Let me know if you need some screenshots / test project if I'm not making any sense.
Cheers
Adam
While this is another problem, I can get around this problem by those exact methods for now.
My problem is that adding a Virtual Directory seems to change the root path for "Default Web Site" from c:\inetpub\wwwroot to the $TARGETDIR$ where the files for my virtual directory is kept. Let me know if you need some screenshots / test project if I'm not making any sense.
Cheers
Adam
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Creating IIS applications changes the Web Site root path
Dear Adam,
If you could post me a very simple project ... It might help me to speed any test.
Regards.
If you could post me a very simple project ... It might help me to speed any test.
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Creating IIS applications changes the Web Site root path
Hi Francisco
I created a test project but everything worked as expected. After doing some debugging, I realised that the problem is potentially from creating one website and then Copy and Pasting it, then modifying it to another.
I re-entered the Create Virtual Folder's and it all worked as expected.
Cheers
Adam
I created a test project but everything worked as expected. After doing some debugging, I realised that the problem is potentially from creating one website and then Copy and Pasting it, then modifying it to another.
I re-entered the Create Virtual Folder's and it all worked as expected.
Cheers
Adam
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Creating IIS applications changes the Web Site root path
Happy that you solved
!
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Creating IIS applications changes the Web Site root path
I am happy for Adam, but it didn't work for me.
I need to create two virtual folders, and to work around the "ASPNET version bug" I had to split the vdir creation, so I have FOUR create vdir instructions (two for IIS6 and two for IIS7). This is how I did it. I thought I copied/pasted the instructions, as Adam said, so I deleted them and re-created them by hand, but I still have the problem.
This is the end result As you can see, the default website path has been changed to the targetdir.
This is really annoying: we chose IA because it could handle IIS7 and application pool creation, but turns out it does it in a very unreliable way (a few years after IIS7 has been released!).
Any chance you have a new workaround? I am running out of ideas...
I need to create two virtual folders, and to work around the "ASPNET version bug" I had to split the vdir creation, so I have FOUR create vdir instructions (two for IIS6 and two for IIS7). This is how I did it. I thought I copied/pasted the instructions, as Adam said, so I deleted them and re-created them by hand, but I still have the problem.
This is the end result As you can see, the default website path has been changed to the targetdir.
This is really annoying: we chose IA because it could handle IIS7 and application pool creation, but turns out it does it in a very unreliable way (a few years after IIS7 has been released!).
Any chance you have a new workaround? I am running out of ideas...
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Creating IIS applications changes the Web Site root path
Let me see.
Regards
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Creating IIS applications changes the Web Site root path
Dear User,
Unfortunately I do not have any news.
Could you please send me a very simple project that replicate the issue?
Regards
Unfortunately I do not have any news.
Could you please send me a very simple project that replicate the issue?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Creating IIS applications changes the Web Site root path
Did you try the setup I described in my email?
That's the only part of my script that deals with vdir creation. You should try to use variables for most of the params, and the if-then clause to handle the IA ASPNET bug.
Please let me know.
That's the only part of my script that deals with vdir creation. You should try to use variables for most of the params, and the if-then clause to handle the IA ASPNET bug.
Please let me know.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Creating IIS applications changes the Web Site root path
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Creating IIS applications changes the Web Site root path
Sorry, I meant "previous post" not "email".
In the meantime I will try to strip down my setup, but it's no easy task.
In the meantime I will try to strip down my setup, but it's no easy task.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Creating IIS applications changes the Web Site root path
... meantime, have you tried to see what happens using the new NX version (of course, you can use the trial)?
Regards
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Creating IIS applications changes the Web Site root path
I can give it a try, but does this mean that with the new NX release you are abandoning 2012 customers???
I mean, don't you support at least the previous version?
I mean, don't you support at least the previous version?

