WHS Mobile v1.0

It has been a long time since I posted an update to WHS Mobile, but for a good reason. I have been working on it when I have had free time. I skipped a few numbers in the process testing it myself.

Here is version 1.0 of WHS Mobile. The Windows Home Server add-in for remote management of your Home Server using a Windows Mobile Device.

 

Changes Since 0.0.0.5 Beta:

  • New: Redid the Server and Client to use WCF from .NET 3.5
  • New: Redid client GUI
  • New: Optimized client and server for speed
  • New: Redid UPnP Mode
  • New: UPnP Mode can now list existing UPnP forwards
  • New: Remove UDP UPnP ports
  • New: Thumbnail viewing in File Mode – Select toggle view under Actions => File
  • New: Other things I can’t remember
  • Fixed: CPU usage bug and changed code to keep the memory usage down
  • Fixed: Problems logging in and session crashing
  • Fixed: Redid downloading via File Mode to show save dialog before downloading – After effects, now locks up client while downloading / can only download one file at a time
  • Fixed: A bunch of other things I can’t remember

Upgrade Instructions:

  1. Disable WHS Mobile using Settings Tab in WHS Console.
  2. Uninstall Add-In.
  3. Uninstall Client on Mobile Device.
  4. Follow normal installation instructions below.

Installation Instructions:

  1. Install .NET 3.5 Runtime on your Windows Home Server (using Remote Desktop) if not already installed.
  2. Install .NET Compact Framework 3.5 on PC set to sync with Device, if not already installed.
  3. Download and Install WHS Mobile Add-In.
  4. After installing the Add-In, check the boxes in the settings page next to the features you want enabled, along with setting the password.
  5. Click Enable.
  6. Install the WHS Mobile Client on your Mobile Device (Extract the files from the Zip and copy them over to your device, Requires WM5 or WM6)
  7. Run WHS Mobile on the Mobile Device.
  8. Click Actions => Settings.
  9. Enter in your WHS Remote Access domain.
  10. Clear out any existing password, and enter in the password you set in step 4.
  11. Click Save.
  12. Click Connect.
  13. You should now see the WHS Mobile Dashboard.
  14. Have fun!

Extras:

Want Remote Desktop access using your Mobile Device to your server or one it’s clients? Follow my guide I posted on the WGS Wiki.

For FTP Mode to work, you need to have my FTP Manager add-in installed and setup.

Download:

WHS Mobile Add-In

WHS Mobile Client

 

 

Screen Shots (Click for High Resolution Shots)

 

Dashboard

 

FTP

 

Users

 

 

Image Thumbnails

 

 

Comments

Andres

I love it!

Thank you


Adam

Very nice! Now i need an iPhone version... that would be really sweet


Brent

I don't think I'll be making an iPhone version until there is .NET Support instead of only Objective-C. Don't Mono for iPhone anyone? Don't forget the iPhone SDK is only for OS X (at leat last time I checked it was).

I would love to otherwise :)


Walter

Hi,

great idea for the mobile control of my WHS. I managed to get everything installed, I think correctly, but I keep getting the error "password incorrect". I tried different passwords, of course in sync with the WHS side but still no luck. I use as domain name the format: https://name.homeserver.com. Should I also make a use account with remote priviledges? Any idea what I do wrong?

regards, Walter


Brent

Walter,

Are you port forwarding manually or automatically? If manually, you need to port forward TCP 1045.


Walter

Hi Brent,

Thansk for your response. Unfortunately it does not work yet. Here is what I checked:

- my WHS says my wesite is up and runnin g and I used upnp for setting the router. This all worked.

- I checked with firewall settings on my whs and a rule has been made for port 1045 TCP (automatically)

- I also put in my router (Linksys WG54type) a port forward for 1045 TCP/IP to the ip address of my WHS

- I also tried a few different passwords like simple words (only letters)

- I disable temporarily my windows firewall on WHS, no luck

- I tried connecting with my mobile device over WLAM iso HDSPA, no luck

Do you still have ideas? If you think it might help I could email you a password and exact address so you can try from your end. Still a test server... I still keep getting the incorrect password statement which I guess is a broad statement regarding no connection.

I am using a HTC touch pro with windows mobile 6.1 on it and installed the .net 3.5 framwork. The application is running both on mobile device and WHS.

regards

Walter


Walter

Hi Brent,

Perhaps getting closer, I notice now that my WHS signals some troubles with the automatic port forwarding on the router wrt the internte site of WHS. I get the message " Verifying port forwarding, port forwarding may not be working correctly, your website may not be available on the internet. Which is true, I checked. If I redo the cycle of announcing my webserver willaert.homeserver.com via windows ddns it works but after some time (related to our experiemnts perhaps wrt mobile access?!) it stops working. Should i forget about upnp configuration and do everything by hand? Which ports would I need next to mobile access port TCP1045? 80?

regards

Walter


Brent

Walter,

No problem. All you need to forward for WHS Mobile to communicate with the mobile device is port 1045 (TCP). Also, make sure remote access is setup and that you have a domain name setup under remote access. The server grabs the domain name from that. If that still doesn't work, try making sure the WHS Mobile service is running on the WHS. If it is, also try turning off the firewall temporarily and see if that helps.


Walter

Hi Brent,

I checked again the things mentioned by you like remote access (works fine) and firewalls. The windows firewall was automatically set to enable port 1045. I however checked with an external port scanner the availability of the port and got the message 'connection refused' . I am a bit worried now that the port 1045 is not allowed by my ISP. In this case the only workaround would be to change the port address in the mobile access SW?

regards,

Walter


Brent

Walter,

The port is hard coded. I'll see about releasing an update to change that.


Tyrell

I am having the same problem as Walter. Also when I check to see if the service is running in WHS its not. When I try to start it I get an error saying that it started then stopped again. It shows Enabled in WHS Console but service is actually not started? Could this be a problem.

Thanks

Ty


Brent

Tyrell,

That would definitely be a problem. Did you enable remote access and setup a domain for it?


Walter

Hi Tyrell, Brent,

I checked the same as Tyrell and get indeed same behavior. My "LED" in WHS mobile says running and enabled, but looking in the services I see not started and starting does not succeed. I changed some settings with login as admin etc, but no luck. After a second the service stops again. Maybe this is the real problem and my port 1045 not although I checked with www.canyouseeme.org and saw no luck with port 1045.


Walter

I forgot to mention that my remote access is setup and working properly. I can access my folders and users over the xxx.homeserver.com link.


Brent

Walter & Tyrell,

That means the service died right after starting. Did you both install .NET 3.5 on your WHS? www.microsoft.com/.../details.aspx

Also, check your application event log to see if there are any WHS Mobile errors also check the system event log (all on the WHS).


Walter

HI Brent,

I checked and my dotnetversion reporter told me I indeed installed dotnet version 3.5 FW as well as older versions 3.0, 2.0, 1.1, but I guess only the latest version counts?

In my event viewer system tab I do not see any information being added by the attempts to start the windows service. Neither in the Homeserver tab or application tab. The error message I keep getting is:

"

The WHS mobile server on local computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts Service.

"


Brent

Walter,

The client and server both need .NET 3.5, as mentioned in the installation instructions. Can you check the Application log after trying to start the service. It should have a .NET error regarding TV Manager. I had made a mistake when I said application or system, it would only be in application.


Walter

Hi Brent,

small remark to start with, all dates on the log seem to be now Jan 23rd, 2008. Not a problem but guess something went wrong when you changed your environment.

I checked with a tool from Asoft my bersion on the server, it states like I mentioned before amonhst others .net framework 3.5. I also checked again my mobile and it says Microsoft .net CF 3.5.

In the application log I did not see anything popping up after trying to start the service in the service manager. Perhaps not related but when I tried to start from the settings panel in the console, I got a remark when i tried to disable the WHS mobile although it was not running. The error in the application log was regarding .net 2.0 runtime error.

I also got some info from the log files of WHS mobile of which I include a part here. If you need the log files I could send them to you if I know where to send it to.

info from log file:

Running a transacted installation.

Beginning the Install phase of the installation.

See the contents of the log file for the C:\Program Files\Windows Home Server\WHs Mobile.Server.exe assembly's progress.

The file is located at C:\Program Files\Windows Home Server\WHs Mobile.Server.InstallLog.

An exception occurred during the Install phase.

System.ComponentModel.Win32Exception: The specified service already exists

The Rollback phase of the installation is beginning.

See the contents of the log file for the C:\Program Files\Windows Home Server\WHs Mobile.Server.exe assembly's progress.

The file is located at C:\Program Files\Windows Home Server\WHs Mobile.Server.InstallLog.

The Rollback phase completed successfully.

The transacted install has completed.

end of log file. There is also a bigger log file and a config file if it is of interest.

regards,

Walter


Brent Friedman

Walter,

1. I'm still working on the template. Thank you for letting me know, I fixed it.

2. That log file that you pasted in basically means it tried to install the service but the service was already installed.

3. If you could send the the other logs to brent [dot] friedman [dot] 89 [at] gmail [dot] com.


Walter

Hi Brent,

I tried to send the email to your address but got it back with the message non existing.

I used both below:

[snip]

Did I make a typo? I filled in my email address in the blog so perhaps I can reply on your email to me?

regards

Walter


Brent Friedman

Walter,

My mistake, I put 80 instead of 89. I hate it when I make typos. ;-)

If you'd like to email me, that is fine. I cut the email out of your comment to prevent spam generated by spam bots. Then again, it was an incorrect addresss..


anthony

I get the following erroro on mobile device...

________________________________

WHS Mobile.exe

Exception

at

microsoft.AGL.Common.MISC.HandleAr()

at

System.Windows.Forms.ImageList..ctor()

at WHS_Mobile.MainWindow.InitializeComponent()

at WHS_Mobile.mainWindow..ctor()

at WHS_Mobile.program.Main()

__________________________________

Any help much appreciated


Anthony

Some strange reason, the WHS mobile program now loads up to the initial screen. I changed the password and entered my domain but i just get 'incorrect password' bounced back to me.

I am running HP Homeserver, forwarded port 1045 as said above on the router to WHS but still get the error.

thanks


Brent Friedman

Anthony,

Try disabling the Windows Firewall on your WHS temporarily snd then see if it works. If it does, allow the service through the firewall or add port 1045 TCP to the allowed ports in the firewall.


WhatBackHand

Brent,

I've just installed V1 and I'm getting the same symptoms as Walter and Anthony. On my WHS I have port 1045 opened (by the WHS Mobile install), but the service is not running and when I try and start it I get the "...started and then stopped..." message.

When I try and connect with my WM6 device I get the "incorrect password" message.

I've also tried disabling the firewall but no change in symptoms. Any suggestions?


Brent Friedman

WhatBackHand,

Please read this for more information: forum.wegotserved.co.uk/.../index.php


Jac

Hi Brent,

After installing .Net 3.5 and WHS Mobile 1.0 i got a similar problem as Anthony on November 8th. The program doesn't want to start. I already restarted my smartphone with windows 6.0 standard. I installed WHS mobiel and .Net on my storage card. Any idea what went wrong?

Thanks


Brent Friedman

Jac,

There seems to be a bug with the installer. I am working on a fix. Until then, please wait patiently for a new release.


Damion Littlewood

Hi, I cannot get this to work on my 6.1 windows mobile device.

I have followed the instrcutions above and was getting the invalid password error, then I restarted everything and now I get the following:

There was no endpoint listening at brentf.homeserver.com/.../Mobile that could accept the message ........

Brentf is this your home server then? I put the my home server address in the domain box in the settings?!?!

Thanks, Damion.


Brent Friedman

Damion,

Already solved for you over at We Got Served.


Damion

Hi yep works a treat now! thanks a lot. Great program!


Art

WHS MOBILE not loading on my TREO 800W, all I get is an error and it says error reporting and asked if I want to send message.


Brent Friedman

Art,

Have you tried the latest version? brentf.com/.../whs-mobile-v1-0

Also, do you have .NET 3.5 installed on your Treo?