Hi there, trying to use Windows WPI to install Umbraco on Windows 7 IIS v7.5
I need to run Umbraco next to a couple other sites. I created new folder inetpub/wwwroot/umbraco and created a new website in IIS pointing to this folder. I then used WPI and installed into this new directory. I have tried a couple other configurations, but so far no luck. Can someone help me out?
I have a screenshot of the error, but it does not look like I can upload.
Error Message:
The virtual path '/install/steps/welcome.ascx' maps to another application, which is not allowed. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: The virtual path '/install/steps/welcome.ascx' maps to another application, which is not allowed.
Stack Trace:
[ArgumentException: The virtual path '/install/steps/welcome.ascx' maps to another application, which is not allowed.] System.Web.VirtualPath.FailIfNotWithinAppRoot() +11363277 System.Web.Compilation.BuildManager.ValidateVirtualPathInternal(VirtualPath virtualPath, Boolean allowCrossApp, Boolean codeFile) +271 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +155 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +116 System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +69 umbraco.presentation.install._default.OnInit(EventArgs e) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\install\default.aspx.cs:83 System.Web.UI.Control.InitRecursive(Control namingContainer) +143 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477
Looking at the error, it looks like you're trying to install umbraco in a virtual directoy. That will not work, umbraco needs to be in the root of a site. (it will be supported in version 4.1 though)
On windows 7, you can also create multiple websites (unlike in windows XP). So, please create a new website (in the IIS manager) and then try again.
Hmmm, I tried this again, but it still did not install properly. I am not super familiar with IIS so thanks for bearing with me. Maybe the steps I have taken are not correct?
1. I created a new website called umbraco using IIS Manager 2. When creating this site it asks where it is located. Since I have not installed Umbraco at this point, I create a new folder inetpub/wwwroot/umbraco and set this as my new site. 3. I use Web Platform installer and install into this new directory 4. When I navigate to my new site at localhost/umbraco I get now this error:
Could not find a part of the path
'C:\inetpub\wwwroot\umbraco\data\access.xml'.
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.IO.DirectoryNotFoundException:
Could not find a part of the path
'C:\inetpub\wwwroot\umbraco\data\access.xml'.
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Hi, just an update. I got this running via the Web Platform Installer.
The issue is that IIS required me to set a directory when creating a website from scratch. Since I didn't have an umbraco directory to point to yet, I was forced to create an empty one. Since the Umbraco installer unpacks inside its own Umbraco directory, all of my paths were off by one level.
In order to get it working I had to follow this install order:
Use WPI to Install Umbraco as Default Web Site in the inetpub/wwwroot folder
Open inetmgr, right click on sites, and Add Web Site
Under Physical Path point to the new umbraco folder in wwwroot
Web Platform Installation Fail
Hi there, trying to use Windows WPI to install Umbraco on Windows 7 IIS v7.5
I need to run Umbraco next to a couple other sites. I created new folder inetpub/wwwroot/umbraco and created a new website in IIS pointing to this folder. I then used WPI and installed into this new directory. I have tried a couple other configurations, but so far no luck. Can someone help me out?
I have a screenshot of the error, but it does not look like I can upload.
Error Message:
The virtual path '/install/steps/welcome.ascx' maps to another application, which is not allowed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: The virtual path '/install/steps/welcome.ascx' maps to another application, which is not allowed.
Stack Trace:
[ArgumentException: The virtual path '/install/steps/welcome.ascx' maps to another application, which is not allowed.]
System.Web.VirtualPath.FailIfNotWithinAppRoot() +11363277
System.Web.Compilation.BuildManager.ValidateVirtualPathInternal(VirtualPath virtualPath, Boolean allowCrossApp, Boolean codeFile) +271
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +155
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +116
System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +69
umbraco.presentation.install._default.OnInit(EventArgs e) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\install\default.aspx.cs:83
System.Web.UI.Control.InitRecursive(Control namingContainer) +143
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477
Hi,
Looking at the error, it looks like you're trying to install umbraco in a virtual directoy. That will not work, umbraco needs to be in the root of a site. (it will be supported in version 4.1 though)
On windows 7, you can also create multiple websites (unlike in windows XP). So, please create a new website (in the IIS manager) and then try again.
If you need any further help, just ask away.
Peter
Hmmm, I tried this again, but it still did not install properly. I am not super familiar with IIS so thanks for bearing with me. Maybe the steps I have taken are not correct?
1. I created a new website called umbraco using IIS Manager
2. When creating this site it asks where it is located. Since I have not installed Umbraco at this point, I create a new folder inetpub/wwwroot/umbraco and set this as my new site.
3. I use Web Platform installer and install into this new directory
4. When I navigate to my new site at localhost/umbraco I get now this error:
Could not find a part of the path 'C:\inetpub\wwwroot\umbraco\data\access.xml'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\inetpub\wwwroot\umbraco\data\access.xml'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Hi, just an update. I got this running via the Web Platform Installer.
The issue is that IIS required me to set a directory when creating a website from scratch. Since I didn't have an umbraco directory to point to yet, I was forced to create an empty one. Since the Umbraco installer unpacks inside its own Umbraco directory, all of my paths were off by one level.
In order to get it working I had to follow this install order:
is working on a reply...