Creating IIS applications changes the Web Site root path!

Got a problem you cannot solve? Try here.

Re: Creating IIS applications changes the Web Site root path

Postby Adam » Mon Jul 16, 2012 9:02 am

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
Adam
 
Posts: 22
Joined: Tue Jul 10, 2012 5:28 am

Re: Creating IIS applications changes the Web Site root path

Postby FrancescoT » Mon Jul 16, 2012 11:17 am

Dear Adam,

can you please verify if the following topic helps you?
http://www.installaware.com/forum/viewtopic.php?f=2&t=8508&hilit=+default+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 Support

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: 1836
Joined: Sun Aug 22, 2010 4:28 am

Re: Creating IIS applications changes the Web Site root path

Postby Adam » Tue Jul 17, 2012 3:38 am

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
Adam
 
Posts: 22
Joined: Tue Jul 10, 2012 5:28 am

Re: Creating IIS applications changes the Web Site root path

Postby FrancescoT » Tue Jul 17, 2012 8:09 am

Dear Adam,

If you could post me a very simple project ... It might help me to speed any test.

Regards.
Francesco Toscano
InstallAware Software Support

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: 1836
Joined: Sun Aug 22, 2010 4:28 am

Re: Creating IIS applications changes the Web Site root path

Postby Adam » Wed Jul 18, 2012 7:14 am

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
Adam
 
Posts: 22
Joined: Tue Jul 10, 2012 5:28 am

Re: Creating IIS applications changes the Web Site root path

Postby FrancescoT » Wed Jul 18, 2012 8:40 am

Happy that you solved :D !
Francesco Toscano
InstallAware Software Support

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: 1836
Joined: Sun Aug 22, 2010 4:28 am

Re: Creating IIS applications changes the Web Site root path

Postby lbertoldi » Fri Aug 03, 2012 9:38 am

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.
creatvdir.png
vdir creation
creatvdir.png (36.52 KiB) Viewed 1320 times

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
endresult.png
end result
endresult.png (31.36 KiB) Viewed 1320 times

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...
lbertoldi
 
Posts: 55
Joined: Wed Apr 07, 2010 7:19 am

Re: Creating IIS applications changes the Web Site root path

Postby FrancescoT » Fri Aug 03, 2012 12:32 pm

Let me see.

Regards
Francesco Toscano
InstallAware Software Support

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: 1836
Joined: Sun Aug 22, 2010 4:28 am

Re: Creating IIS applications changes the Web Site root path

Postby lbertoldi » Wed Aug 08, 2012 6:13 am

News?
Thanks
lbertoldi
 
Posts: 55
Joined: Wed Apr 07, 2010 7:19 am

Re: Creating IIS applications changes the Web Site root path

Postby FrancescoT » Wed Aug 08, 2012 7:06 am

Dear User,

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 Support

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: 1836
Joined: Sun Aug 22, 2010 4:28 am

Re: Creating IIS applications changes the Web Site root path

Postby lbertoldi » Fri Aug 10, 2012 9:46 am

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.
lbertoldi
 
Posts: 55
Joined: Wed Apr 07, 2010 7:19 am

Re: Creating IIS applications changes the Web Site root path

Postby FrancescoT » Fri Aug 10, 2012 9:55 am

Dear User,

I haven't received any email ... did you send it to: support@installaware.com?

Regards
Francesco Toscano
InstallAware Software Support

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: 1836
Joined: Sun Aug 22, 2010 4:28 am

Re: Creating IIS applications changes the Web Site root path

Postby lbertoldi » Mon Aug 27, 2012 1:51 am

Sorry, I meant "previous post" not "email".
In the meantime I will try to strip down my setup, but it's no easy task.
lbertoldi
 
Posts: 55
Joined: Wed Apr 07, 2010 7:19 am

Re: Creating IIS applications changes the Web Site root path

Postby FrancescoT » Mon Aug 27, 2012 8:17 am

... meantime, have you tried to see what happens using the new NX version (of course, you can use the trial)?

Regards
Francesco Toscano
InstallAware Software Support

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: 1836
Joined: Sun Aug 22, 2010 4:28 am

Re: Creating IIS applications changes the Web Site root path

Postby lbertoldi » Mon Aug 27, 2012 9:35 am

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?
lbertoldi
 
Posts: 55
Joined: Wed Apr 07, 2010 7:19 am

PreviousNext

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 4 guests