facebookredirect.axd 错误
我的 Facebook 应用程序存在 facebookredirect.axd 问题。如果您只需在浏览器中输入 /facebookredirect.axd ,它就可以正常工作。但是,在用户授权权限后重定向时,会出现服务器 500 错误。
我(我相信)有适当的 web.config 条目(从 codeplex 的 C# SDK 示例复制)。
我可以通过将应用程序池设置为集成来解决此错误。但是,我的应用程序需要在经典模式下运行由于其他原因,
有人处理过 facebookredirect.axd 无法在集成模式下执行的问题吗?
I have a facebook app that has a problem with facebookredirect.axd. If you just type /facebookredirect.axd into the browser, it works fine. However, on the redirect after a user authorizes permissions it gives a server 500 error.
I have (I believe) the proper web.config entries for this (copied from the samples from the C# SDK from codeplex.
I can get around this error with the app pool set to integrated. However, my app needs to run in classic mode for other reasons.
Has anyone dealth with this problem of facebookredirect.axd not performing in integrated mode?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,我在集成模式下遇到了同样的问题。我还复制了示例中的条目:
我还收到了 500 服务器错误,调查后发现,在 IIS7 中,您必须对该条目进行一些修改,因为 IIS7 处理 http 处理程序的方式不同,如下所示:
对于 IIS7,例如这(请注意
出现在之后)它起作用了。
关于您的问题经典/集成:我没有尝试经典模式,但我想如果您想要重定向,您需要集成模式......希望这会有所帮助。
Yes I had the same problem in integrated mode. I also copied the entries from the samples:
I also got the 500 server error, investigated and found out that in IIS7 you have to do a little modification to that entry, as IIS7 deals the http handlers differently, as follows:
With IIS7, like this (note that
<system.webServer>
comes after</system.web>
) it worked.About your issue classic/integrated: I didn't try in classic mode but I guess if you want the redirect you need the integrated mode... hope this helps.