Open Farb opened 7 years ago
logging: 2017-02-14 11:17:38.5860 | ERROR | Exception calling subscriber with message of type 'Glimpse.Ado.Message.CommandExecutedMessage'. | System.NullReferenceException--未将对象引用设置到对象的实例。-- 在 Glimpse.AspNet.AspNetFrameworkProvider.get_HttpRequestStore() 在 Glimpse.Core.Framework.GlimpseRuntime.GetTabStore(String tabName) 在 Glimpse.Core.Extensions.TabContextExtensions.PersistMessage[T](T message, ITabSetupContext context) 在 Glimpse.Core.Extensibility.MessageBroker.Publish[T](T message)
I modified the custom policy,then it worded!:)
` public RuntimePolicy Execute(IRuntimePolicyContext policyContext)
{
// You can perform a check like the one below to control Glimpse's permissions within your application.
// More information about RuntimePolicies can be found at http://getglimpse.com/Help/Custom-Runtime-Policy
var httpContext = policyContext.GetHttpContext();
if (!httpContext.User.Identity.Name.Contains("admin"))
{
return RuntimePolicy.Off;
}
return RuntimePolicy.On;
} `
Hey all,
I've just installed it on WebForms and I am getting the same error. I have a question on Stack Overflow about it.
I've tried fiddling with various settings but am getting nowhere. It's running in IIS 8.0.9200.16384.
Any advise on how to get around this? I'm stuck at the first hurdle.
Thanks.
When I use IIS express and start my web app,and I will get the error "Runtime policy does not allow execution of resource named 'glimpse_config'".When I deploy project to server(windows server 2008,IIS 7.5),I get the same error.How to solve this problem?Thanks in advance.