SharePoint 2013 Apps(Web部件)突然开始出现404错误。 [英] SharePoint 2013 Apps (Web-Parts) suddenly started giving 404 errors.

查看:170
本文介绍了SharePoint 2013 Apps(Web部件)突然开始出现404错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在本地SharePoint 2013 SharePoint Server中安装了本地应用程序目录一段时间,但最近所有本地开发和部署的应用程序在尝试访问网页时都开始出现404错误。


'应用管理服务应用'service似乎按预期运行。 ' App
Management Service'和'Microsoft SharePoint Foundation订阅设置服务'服务已启动。



当应用程序启动时,URL会在浏览器中显示为已显示:


例如

http: // apps-acc0b1b9990b9c.dev1-uat-apps.local /SharePointTestApp/Pages/Default.aspx?SPH ostUrl = {url
stuff},  
但它现在在以前运行应用时出现404错误。



应用DNS名称'/ apps-acc0b1b9990b9c.eudc-uat-apps.local '仍然会回到SharePoint服务器。


据我所知,没有任何内容改变为SharePoint服务器应用程序设置,我尝试多次重启IIS,但都无济于事。



我还读到这个应用程序问题可能与用户配置文件服务有关。'用户配置文件同步服务'已经停止,并且在我尝试启动
时出错了。'用户配置文件服务应用程序'也停留在'停止'。


我运行'ostsadm -o provisionservice -action stop -servicetypen ...'命令这两个并试图重新启动它们。'用户配置文件同步服务'停留在'开始'并且'用户配置文件服务应用程序'在
之后出现错误我删除并重新安装它,尽管它现在说'已启动'。




任何关于这里可能发生什么的想法,以及如何解决它都将被感激地接受。











$

解决方案

您好,


请检查ULS日志并查看详细消息。对于SharePoint 2013,默认情况下,ULS日志位于


" C:\Program Files \Common Files\Microsoft Shared\Web Server Extensions\15\LOGS"



或尝试使用Fiddler进行故障排除。


https://jeremythake.com/troubleshooting-sharepoint-2013-hosted-apps-on-premises-404-not-found-error-af3a3c82031e#.tyso9ue8y


或检查是否是主机标题问题。


HT tps://lixuan0125.wordpress.com/2013/09/26/sharepoint-2013-apps-404-error/


关于用户配置文件同步服务停止停止,请查看以下文章:


SharePoint用户配置文件同步服务停止...


http://www.andrewjbillings.com/sharepoint-user-profile-synchronization-service-stuck- on-stopping /


用户配置文件同步服务停留在SharePoint 2013服务器场中停止状态


< a href ="http://sp-vinod.blogspot.sg/2014/02/user-profile-synchronization-service.html"> http://sp-vinod.blogspot.sg/2014/02/user-profile -synchronization-service.html


如果您的服务器不是生产服务器,请尝试重新启动服务器。


最好的问候,


Dennis


I have had a local Apps Catalogue setup within our on-premis SharePoint 2013 SharePoint Server for a while but recently all locally developed and deployed apps have started giving a 404 error when trying to reach the web page.

The ‘App Management Service Application’ service appears to be running as expected. Both the ‘App Management Service’ and the ‘Microsoft SharePoint Foundation Subscription Settings Service’ services are started.

When an app is started the URL is displayed in the browser as expexted:

E.g. http://apps-acc0b1b9990b9c.dev1-uat-apps.local/SharePointTestApp/Pages/Default.aspx?SPHostUrl={url stuff},  but it now gives a 404 error when it was previously running the app.

And the Apps DNS name ‘/apps-acc0b1b9990b9c.eudc-uat-apps.local’ still pings back to the SharePoint server.

As far as I know nothing has changed to the SharePoint server applications setup, and I have tried restarting the IIS several times, all to no avail.

I also read that this Apps problem may be related to the User Profile services. The 'User Profile Syncronisation Service' was stopped, and errored when I tried to start it. The 'User Profile Service Application' was also stuck on 'Stopping'.

I run the 'ostsadm -o provisionservice -action stop -servicetypen...' command both of these and attempted to restart them. The 'User Profile Syncronisation Service' is stuck on 'starting' and the 'User Profile Service Application' came up with an error after I Deleated and reinstalled it, although it now says 'Started'.

Any Ideas on what could have happened here, and how to fix it would be gratefully accepted.

解决方案

Hi,

Please check the ULS log and see the detailed message. For SharePoint 2013, by default, ULS log locates in
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS"

Or try troubleshooting with Fiddler.

https://jeremythake.com/troubleshooting-sharepoint-2013-hosted-apps-on-premises-404-not-found-error-af3a3c82031e#.tyso9ue8y

Or check whether it is a Host Header issue.

https://lixuan0125.wordpress.com/2013/09/26/sharepoint-2013-apps-404-error/

About the User Profile Synchronization Service stuck on stopping, please check the articles below:

SharePoint User Profile Synchronization Service Stuck on Stopping…

http://www.andrewjbillings.com/sharepoint-user-profile-synchronization-service-stuck-on-stopping/

User Profile Synchronization Service stuck in stopping state in SharePoint 2013 farm

http://sp-vinod.blogspot.sg/2014/02/user-profile-synchronization-service.html

If your server not a production server, please try to restart the server.

Best Regards,

Dennis


这篇关于SharePoint 2013 Apps(Web部件)突然开始出现404错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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