I installed umbraco 4.8.1, the install seems to be good but when I want to build my solution I have this error :
The virtual path '/umbraco/masterpages/umbracoPage.Master' maps to another application, which is not allowed. C:\inetpub\wwwroot\UmbracoTest\umbraco\developer\RelationTypes\EditRelationType.aspx
I have 10+ installation of umbraco in 4.7.2 and I have never seen this problem.
I basically added the whole website to a visual studio solution and this I get the same error in the same file. If I just change path to MasterPageFile="~/umbraco/masterpages/umbracoPage.Master" in that file, the error moves to the next file and so on and so on..
Although I DO have to exclude all the files in the /umbraco/plugins/contour folder (I've got a licence for contour), since the .aspx.cs files aren't there to compile.. There must be another way for me to do that, but for now that helps. I am wondering if there's a better setup in the whole Visual Studio and Source control, that I'm not aware of, but for now the site is compiling fine.
For anyone with this problem who is using Visual Studio 2012 you can change the Virtual Path for the site in the Properties Window not the Property Pages for the site. Just select the site in Solution Explorer and open the Properties Window (View --> Properties Window) or (Ctrl+W, P) assuming the window is not already docked in the designer somewhere. Virtual path should be one of the editable properties.
I had this problem in Visual Studio 2010, except mine would build but all the paths to images, scripts, css etc. were wrong. Changing the Virtual Directory path in the Properties Window means I can now view everything in the browser as it should be.
I am new to this and I've gotta say, when people say it's got a steep learning curve they ought to throw in adverse camber for good measure. Thanks for this solution or I'd have no hair left. :)
Problem to build solution in 4.8.1
Hi,
I installed umbraco 4.8.1, the install seems to be good but when I want to build my solution I have this error :
The virtual path '/umbraco/masterpages/umbracoPage.Master' maps to another application, which is not allowed. C:\inetpub\wwwroot\UmbracoTest\umbraco\developer\RelationTypes\EditRelationType.aspx
I have 10+ installation of umbraco in 4.7.2 and I have never seen this problem.
Have you a solution ??
Thank you
I've the same problem, he project doesn't build. But I can't find any information on this forum.
Thats is happening to me also.
I basically added the whole website to a visual studio solution and this I get the same error in the same file. If I just change path to MasterPageFile="~/umbraco/masterpages/umbracoPage.Master" in that file, the error moves to the next file and so on and so on..
I guess this is some kind of a path-problem?
I did manage to fix this in my local solution by changing the Virtual Path of my website to /
:)
Hi,
Where do you set the Virtual Path please ??
P.S: in IIS I don't use virtual directory
Oh, its in Visual Studio under the properties for the website.
Just rightclick the website in the solution explorer and choose properties.
Although I DO have to exclude all the files in the /umbraco/plugins/contour folder (I've got a licence for contour), since the .aspx.cs files aren't there to compile.. There must be another way for me to do that, but for now that helps. I am wondering if there's a better setup in the whole Visual Studio and Source control, that I'm not aware of, but for now the site is compiling fine.
Thank you, it builds now.
This solution worked for me. Thanks.
For anyone with this problem who is using Visual Studio 2012 you can change the Virtual Path for the site in the Properties Window not the Property Pages for the site. Just select the site in Solution Explorer and open the Properties Window (View --> Properties Window) or (Ctrl+W, P) assuming the window is not already docked in the designer somewhere. Virtual path should be one of the editable properties.
I had this problem in Visual Studio 2010, except mine would build but all the paths to images, scripts, css etc. were wrong. Changing the Virtual Directory path in the Properties Window means I can now view everything in the browser as it should be.
I am new to this and I've gotta say, when people say it's got a steep learning curve they ought to throw in adverse camber for good measure. Thanks for this solution or I'd have no hair left. :)
Thx, this got me up and running in no time!
FYI - for others this applies to the latest (Umbraco v6) as well!
So... what would one do if there is no "Virtual Path" property on the Project Properties Window to edit?
is working on a reply...