This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Installation fails when using IISPREFERLEGACYOBJECTS on Windows Vista
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Dec 01, 2008
02:03 AM
Installation fails when using IISPREFERLEGACYOBJECTS on Windows Vista
Hi,
Problem: In my project I install a site and under the site a virtual directory "vdir". On Windows Vista with IIS 7. This will create the site OK and an application called "vdir" (as I set an application name), fine. It will however also create virtual directories below the site so you'll end up with duplicates i.e. you will have an application called under the site, but under the application you will have the same root directory as in the application, but now as a virtual directory. This has been reported by others and there are other threads on the subject as well. A workaround was supposed to set the IISPREFERLEGACYOBJECTS property. However if I set this property the installer aborts with the following error message
InstallShield 14:09:16: SetaData failed with HRESULT: -2147024846. The request is not supported.
InstallShield 14:09:16: Error with IISRT: -2147024846. Error translation: The request is not supported.
All the files are then rolled back, but the site is left on the system. IIS 6 metabase compatibility is installed on the target system that is Windows Vista 32bit with SP1. The same installation runs fine on Windows Server 2003.
Am I missing something?
Problem: In my project I install a site and under the site a virtual directory "vdir". On Windows Vista with IIS 7. This will create the site OK and an application called "vdir" (as I set an application name), fine. It will however also create virtual directories below the site so you'll end up with duplicates i.e. you will have an application called under the site, but under the application you will have the same root directory as in the application, but now as a virtual directory. This has been reported by others and there are other threads on the subject as well. A workaround was supposed to set the IISPREFERLEGACYOBJECTS property. However if I set this property the installer aborts with the following error message
InstallShield 14:09:16: SetaData failed with HRESULT: -2147024846. The request is not supported.
InstallShield 14:09:16: Error with IISRT: -2147024846. Error translation: The request is not supported.
All the files are then rolled back, but the site is left on the system. IIS 6 metabase compatibility is installed on the target system that is Windows Vista 32bit with SP1. The same installation runs fine on Windows Server 2003.
Am I missing something?
(7) Replies
‎Dec 12, 2008
10:29 AM
IISPREFERLEGACYOBJECTS is not a property of IIS but of the InstallShield project. It tells the installer to use IIS 6 compatible configuration (instead of IIS 7) to set the various IIS settings. It is only used on IIS 7.
Do you want to create the virtual dir from IIS or in the IIS Manager? In IS you create the virtual dir under a site, or create a custom action calling appcmd if you're on IIS7 (since IS 2009 does not correctly create virtual dirs on IIS 7)
Do you want to create the virtual dir from IIS or in the IIS Manager? In IS you create the virtual dir under a site, or create a custom action calling appcmd if you're on IIS7 (since IS 2009 does not correctly create virtual dirs on IIS 7)
‎Dec 12, 2008
01:26 PM
Thanks!
I want exact location where this property is in install shield?
Because i saw in some other article they told u have to replace two dlls and we have to set this property then it will create the virtual directory in IIS Manager
am i going right?
Or is there any other way to create it?
Thanks in advance!
I want exact location where this property is in install shield?
Because i saw in some other article they told u have to replace two dlls and we have to set this property then it will create the virtual directory in IIS Manager
am i going right?
Or is there any other way to create it?
Thanks in advance!
‎Dec 14, 2008
03:11 PM
Well, click Properties (or is it Property?) on the left-side tree and you'll get a grid with property name and value. the property is not there by default so you'll have to create it. Remember that it is all capital letters. Have you tried searching the KB?
‎Dec 16, 2008
09:00 AM
ChinniMP wrote:
Hi,
I am not able to create the property.
Please send the screenshots, where and how we can create properties.
Thanks
Sorry but I don't have the time. I suggest you either consult the online documentation/kbase or contact Acresso support.
‎Dec 31, 2008
02:48 PM
Weird; I am using this property in a similar fashion and am not getting this error. What happens directly before:
InstallShield 14:09:16: SetaData failed with HRESULT: -2147024846. The request is not supported.
Is it attempting to create the virtual directory, web site, app pool, etc?
Also, does this happen in all of your Vista environments? (is it possible some pre-req isn't installed correctly...)
InstallShield 14:09:16: SetaData failed with HRESULT: -2147024846. The request is not supported.
Is it attempting to create the virtual directory, web site, app pool, etc?
Also, does this happen in all of your Vista environments? (is it possible some pre-req isn't installed correctly...)