Why does my .NET application crash when run from a network drive?

前端 未结 6 910
陌清茗
陌清茗 2020-11-29 06:37

My .NET application fails when run from a network drive even when the very same executable runs perfectly fine from a local hard drive?

I tried checking for \"Full t

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 06:53

    All I had to do was mark the files Read Only (possibly unrelated) and give all permissions except Full Control to Authenticated Users. I was encountering this issue before I did that, when I had the network share only setup for Domain Users.

    I discovered this workaround because neither the admin shares (\server\C$) nor my own PC's shares had this problem.

    Edit: App is targeting .NET 3.5, no SP1 here (version 3.5.7283)

提交回复
热议问题