对 _layouts 中页面的 Sharepoint 中的 Infragistics 图像和 javascript 的访问/权限

发布于 2024-08-18 05:51:06 字数 902 浏览 8 评论 0原文

Infragistics 图像和 javascript 文件位于服务器上的:“\nasmoss\c$\Inetpub\wwwroot\aspnet_client\Infragistics”。

我创建了一个页面并将其放在 Sharepoint 的 _layouts 文件夹中。它只是一个分层网格。它有 + 来扩展组。

对于某些用户,它会显示一个红色 X,表示图像不可用。我还收到 javascript 错误,因为它无法访问来自 Infragistics 的 javascript 包含文件。

如果我使用网络管理员登录名登录,它就可以工作。如果我使用普通用户帐户登录,有时它会起作用。解决方法是使用我的管理员帐户登录,然后使用我的 noraml 帐户登录。

这也会影响其他普通用户。如果他们得到红色 XI,只需使用我的管理员帐户登录即可。然后它对他们有用一段时间。

看起来这是与 Sharepoint 的一些配股。但它是非常间歇性的。我无法重现它。它通常会在一天内停止工作,有时甚至几个小时。我们不经常使用该页面(每周两次)。

如果我右键单击并获取图像的完整路径,则它是 WebResource.axd。

https://sharepoint.{domain}.com/WebResource.axd?d=I9i-y5iGqdXx3n6e-hSXFEHlcHb2DBAtYdLbT5A8vP6aSSCjd8JdrowGqkDSq5wmAwCgXjgrfYNtCF93yfPliD2yteSxJvg7xIPVnlttFE 7Wxg6qGtLaLI18s2hN40PO0&t=633480367580000000

如果我有用户输入当他们的浏览器无法正常工作时,他们会收到“访问被拒绝”错误。否则他们会得到 + 图像。

也许这是一个缓存问题?

谢谢, 加里·米尔克

The Infragistics images and javascript files are located on the server in: "\nasmoss\c$\Inetpub\wwwroot\aspnet_client\Infragistics".

I created a page and put it in the _layouts folder in Sharepoint. It is just a hierarchical grid. It has the + to expand the group.

For certian users, it displays a red X showing the images are not available. I also get javascript errors since it can't get access to the javascript include files from Infragistics.

If I login with a network admin login, it works. If I login with my normal user account it works sometimes. The fix is to login with my admin account and then login with my noraml account.

This also affects other normal users. If they get the red X I just login with my admin account. It then works for them for a while.

It appears it is some rights issue with Sharepoint. But it is very intermittent. I can't reproduce it. It normally stops working in a day sometimes hours. We don't use that page very often (twice a week).

If I right click and get the full path to the image it is to WebResource.axd.

https://sharepoint.{domain}.com/WebResource.axd?d=I9i-y5iGqdXx3n6e-hSXFEHlcHb2DBAtYdLbT5A8vP6aSSCjd8JdrowGqkDSq5wmAwCgXjgrfYNtCF93yfPliD2yteSxJvg7xIPVnlttFE7Wxg6qGtLaLI18s2hN40PO0&t=633480367580000000

If I have a user put that into their browser, they get an "access denied" error when it is not working. Otherwise they get the + image.

Perhaps it is a caching issue?

Thanks,
Gary Milke

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

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

发布评论

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

评论(1

人心善变 2024-08-25 05:51:06

如果它是 WebResource.axd,通常意味着该图像是程序集资源。如果 axd 以某种方式从文件系统获取图像,则可能是您提到的文件夹的权限不正确。 AD 组 WPG_...(即名称中包含大写 WPG 的所有组)和 IIS_IUSRS 应对站点中需要访问的任何文件具有读取权限。

特别是对于直接复制到 12 配置单元中的文件,情况可能并非如此。

If it's a WebResource.axd it usually means the image is an assembly resource. If the axd somehow gets the images from the filesystem, it might be so that the perrmissions on the folder you mentioned are incorrect. the AD groups WPG_... (i.e. all groups that have capital WPG in their name) and IIS_IUSRS should have read permissions on any file that needs to be accessible in your site.

Especially for files copied directly into the 12 hive this might not be the case.

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