无法从Windows CE 5.0设备访问2008 R2服务器上的文件 [英] Unable to access files on 2008 R2 server from Windows CE 5.0 device
问题描述
是否存在兼容性问题或其他阻止Windows CE 5.0设备直接从Windows Server 2008 R2访问文件的问题,给定了类似\\\\192.168.1.20\myFolder \ myFile的网络路径。 exe?
我有一个C#应用程序,被许多运行Windows CE 5.0,.NET 3.5紧凑框架的条形码扫描设备使用,并使用Web服务与DB沟通。
我一直致力于该程序的自动更新功能。它将正在运行的程序集的版本号与位于服务器上特定路径中的.exe进行比较,并在需要时在服务器上下载.exe。当我从桌面运行.exe时,这很有效。
但是,扫描设备无法访问服务器文件。据我所知,父文件夹是共享的并且对整个网络可见。
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.
推荐答案
Windows CE无法使用服务器的地址访问网络共享。它需要服务器的UNC(通用命名约定)。
例如:\\\\ V-AppServ \ myFolder \
NOT \\192.168.1.20\myFolder \
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\
这篇关于无法从Windows CE 5.0设备访问2008 R2服务器上的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!