none
Ошибка при запуске WorkFlow2013 через CustomAction формы RRS feed

  • Общие обсуждения

  • Сделал через SPD в форме просмотра действие  (кнопку) на запуск рабочего процесса, после нажатия на кнопку открывается форма с ошибкой "К сожалению что то пошло не так" Адрес формы =  домашняя страница сайта с параметром "?IsDlg=1".

    К стати сам процесс запускается.

    Если просто перейти по этому адресу, та же самая ошибка. 

    Как исправить ?

    27 апреля 2014 г. 17:17

Все ответы

  • Добрый вечер!

    А что попадает в ULS log в момент данной ошибки?

    27 апреля 2014 г. 20:52
  • Вот что в логах.

    Spent 0 ms to bind 3356 byte file stream

    Site=/
    Leaving Monitored Scope (PostResolveRequestCacheHandler). Время выполнения=11,1719506250096
    Setting [Display] as the FormContext.FormMode for the current page
    Pending update MetadataNavigationHints for Web[fa10f36a-9478-4758-b861-5e353ff24c2e]List[5a99304a-427a-466a-9513-74d17ddaf1af] = 0 (NoSettings)
    Setting [Display] as the FormContext.FormMode for the current page
    Setting [Display] as the FormContext.FormMode for the current page
    UserProfileDBCache_WCFLogging::Begin ProfileDBCacheServiceClient.GetUserData.ExecuteOnChannel
    MossClientBase_WCFLogging::Begin MossClientBase.ExecuteOnChannel
    MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel -  Executing codeblock on channel
    WcfSendRequest: RemoteAddress: 'http://"URL портала":32843/099d37ffecd24de1b333dc6be7ebf4b8/ProfileDBCacheService.svc' Channel: 'Microsoft.Office.Server.UserProfiles.IProfileDBCacheService' Action: 'http://Microsoft.Office.Server.UserProfiles/GetUserData' MessageId: 'urn:uuid:3e4eeb4b-c063-4649-ace8-b3ce93fee2e9'
    Entering monitored scope (ExecuteWcfServerOperation). Parent No
    WcfReceiveRequest: LocalAddress: 'http://"URL портала".co.ucg.ru:32843/099d37ffecd24de1b333dc6be7ebf4b8/ProfileDBCacheService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://Microsoft.Office.Server.UserProfiles/GetUserData' MessageId: 'urn:uuid:3e4eeb4b-c063-4649-ace8-b3ce93fee2e9'
    Leaving Monitored Scope (ExecuteWcfServerOperation). Время выполнения=4,46942278976797
    MossClientBase_WCFLogging:: MossClientBase.ExecuteOnChannel -  Executed codeblock on channel
    UserProfileDBCache_WCFLogging::End ProfileDBCacheServiceClient.GetUserData.ExecuteOnChannel
    FeedNotificationUtils.GetUserProfile(): exception while getting user profile: Microsoft.Office.Server.UserProfiles.UserNotFoundException: Ошибка при получении профиля пользователя.     в Microsoft.Office.Server.UserProfiles.UserProfileCache.GetUserData(UserProfileManager objManager, Nullable`1 recordId, Guid gAcct, String strAcct, Byte[] bSid, String strEmail, Boolean doNotResolveToMasterAccount)     в Microsoft.Office.Server.UserProfiles.UserProfile.RetrieveUser(String strAcct, Guid gAcct, Byte[] bSid, Nullable`1 recordId, Boolean doNotResolveToMasterAccount, Boolean loadFullProfile, Boolean loadColleagueRecordIds, String strEmail)     в Microsoft.Office.Server.UserProfiles.UserProfile..ctor(UserProfileManager objManager, String strAcct, Boolean doNotResolveToMasterAccount, Boolean forceU...
    ...serIsSelf, Boolean loadFullProfile, Boolean loadColleagueRecordIds, String strEmail)     в Microsoft.Office.Server.UserProfiles.UserProfileManager.GetUserProfile(String strAccountName, Boolean doNotResolveToMasterAccount, Boolean loadFullProfile, Boolean loadColleagueRecordIds)     в Microsoft.Office.Server.UserProfiles.UserProfileManager.GetUserProfile(String strAccountName, Boolean doNotResolveToMasterAccount)     в Microsoft.Office.Server.UserProfiles.UserProfileManager.GetUserProfile(String strAccountName)     в Microsoft.SharePoint.Portal.CommonFeedNotificationUtils.GetUserProfile(SPWeb web, SPUser user)
    Entering monitored scope (Отобразить ленту.). Parent SharePointForm Control Render
    Leaving Monitored Scope (Отобразить ленту.). Время выполнения=0,107206362819856
    Application error when access /CRM/SitePages/Домашняя.aspx, Error=The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does not exist. Use Ribbon.MakeTabAvailable().   в Microsoft.Web.CommandUI.Ribbon.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.SPRibbon.Render(HtmlTextWriter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в Microsoft.SharePoint.WebControls.AjaxDelta.RenderChildren(HtmlTextWriter output)     в System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)     в System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)     в Microsoft.SharePoint....
    ...WebControls.AjaxDelta.Render(HtmlTextWriter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     в System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.SharePointForm.Render(HtmlTextWriter output)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     в System.Web.UI.Control.Re...
    ...nderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.Page.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebPartPages.WikiEditPage.Render(HtmlTextWriter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Page.ProcessRequestMain(B...
    ...oolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    System.ArgumentException: The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does not exist. Use Ribbon.MakeTabAvailable().    в Microsoft.Web.CommandUI.Ribbon.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.SPRibbon.Render(HtmlTextWriter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в Microsoft.SharePoint.WebControls.AjaxDelta.RenderChildren(HtmlTextWriter output)     в System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)     в System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.AjaxDelta.Render(HtmlTextWr...
    ...iter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     в System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.SharePointForm.Render(HtmlTextWriter output)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writ...
    ...er, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.Page.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebPartPages.WikiEditPage.Render(HtmlTextWriter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, B...
    ...oolean includeStagesAfterAsyncPoint)
    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Выдано исключение типа "System.Web.HttpUnhandledException". ---> System.ArgumentException: The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does not exist. Use Ribbon.MakeTabAvailable().     в Microsoft.Web.CommandUI.Ribbon.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.SPRibbon.Render(HtmlTextWriter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в Microsoft.SharePoint.WebControls.AjaxDelta.RenderChildren(HtmlTextWriter output)     в System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWrit...
    ...er writer)     в System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.AjaxDelta.Render(HtmlTextWriter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)     в System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.SharePointForm.Render(HtmlTextWriter output)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)    ...
    ... в System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)     в System.Web.UI.Page.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter writer)     в Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)     в Microsoft.SharePoint.WebPartPages.WikiEditPage.Render(HtmlTextWriter writer)     в System.Web.UI.Control.Ren...
    ...derControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     в System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     в System.Web.UI.Page.HandleError(Exception e)     в System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     в System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     в System.Web.UI.Page.ProcessRequest()     в System.Web.UI.Page.ProcessRequest(HttpContext context)     в System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     в System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     
    [Forced due to logging gap, cached @ 04/28/2014 21:28:03.38, Original Level: Verbose] No data was found on the incoming client request
    [Forced due to logging gap, Original Level: Verbose] Proxy response duration: WFE '{0}', RM '{1}'
    Leaving Monitored Scope (Request (GET:http://"URL портала":80/CRM/SitePages/%D0%94%D0%BE%D0%BC%D0%B0%D1%88%D0%BD%D1%8F%D1%8F.aspx?isdlg=1)). Время выполнения=71,1749677682499
    Leaving Monitored Scope (Request (GET:http://"URL портала"/CRM/SitePages/Домашняя.aspx?isdlg=1)). Время выполнения=74,3020411812116
    28 апреля 2014 г. 17:37