c# - 无法在私有(private)浏览器模式(隐身窗口)下运行 silverlight 应用程序

标签 c# silverlight google-chrome incognito-mode

我在谷歌浏览器(隐身窗口)中运行我的 silverlight 应用程序。它一直保持在 silverlight 加载图像上。我在开发者窗口控制台看到异常

Uncaught Error: Unhandled Error in Silverlight Application Operation not permitted.   at System.IO.IsolatedStorage.IsolatedStorageSecurityState.EnsureState()
   at System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForApplication()
   at System.IO.IsolatedStorage.IsolatedStorageSettings.get_ApplicationSettings()
   at SilverlightBlobApplication.MainPage..ctor()
   at SilverlightBlobApplication.App.Application_Startup(Object sender, StartupEventArgs e)
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

我在论坛上找到了建议

“1. 在 Silverlight 播放器中,右键单击。2. 单击 Silverlight。3. 在出现的窗口中,单击应用程序存储选项卡。4. 在下一个窗口中,单击“启用应用程序存储”复选框5. 单击“全部删除”按钮。 6. 单击是。 7. 单击确定。 8. 单击浏览器的刷新或重新加载按钮继续。 "

但是并没有解决我的问题。使用私有(private)浏览器模式时,我在 Internet Explorer 中遇到同样的错误。请帮忙。提前致谢。

最佳答案

当您将浏览器切换到私有(private)模式时,它会阻止 Silverlight 使用独立存储。这是在浏览器中设计的,据我所知,您对此无能为力。

关于c# - 无法在私有(private)浏览器模式(隐身窗口)下运行 silverlight 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19872938/

相关文章:

c# - 在 C# Windows 窗体中单击按钮打开一个已经存在的 txt 文件

c# - 使用正则表达式从字符串中查找并替换/删除两个单词#

silverlight - 什么是交互触发器?

javascript - ie9中光标跳到元素上方

google-chrome - Chrome Web 应用程序停留在草稿版本上

html - @font-face src 导致字体系列崩溃

c# - 强制 T 作为代码中的引用类型 [CS0452 错误]

c# - 是否有任何工具可以将 C# 类库转换为 Silverlight 库?

Silverlight:以编程方式绑定(bind)控件属性

wpf - WPF/Silverlight 依赖属性延迟 "rendering"?