UNC路径的格式应为\\ server \ share [英] The UNC path should be of the form \\server\share
问题描述
我正在使用VB.Net项目
Hi I am using a VB.Net project
当我使用服务器名称时,不会出现以下错误: UNC路径的格式应为\\ server \ share
When I use server name i do not get the below error : The UNC path should be of the form \\server\share
< PrintServerShare> \\计算机名\作业</PrintServerShare>
< JobShare> \\计算机名\ Job</JobShare>
<PrintServerShare>\\machinename\Job</PrintServerShare>
<JobShare>\\machinename\Job</JobShare>
但是当我使用服务器IP时,出现错误: UNC路径的格式应为\\ server \ share
But when i use the server Ip i get the error : The UNC path should be of the form \\server\share
< PrintServerShare> \\ 10.135.88.30 \ Job</PrintServerShare>
< JobShare> \\ 10.135.88.30 \ Job</JobShare>
<PrintServerShare>\\10.135.88.30\Job</PrintServerShare>
<JobShare>\\10.135.88.30\Job</JobShare>
能请你帮忙吗?
推荐答案
Peter
Peter,
我发现有些人似乎可以通过在Google搜索中找到问题来找到答案.
I see that some give answers while they seems to be found by putting the question in a Google search.
也许您可以以一种不仅让您了解的方式扩大问题的范围.例如:
Maybe you can widen your problem in a way it is not only for you to understand. For instance:
您在哪里使用它?:
- 在Windows服务中,
- 在Windows窗体应用程序中(然后在何处)
- 在控制台应用程序中
- 在网络服务实现中
- 在WPF应用程序中
- 可能还有更多
- In a windows service,
- In a windows forms application (and then where)
- In a console application
- In a web service implementation
- in a WPF application
- And probably much more
这篇关于UNC路径的格式应为\\ server \ share的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!