当应用程序安装在64位Windows 7上的程序文件中时,WebView无法加载URL
C#代码和.Net 4.0 客户:当应用程序安装在64位Windows 7上的程序文件中时,WebView无法加载URL,webview,web-controls,httplistener,Webview,Web Controls,Httplistener,C#代码和.Net 4.0 客户: new WebView("http://localhost:8091/index.html", new CefSharp.BrowserSettings()); 服务器: server.Add(HttpListener.Create(System.Net.IPAddress.Any, 8091)); 给出异常错误102 我已经使用vs2010、.vdproj为目标平台x64创建了应用程序 当我在c:\manufacturer\productname上安装它
new WebView("http://localhost:8091/index.html", new CefSharp.BrowserSettings());
服务器:
server.Add(HttpListener.Create(System.Net.IPAddress.Any, 8091));
给出异常错误102
我已经使用vs2010、.vdproj为目标平台x64创建了应用程序
当我在c:\manufacturer\productname上安装它时。通过在Web控制面板中显示页面,它工作得很好
但如果我在Program Files\manufacturer\productname中安装该应用程序,则会出现错误
谢谢,
Ash.我正在更新program files文件夹中的一个文件,它需要管理员权限。我将文件位置更改为临时文件夹或用户可访问文件夹,所有用户都可以在任何地方正常工作