Problems deploying on sub website

Topics: Developer Forum, Project Management Forum, User Forum
Aug 8, 2007 at 7:03 PM
I was wondering if n2 works on web applications deployed on sub folders.

I have a non .net app deployed to root folder and I created a virtual website underneath called Promotional (configured as a web application and with .net 2.0)

www_root\ <- web app
www_root\Promotional\ <- N2 app

The homepages shows up but it get this error web I go to sub section.

The virtual path '/Aspx/Page.aspx' maps to another application, which is not allowed.

It is trying to load the file from
www_root\Aspx
Instead of
www_root\Promotional\Aspx

Am I missing something or do you always need to install it at the root folder.
Coordinator
Aug 9, 2007 at 8:22 AM
Hello,

It should work in sub folders.

How is the "TemplateUrl" property set up?

Does it perhaps returns "/Aspx/Page.aspx"? It should return "~/Aspx/Page.aspx" if it's to work in a virtual directory.

Regards,
Cristian