部署到 ISA 服务器后面的 IIS 时,lightswitch 搜索失败

发布于 2024-11-06 10:54:21 字数 628 浏览 0 评论 0原文

我们已成功在 Web 服务器 IIS 7 中部署了 LightSwitch 应用程序。通过内部 IP (http://servername),但是当通过外部 IP 完成时 (https://www.example.com) ,查询不起作用。它确实获取所有数据,但如果在搜索字段中输入某些内容,则查询失败,它会显示数据 带有红色 X 的字段。

Fiddler 显示以下信息:

<LI id=L_defaultr_12>Error Code: 500 Internal Server Error. The request was rejected by the HTTP filter. Contact the server administrator. (12217)

屏幕如下所示:

在此处输入图像描述

有关的任何建议如何追踪这个问题将不胜感激。

We have successfully deployed a LightSwitch app in a web server IIS 7. The app works perfectly when accessed via the internal IP (http://servername), but when it is done via the external IP (https://www.example.com), the queries don't work. It does fetch ALL data but if something is entered in search fields the query fails, it shows data
fields with a red X.

Fiddler shows the following info:

<LI id=L_defaultr_12>Error Code: 500 Internal Server Error. The request was rejected by the HTTP filter. Contact the server administrator. (12217)

And the screen looks like this:

enter image description here

Any suggestion on how to trace this problem would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

紫﹏色ふ单纯 2024-11-13 10:54:21

我发现问题是由ISA服务器阻塞高位字符引起的。配置 HTTP 过滤以阻止高位字符时,包含双字节字符集 (DBCS) 字符的 URL 或包含 Latin 1 字符的 URL 会被阻止

解决方案:

配置 Web 发布规则,使其不阻止高位字符- 位字符。为此,请按照下列步骤操作:
1. 启动 ISA Server 或 Microsoft Forefront Threat Management Gateway、Medium Business Edition 管理工具。
2. 展开 ServerName,其中 ServerName 是 ISA Server 或 Microsoft Forefront Threat Management Gateway、Medium Business Edition 计算机的名称。
3. 单击“防火墙策略”,单击您创建的用于发布 Exchange Server 计算机以供 OWA 用户访问的 Web 发布规则,然后单击“编辑选定的规则”。
4. 单击“流量”选项卡,单击“过滤”,然后单击“配置 HTTP”。
5. 单击以清除“阻止高位字符”复选框,然后单击“确定”两次。
6. 单击“应用”更新防火墙策略,然后单击“确定”。

I found the problem was caused by the ISA server blocking high-bit characters. When you configure HTTP filtering to block high-bit characters, URLs that contain characters from a double-byte character set (DBCS) or URLs that contain Latin 1 characters are blocked

The solution:

Configure the Web publishing rule so that it does not block high-bit characters. To do this, follow these steps:
1. Start the ISA Server or Microsoft Forefront Threat Management Gateway, Medium Business Edition Management tool.
2. Expand ServerName, where ServerName is the name of your ISA Server or Microsoft Forefront Threat Management Gateway, Medium Business Edition computer.
3. Click Firewall Policy, click the Web publishing rule that you created to publish the Exchange Server computer for access by OWA users, and then click Edit Selected Rule.
4. Click the Traffic tab, click Filtering, and then click Configure HTTP.
5. Click to clear the Block high-bit characters check box, and then click OK two times.
6. Click Apply to update the firewall policy, and then click OK.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文