【发布时间】:2015-03-25 10:48:49
【问题描述】:
我有一个带有按钮的 ASP.NET Web 表单。当我单击按钮时,我想打开一个 UNC 路径。我已经创建了事件处理程序并在其中放置了以下代码:
Process.Start(new ProcessStartInfo
{
FileName = "\\\\MyServer\\MyShare\\",
UseShellExecute = true
});
当我从本地计算机单击按钮时,我收到以下错误:
The specified network password is not correct
当我从测试网络服务器上传表单并单击按钮时,我收到此错误:
The parameter is incorrect
各位有什么想法吗?
【问题讨论】:
-
请参阅"Should questions include “tags” in their titles?",其中的共识是“不,他们不应该”!