The relative virtual path is not allowed here
<p>In my controller action, I have the following code:</p>

<pre><code>...more code

if (...)
{
    // create a site user
    await this.CreateUserAndSignHimInAsync(UserType.SiteUser, model);

    var landingPageUrl = IdentityManager.GetLandingPageUrl(model.Email);

    return Redirect(landingPageUrl);
}

...more code
</code></pre>

<p>The <code>landingPageUrl</code> is a url that looks like so: <strong>"~/Journal/Search".</strong></p>

<p>At the <code>return Redirect</code> line, I get an exception that says:</p>

<blockquote>
  <p>The relative virtual path '~Journal/Search' is not allowed here.</p>
</blockquote>