我們的ClickOnce應用程序工作正常。然而,我們的用戶的一個得到以下錯誤:ClickOnce錯誤消息'訪問路徑'C: Windows Microsoft.NET Framework64 v4.0.30319 Config machine.config'被拒絕'
+ Configuration system failed to initialize
+ An error occurred loading a configuration file: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config)
+ Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config' is denied.
我們Installation Folder URL
似乎是罰款,每個堆棧溢出 文章ClickOnce deployment error - access to the path is denied,並討論Access denied to machine.config on Win7 x64是不是真的清楚什麼權限應爲檢查,例如網絡服務?最後this MSDN article指的是更改對我無意義的密碼。
什麼可能導致此問題?也許可能需要什麼權限?
另一個堆棧溢出 後,ClickOnce and configuration for a C# application,似乎提到這個問題,但提出了一個不同的問題(儘量避免使用Machine.config
)。