Click here to Skip to main content
14,431,211 members
Rate this:
Please Sign up or sign in to vote.
Is there a compatibility issue or something else that would prevent a Windows CE 5.0 device from accessing files directly from a Windows Server 2008 R2, given a network path like "\\\myFolder\myFile.exe" ?

I have a C# application that's used by a number of barcode scanning devices running Windows CE 5.0, .NET 3.5 compact framework, and uses a web service to communicate with the DB.

I've been working on an auto-update feature for this program. It compares the Version numbers of the running assembly with the .exe located in a specific path on the server and downloads the .exe on the server when needed. This works well when I run the .exe from a desktop.

However, the scanning device cannot access the server files. As far as I'm aware the parent folder is shared and visible to the entire network.
Updated 21-Jul-13 22:41pm
midnight_ 22-Jul-13 3:46am
Accessing shares in a nt-environment has nothing to do with compatibility.
Check security (allow "everyone"/"users" if your devices are not in AD)
Can you access the dir via the explorer on the device?
Neven Iliev 22-Jul-13 3:54am
There are no security restrictions on the share, everyone has full access.
I don't have physical access to the devices unfortunately, since they belong to the customer who's in a different country entirely. However they claim they can't access it from the device's explorer either.
midnight_ 22-Jul-13 4:25am
Okay, then you might want to ask them if they can ping the server from device. Somethimes network admins place them in a different subnet.
Neven Iliev 22-Jul-13 7:10am
As it turns out it's something much more basic - I failed to do my research right. See my answer if you're interested.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Windows CE cannot access network shares using the server's address. It requires the server's UNC (Universal Naming Convention).

For example: \\V-AppServ\myFolder\
NOT \\\myFolder\

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100