UNC路径的格式应为\\ server \ share [英] The UNC path should be of the form \\server\share

查看:1582
本文介绍了UNC路径的格式应为\\ 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:

您在哪里使用它?:

  1. 在Windows服务中,
  2. 在Windows窗体应用程序中(然后在何处)
  3. 在控制台应用程序中
  4. 在网络服务实现中
  5. 在WPF应用程序中
  6. 可能还有更多
  1. In a windows service,
  2. In a windows forms application (and then where)
  3. In a console application
  4. In a web service implementation
  5. in a WPF application
  6. And probably much more

 


这篇关于UNC路径的格式应为\\ server \ share的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆