Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
5.00/5 (1 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 "\\192.168.1.20\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.
Posted
Updated 21-Jul-13 21:41pm
v2
Comments
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

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 \\192.168.1.20\myFolder\
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900