Why没有我的.NET应用程序崩溃从网络驱动器上运行时?
有人能帮助我吗?对于一个学校的项目,我写在Visual Studio 2005中的C#Windows应用程序,它工作得很好,没有任何问题。我希望能够与其他人在我的部门在工作中分享这一计划。所以,我复制了exe文件到网络驱动器。当我们尝试从网络运行exe时,出现PROGRM的名字......遇到问题,需要关闭。如果我有同事的exe文件复制到自己的C:\驱动器,然后尝试运行,它的工作原理。从网络驱动器为什么我的程序运行?
Can someone help me? For a school project, I wrote a C# windows application in Visual Studio 2005. It works just fine, no problems. I want to be able to share this program with others in my department at work. So, I copied the exe file to a network drive. When we attempt to run the exe from the network, it fails with "name of progrm...has encountered a problem and needs to close". If I have the co-worker copy the exe file to their c:\ drive then attempt to run, it works. Why won't my program run from the network drive?
苏珊
推荐答案.NET默认不允许应用程序来运行关闭网络驱动器。无论是将其复制到本地驱动器或更改安全设置.NET。
.NET by default does not allow applications to be run off a network drive. Either copy it to a local drive or alter the security settings for .NET.
This讨论应该给你所需要的。
更多推荐
运行一个C#exe文件
发布评论