我在谷歌浏览器(隐身窗口)中运行我的 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/