Remote Web Access login page Redirect

LogoThis post comes courtesy of Susan Bradley, in that she highlighted the issue to me. In turn it was highlighted to her via TechSpeeder.

The issue is a relativley simple one, in previous versions of Essentials, visiting http://server or http://server.remotewebaccess.com it would automatically redirect you to the RWA Login page at /remote. In 2016 this is not occurring.

In 2012 R2 this behaviour is controlled via default.aspx in particular, this line.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Microsoft.WindowsServerSolutions.Web.RootSite._Default" %>

Looking at the Content of the Default Web Site in 2016, we can see the standard IIS InetPub wwwroot folder. This is odd because usually in Essentials that path has been updated to C:\Program Files\Windows Server\Bin\WebApps\Site.

InetPub

WebApps

Luckily we can simply amend that path to restore the functionality, right click the Default Web Site, go to Manage Website and then Advanced Settings.

Advanced Settings

Update the Physical Path to the ‘correct’ path, then restart the DefaultAppPool and the Default Web Site.

Advanced Settings IIS

Your site will now correctly redirect you to the login page.

This thread and answer from flyingMagnus confirm that changing the path ‘repairs’ the remote redirect with the side effect that the page reports ‘Remote Web Access is Turned Off’. I have opened a support case with Microsoft for this issue. In the meantime you can use the redirect method posted by TechSpeeder.

RWA Off

Update 30/11/2016

I just got off the phone with Microsoft, who informed me that this behaviour is ‘by design’. I’m pretty annoyed to say the least, if you include the Azure ASR Dashboard ‘bug’ it amounts to a pretty poor product. I’m not sure where that leaves me, i certainly don’t feel any passion towards the product any more. I’ll see if i can find _anyone_ at Microsoft who wants to communicate on this. For now at least, I think it is time to find a new solution.

About Robert Pearman
Robert Pearman is a UK based Small Business Server enthusiast. He has been working within the SMB IT Industry for what feels like forever. Robert likes Piña colada and taking walks in the rain, on occasion he also enjoys writing about Small Business Technology like Windows Server Essentials or more recently writing PowerShell Scripts. If you're in trouble, and you can find him, maybe you can ask him a question.

4 Responses to Remote Web Access login page Redirect

  1. miles267 says:

    How are you liking WSE16 over WSE12R2? Am still loving 2012E R2 and don’t want to reinstall OS all over again and reconfigure DirectAccess unless there are significant benefits in 2016. Thanks.

  2. What are the complete Physical paths for ht old incorrect and the new correct strings?

  3. I had ti install IIS Manager to do this , as the default 2016 Essentials install did not.

  4. Peter Perry says:

    Thanks for the post. I used the temporary redirect as a workaround as well. Glad is wasn’t something I messed up in IIS. My migration to WS2012E to new server hardware went smoothly though. Customer rollout is next.

Leave a reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: