This project is read-only.

Url

Jul 11, 2013 at 3:42 PM
Hi,

i have an issue with the URLs on my IIS Server page.

Local it works fine
  1. click on [Home] route to http://localhost:1616/
  2. click on [Plugin] route to http://localhost:1616/FoobarPlugin/Index?plugin=FoobarPlugin
  3. click on [Plugin] or [Home] again it works fine.
On IIS Server with subfolder url (http://DemoDomain/ShellSample/)
  1. click on [Home] route to http://DemoDomain/ ( 404 Error )
  2. click on [Plugin] route to http://DemoDomain/FoobarPlugin/Index?plugin=FoobarPlugin ( 404 Error )
All the URLs doesn't work on my IIS server.

Global.asax.cs ( Shell )
//Register pages in Shell project.
ViewModel.MainMenuItems.Add(new MenuItem
    {
            Text = "Home",
                URL = "/"
    });
Manifest.xml ( Plugin )
<Item url="/FoobarPlugin/Index?plugin=FoobarPlugin" text="Foobar Plugin" order="0" />
Could you please provide me with some assistance to fix this problem?

regards,
Marcus
Jul 12, 2013 at 8:54 AM
Hi,

I found a workaround to fix my problem.

I've added the sub directory to all URL's in the global.asax.cs and Manifest.xml file.

Global.asax.cs ( Shell )
//Register pages in Shell project.
ViewModel.MainMenuItems.Add(new MenuItem
    {
            Text = "Home",
                URL = "/__ShellSample__/"
    });
Manifest.xml ( Plugin )
<Item url="/__ShellSample__/FoobarPlugin/Index?plugin=FoobarPlugin" text="Foobar Plugin" order="0" />