I got things working by creating a linked server (in SSMS under Server Objects > Linked Servers) called "VMDEV-APP2\MAPS" where VMDEV-APP2 is my server name and MAPS is the SQL Express instance name. The following query now works:
> SELECT * FROM [VMDEV-APP2\MAPS].MAPS.dbo.devices
Using this, I should be able to get your code to work.
Ken