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
- :
- Error with IISRT: -2147024891
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 21, 2010
04:43 PM
Error with IISRT: -2147024891
When I try to install a new website using InstallShield 2010 on IIS7 I get the following error.
InstallShield 13:23:30: CommitChanges for path 'MACHINE/WEBROOT/APPHOST/Default Web Site/MyNewWebsite' and physical path 'C:\inetpub\wwwroot\MyNewWebsite\'.
InstallShield 13:23:30: CommitChanges failed with the following HRESULT: '-2147024891'.
InstallShield 13:23:30: Error with IISRT: -2147024891
Somebody please help!!!
InstallShield 13:23:30: CommitChanges for path 'MACHINE/WEBROOT/APPHOST/Default Web Site/MyNewWebsite' and physical path 'C:\inetpub\wwwroot\MyNewWebsite\'.
InstallShield 13:23:30: CommitChanges failed with the following HRESULT: '-2147024891'.
InstallShield 13:23:30: Error with IISRT: -2147024891
Somebody please help!!!
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2010
01:09 PM
This error indicates "access is denied." Does this error occur if you test installing a website with a sample project (not installing any files to the target path of the website)? Are you installing any web.config files to C:\inetpub\wwwroot\MyNewWebsite in your project? Also, what version of Windows does this error occur on (Vista, 2008, etc.)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2010
07:41 AM
Josh:
I am getting the same error (IISRT: -2147024891) while installing new website on Windows 7. Yes, my install is installing web.config file. When I delete the file from my install, the installation was successful. But, we need to distribute web.config file. Is there is a solution for this issue. Thank you.
I am getting the same error (IISRT: -2147024891) while installing new website on Windows 7. Yes, my install is installing web.config file. When I delete the file from my install, the installation was successful. But, we need to distribute web.config file. Is there is a solution for this issue. Thank you.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 02, 2010
01:32 AM
Web.config file was readonly, fixed the file attributes and the install was successful.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)
Anonymous
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 25, 2012
04:12 PM
Our IS project is part of a visual studio solution that uses "Content" and "Primary output" for Web application projects, so there is no web.config file to set attributes for.
Anyone have ideas?
Anyone have ideas?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 22, 2017
04:14 PM
I have the exact same problem as stingyjack. My IS project is part of a visual studio solution that uses "Content" and "Primary output" for Web application projects, so there is no web.config file to set attributes for. I have verified that the web.config file installation is causing the error because it works if the web.config file is removed from the install. To add some more information, we have been using this same installer on Server 2008 with no issue and this only became a problem when installing on Server 2012. My temporary solution has been to remove the web.config file just to get the thing to install but obviously I need to get this resolved. What does Flexera Software recommend?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2017
08:49 AM
bdaniels wrote:
I have the exact same problem as stingyjack. My IS project is part of a visual studio solution that uses "Content" and "Primary output" for Web application projects, so there is no web.config file to set attributes for. I have verified that the web.config file installation is causing the error because it works if the web.config file is removed from the install. To add some more information, we have been using this same installer on Server 2008 with no issue and this only became a problem when installing on Server 2012. My temporary solution has been to remove the web.config file just to get the thing to install but obviously I need to get this resolved. What does Flexera Software recommend?
Follow up: I discovered the issue was that the web.config file was not checked out in Visual Source Safe/Team Foundation Server when creating the installer, which led to the resulting web.config file being in read-only mode. And we know from experience that having the web.config file in read-only mode causes this error. So my fix was as simple as making sure the file was checked out. Anyone else seeing this issue should be aware of this. I had never seen this issue when installing in a Server 2008 environment but it definitely happened in a Server 2012 environment.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)