Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

seem to be having an issue that I can't find anyone else having.

I have two servers, one with Windows Server 2012 Essentials, and the other SBS 2011. Employees like using Remote Web Access to log in from anywhere and have access to shared folders. It works perfect on a Desktop computer, but when they try to use their Android tablets or phones, and want to download a file (e.g. a PDF) from one of the shared folders on the server, the download fails. When Microsoft was pushing 2012 they said RWA worked great on mobile devices, do I have to set up something separately to make this happen?

I've completely disabled the firewall, and have ports 80,443,987, and 1723(just to be safe) all forwarded to the server.

I can log into the RWA site on the android, browse files and folders, but when I select a PDF to download, the download shows as if it's starting, shows in my android notification as if its going to start downloading (Shows MobileDownload www.mydomain.com) but eventually after a few minutes, will time out and show "Download Unsuccessful".

Network connectivity is fine as I can do this on a Windows Desktop PC using any browser (Chrome, Firefox, IE) and successfully download anything I want.

All androids and iphones have this issue All file types have this issue I tested with a 1KB txt file, same problem Ive been logged in with the same account as the desktop There's over 10GB available on the android BPA only shows IE Enhanced Security has been disabled

Here's what the event viewer shows whenever I try to download a file from a phone or tablet..

- System 
  • Provider

    [ Name] ASP.NET 4.0.30319.0

  • EventID 1309

    [ Qualifiers] 32768

    Level 3

    Task 3

    Keywords 0x80000000000000

  • TimeCreated

    [ SystemTime] 2014-01-12T16:49:12.000000000Z

    EventRecordID 72818

    Channel Application

    Computer MYSERVER.MYDOMAIN.local

    Security

    • EventData

    3005 An unhandled exception has occurred. 1/12/2014 11:49:12 AM 1/12/2014 4:49:12 PM 953eedf1ad414391a193e5f98a281da5 263 3 0 /LM/W3SVC/1/ROOT/Remote-1-130340167702975633 Full /Remote C:\Program Files\Windows Server\Bin\WebApps\RemoteAccess\ MYSERVER

    2592 w3wp.exe NT AUTHORITY\NETWORK SERVICE HttpException Server cannot set content type after HTTP headers have been sent. at System.Web.HttpResponse.set_ContentType(String value) at System.Web.UI.Page.SetIntrinsics(HttpContext context, Boolean allowAsync) at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.RealPageHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    https://remote.MYDOMAIN.com:443/Remote/fs/MobileDownload.aspx?path=\MYSERVER\PICTURES\2013603.jpg /Remote/fs/MobileDownload.aspx MY.IP.ADDRESS.141 MYDOMAIN\user True Forms NT AUTHORITY\NETWORK SERVICE 31 NT AUTHORITY\NETWORK SERVICE False at System.Web.HttpResponse.set_ContentType(String value) at System.Web.UI.Page.SetIntrinsics(HttpContext context, Boolean allowAsync) at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.RealPageHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

share|improve this question
add comment

1 Answer

On the mobile devices' browsers have you tried using the 'request desktop site' option to run Remote Web Access? I've seen a similar issue with other web remote applications before where by default a mobile version of the site is requested when the device browser navigates the site which deactivates some protocols and features, including downloads. It could also be sending requests to the site for mobile compatibility which Remote Web Access cannot handle.

share|improve this answer
    
Yes I tried this with no effect on at least android –  Matthew Mar 3 at 15:24
    
What browsers have you tested requesting the desktop site with? –  Mike Naylor Mar 3 at 15:27
    
IE 10,11, Firefox, and Chrome, all work and can download fine, it's only when downloading from a mobile browser. Also tried setting it to "Desktop Verson" on my phone on Android Browser and Chrome for Android. All downloads say unsuccessful when using a phone or tablet. –  Matthew Mar 4 at 16:07
    
does your site have a 'mobile compatibility' feature? –  Mike Naylor Mar 4 at 17:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.