从IIS中SharePoint网站的文件文件夹访问图像时访问被拒绝(身份验证弹出窗口) [英] Accessing Denied (Authentication Pop-up) while accessing image from File folder of SharePoint website in IIS
问题描述
Hi Team,
我突然面临一个奇怪的问题. PFB了解更多详细信息:
I am facing a strange issue suddenly. PFB for more details:
我在IIS 8.5中部署了SharePoint网站.我们有一个页面,该页面读取调查答复,动态生成图表并将该图表(.png)图像存储在文件夹图表"中.直到2016年10月,我们都可以在网页上显示这些图像.
I have a SharePoint website deployed in IIS 8.5. We have page that reads Survey responses, dynamically generate a chart and store the chart (.png) image in file folder "Chart". Till, October 2016 we are able to show these images on web page.
但是,突然地,其询问身份验证用户名和密码"被询问.在访问此页面时.当我们分别浏览图像时,也会得到相同的结果.这仅在移动设备上发生.桌面工作.如果我们先访问台式机,然后再访问移动设备 在职的.仅当我们第一次从Mobile访问时,它才起作用.我尝试过的方案的PFB:
But, suddenly its asking Authentication "username and Password" while accessing this page. When we separately browsing image also same result. This happens only from Mobile devices. Desktop its working. If we access first desktop and then mobile also working. Only if we access first time from Mobile it is not working. PFB for the scenarios I have tried:
我们启用了匿名,ASP.NET,表单和Windows身份验证.请查看并告知我是否需要检查所有设置才能解决此问题.
We are having Anonymous, ASP.NET, Forms and Windows authentication enabled. Please review and let me know Am I need to check any settings to resolve this issue.
No Error
No Error
Scenario-2 (I have verified around
10 Images and finalized this repro)
Authentication Prompt
我已经验证了IIS日志.相同的日志已注册为生产.
I have verified the IIS logs. Same logs registered as Production.
No Error
No Error
Authentication Prompt
IIS日志:
2017-08-09 10:30:14 W3SVC631776134 ServerName ServerID GET/Chart/Chart_000002.png-443-MobileIP Mozilla/5.0 +(iPhone; + CPU + iPhone + OS + 10_3_3 + like + Mac + OS + X)+ AppleWebKit /603.3.8+(KHTML,+like+Gecko)+版本/10.0+移动/14G60+Safari/602.1
-401 0 0 359
2017-08-09 10:30:14 W3SVC631776134 ServerName ServerID GET /Chart/Chart_000002.png - 443 - MobileIP Mozilla/5.0+(iPhone;+CPU+iPhone+OS+10_3_3+like+Mac+OS+X)+AppleWebKit/603.3.8+(KHTML,+like+Gecko)+Version/10.0+Mobile/14G60+Safari/602.1
- 401 0 0 359
2017-08-09 10:30:25 W3SVC631776134 ServerName ServerID GET/Chart/Chart__000002.png-443-DesktopIP Mozilla/5.0 +(Windows + NT + 10.0; + Win64; + x64)+ AppleWebKit/537.36 +(KHTML,+ like + Gecko)+ Chrome/60.0.3112.90 + Safari/537.36
-200 0 0 15
2017-08-09 10:30:25 W3SVC631776134 ServerName ServerID GET /Chart/Chart__000002.png - 443 - DesktopIP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/60.0.3112.90+Safari/537.36
- 200 0 0 15
2017-08-09 10:30:34 W3SVC631776134 ServerName ServerID GET/Chart/Chart__000002.png-443-MobileIP Mozilla/5.0 +(iPhone; + CPU + iPhone + OS + 10_3_3 + like + Mac + OS + X)+ AppleWebKit /603.3.8+(KHTML,+like+Gecko)+版本/10.0+移动/14G60+Safari/602.1
-200 0 0 31
2017-08-09 10:30:34 W3SVC631776134 ServerName ServerID GET /Chart/Chart__000002.png - 443 - MobileIP Mozilla/5.0+(iPhone;+CPU+iPhone+OS+10_3_3+like+Mac+OS+X)+AppleWebKit/603.3.8+(KHTML,+like+Gecko)+Version/10.0+Mobile/14G60+Safari/602.1
- 200 0 0 31
问候
Prasad. 嗨Prasad, Hi Prasad, 请尝试将所有人添加到图表"文件夹权限. Please try to add Everyone to the "Chart" folder permission. 并尝试创建文档库并将图像存储在库中,然后在移动设备中访问图像以检查其是否有效. And try to create a document library and store the images in the library, then access the images in mobile to check if it works. 并检查ULS日志,对于SharePoint 2013,默认情况下,ULS日志位于 And check the ULS log, For SharePoint 2013, by default, ULS log locates in 最好的问候, 丹尼斯 这篇关于从IIS中SharePoint网站的文件文件夹访问图像时访问被拒绝(身份验证弹出窗口)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
没有错误
没有错误
验证提示
没有错误
没有错误
验证提示
推荐答案
"C:\ Program Files \ Common Files \ Microsoft共享\ Web服务器扩展\ 15 \ LOGS"
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS"
登录
关闭