将signalR与SL OOB客户端一起使用时,拒绝访问serverapplicationcontext [英] access denied to serverapplicationcontext when using signalR with SL OOB client

查看:91
本文介绍了将signalR与SL OOB客户端一起使用时,拒绝访问serverapplicationcontext的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我为什么会收到拒绝访问异常"的任何想法;当我尝试将服务器应用程序上下文与signalR一起使用时?

any idea why i'm getting "access denied exception" when i try to use server application context with signalR?

在开发计算机上本地运行一切正常,但是当应用程序在IIS提供程序上发布时则无法正常工作.

locally on development machine everything works fine, but not when app is published on IIS provider..

似乎集线器已正确注册,消息可以流动,但是当我尝试获取(或使用)数据时,例如无法检查身份验证,访问被拒绝".异常(从我的语言翻译而来)...这是SL OOB应用程序,具有 表单身份验证.

it seems that hub is registered correctly, messages can flow, but when i try to get to (or work with) data im getting "cannot check authentication, access is denied" exception (this is translated from my language)... it is SL OOB application with forms authentication..

Kivito

没人期待西班牙的宗教裁判所! (M.P.F.C.)

Nobody expects the Spanish Inquisition! (M.P.F.C.)

推荐答案

您的问题是否特定于OOB?可以在浏览器中使用吗?
Is your problem specific to OOB ? Does it work in browser?


这篇关于将signalR与SL OOB客户端一起使用时,拒绝访问serverapplicationcontext的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆