Спрашивающий
Документ с другого узла не открывается в WebApps

Общие обсуждения
-
Здравствуйте,
Инфраструктура:
У нас развернута ферма Sharepoint. Включает сервера Sharepoint Server 2013, SQL Server 2012 и WebApps Server 2013.
Доступ к WebApps настроен по протоколу https как изнутри так и снаружи.
В созданном веб-приложении Sharepoint на 80 порту имеется 2 узла - главный и дочерний.
Проблема:
На странице главного узла размещена веб-часть "библиотеки документов", которая ссылается на библиотеку дочернего узла. При попытке открыть документ через эту веб-часть - вебаппс выпадает с ошибкой "произошла неожиданная ошибка". Если открывать этот же документ с дочернего узла, то все в порядке и открывается нормально.
Прошу помочь разобраться в данной проблеме, заранее благодарен.
- Изменено Marsel_Il 8 апреля 2014 г. 8:43
- Изменен тип Иван ПродановMicrosoft contingent staff, Moderator 28 апреля 2014 г. 7:21
4 апреля 2014 г. 11:52
Все ответы
-
Что в логах?4 апреля 2014 г. 16:28
-
В логах вижу примерно следующее:
04/07/2014 09:52:11.54 OWSTIMER.EXE (0x28F4) 0x2224 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Timer Job job-email-delivery). Parent No ebf4f686-06c2-464f-b52d-a32cc68e905b 04/07/2014 09:52:11.54 OWSTIMER.EXE (0x28F4) 0x2224 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Timer Job job-email-delivery b4ce849c-99d1-5012-157c-583d8539fb26 04/07/2014 09:52:11.54 OWSTIMER.EXE (0x28F4) 0x2224 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Timer Job job-email-delivery). Время выполнения=1,4587 b4ce849c-99d1-5012-157c-583d8539fb26 04/07/2014 09:52:11.70 w3wp.exe (0x3C30) 0x4760 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://portal.domain.ru/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared Documents/aaaa.docx&action=default)). Parent No 04/07/2014 09:52:11.70 w3wp.exe (0x3C30) 0x4760 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://portal.domain.ru/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared Documents/aaaa.docx&action=default) b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.70 w3wp.exe (0x3C30) 0x4760 SharePoint Foundation Request Management ai2q3 High Reached maximum number of failed machines based on ping results for this routing group b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.70 w3wp.exe (0x3C30) 0x4760 SharePoint Foundation Request Management adc7u Medium Mapping URI from 'https://portal.domain.ru:443/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared%20Documents/aaaa.docx&action=default' to 'https://SPNEW/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared%20Documents/aaaa.docx&action=default' b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.70 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://portal.domain.ru:443/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared%20Documents/aaaa.docx&action=default)). Parent No 04/07/2014 09:52:11.70 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://portal.domain.ru:443/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared%20Documents/aaaa.docx&action=default) b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.70 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domain\user, ClaimsCount=35 b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.70 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.70 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation Authentication Authorization aib35 Medium SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.71 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation Authentication Authorization aib35 Medium SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.71 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070001 b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.71 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation General aix9j High SPRequest.GetMetadataForUrl: UserPrincipalName=i:0).w|s-1-5-21-1950674157-156940544-1832461391-1105, AppPrincipalName= ,bstrUrl=/tzone/testlib/Shared Documents/aaaa.docx ,METADATAFLAGS=14392 b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation General ai1wu Medium System.Runtime.InteropServices.COMException: Неверная функция. (Исключение из HRESULT: 0x80070001), StackTrace: в Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl) в Microsoft.SharePoint.Utilities.SPWOPIHost.GetWopiTargetInfo(SPShareByLinkHandler shareByLinkHandler, HttpContext httpContext, SPWeb& web, Object& fileOrFolderObject, SPRegionalSettings& spSettings, String& errorMsgToDisplay) в Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoadHelper(WOPIFrame frame) в Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoad(WOPIFrame frame) в System.Web.UI.Control.LoadRecursive() в System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) в System.Web.UI.Page.ProcessRequest(Boolean i... b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73* w3wp.exe (0x3C30) 0x6390 SharePoint Foundation General ai1wu Medium ...ncludeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) в System.Web.HttpContext.InvokeCancellableCallback(WaitCallback callback, Object state) в System.Web.UI.Page.LegacyAsyncPageBeginProcessRequest(HttpContext context, AsyncCallback callback, Object extraData) в System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() в System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) в System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) в System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) в System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) в System.Web... b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73* w3wp.exe (0x3C30) 0x6390 SharePoint Foundation General ai1wu Medium ....Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) в System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) в System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) в System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) в System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) в System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr... b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73* w3wp.exe (0x3C30) 0x6390 SharePoint Foundation General ai1wu Medium ... rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation WOPI ajc39 Unexpected WOPIFrame - Unhandled exception: Microsoft.SharePoint.SPException: Неверная функция. (Исключение из HRESULT: 0x80070001) ---> System.Runtime.InteropServices.COMException: Неверная функция. (Исключение из HRESULT: 0x80070001) в Microsoft.SharePoint.Library.SPRequestInternalClass.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) в Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, Int32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) --- Конец трассировки внутреннего стека исключений --- в Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) в Microsoft.SharePoint.Library.SPRequest.GetMetadataForUrl(String bstrUrl, I... b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73* w3wp.exe (0x3C30) 0x6390 SharePoint Foundation WOPI ajc39 Unexpected ...nt32 METADATAFLAGS, Guid& pgListId, Int32& plItemId, Int32& plType, Object& pvarFileOrFolder) в Microsoft.SharePoint.SPWeb.GetFileOrFolderObject(String strUrl) в Microsoft.SharePoint.Utilities.SPWOPIHost.GetWopiTargetInfo(SPShareByLinkHandler shareByLinkHandler, HttpContext httpContext, SPWeb& web, Object& fileOrFolderObject, SPRegionalSettings& spSettings, String& errorMsgToDisplay) в Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoadHelper(WOPIFrame frame) в Microsoft.SharePoint.ApplicationPages.WOPIFrameHelper.OnLoad(WOPIFrame frame) b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation General aat87 Monitorable На сервере произошла ошибка. b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation General ajb4s Monitorable ViewStateLog: Failed to write to the velocity cache: https://portal.domain.ru/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared Documents/aaaa.docx&action=default b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 nasq,2 air4a,0 air4b,0 agb9s,3 aib35,12 aib35,3 aix9j,0 ai1wu,0 ajc39,1 aat87,1 0,0 ah24w,0 ajb4s b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.73 w3wp.exe (0x3C30) 0x6390 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://portal.domain.ru:443/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared%20Documents/aaaa.docx&action=default)). Время выполнения=30,4259 b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.74 w3wp.exe (0x3C30) 0x4760 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 nasq,0 ai2q3,0 adc7u b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:11.74 w3wp.exe (0x3C30) 0x4760 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://portal.domain.ru/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared Documents/aaaa.docx&action=default)). Время выполнения=42,9223 b4ce849c-59db-5012-157c-554ef7f565ff 04/07/2014 09:52:12.56 OWSTIMER.EXE (0x28F4) 0x1D74 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Timer Job job-application-server-admin-service). Parent No 5116e825-bf63-45e2-89c4-7a2749a95d1e 04/07/2014 09:52:12.56 OWSTIMER.EXE (0x28F4) 0x1D74 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Timer Job job-application-server-admin-service b5ce849c-0911-5012-157c-5640e94f60fb
7 апреля 2014 г. 6:04 -
Друзья, есть идеи?8 апреля 2014 г. 7:04
-
В созданном веб-приложении на 80 порту имеется 2 узла - главный и дочерний.
Не очень понятно, имеется ввиду на Sharepoint Server 2013, или вы что-то создавали на WebApps? Там нельзя ничего создавать но 80-ом порту(по этой причине WebApps не ставится вместе с тем же Sharepoint)
Best regards
8 апреля 2014 г. 8:31 -
WebApps и Sharepoint на разных серверах.
На сервере Sharepoint 2013 в веб-приложении на 80 порту создан 1 узел. В свою очередь, в нем создан дочерний узел.
Нашел откуда берется проблема:
- при попытке открыть документ с главной страницы через веб-часть - передается УРЛ:
https://portal.domain.ru/tzone/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared%20Documents/aaaa.docx&action=default
- при попытке открыть документ напрямую из библиотеки документов - урл другой:
https://portal.domain.ru/tzone/testlib/_layouts/15/WopiFrame.aspx?sourcedoc=/tzone/testlib/Shared%20Documents/aaaa.docx&action=default
т.е. если исходный URL не содержит прямой путь до библиотеки размещения документа - вебаппс отваливается. Разницу в урлах выделил для наглядности.
Есть мысли как поправить?
- Изменено Marsel_Il 8 апреля 2014 г. 8:45
8 апреля 2014 г. 8:36 -
Еще актуально.
Веб-часть Общие документы я экспортировал с дочернего узла и импортировал на родительский узел. Проделал тоже самое в Sharepoint Online - там таких проблем нет.
9 апреля 2014 г. 9:13