Доброго времени суток!
bpm 5.4.1.728 realty.
Создала новый раздел. Со страницей фильтрации по периоду и ответственному. К объектам добавляю права вручную через триггер.
Страница раздела нормально отображается для админа, но для обычного юзера почему-то при попытке перейти в эту страницу происходит ошибка:
Exception Message: Object reference not set to an instance of an object.
Exception Type: System.NullReferenceException
Exception Source: TSBpm
Exception Stack Trace:
at Terrasoft.WebApp.BaseModuleFoldersPageEventsProcess`1.BaseActiveRowChangedHandler()
at Terrasoft.WebApp.BaseModuleFoldersPageEventsProcess`1.BaseLoadRowsResponseRegisteredHandler(Object sender, DataSourceEventArgs e)
at Terrasoft.WebApp.BaseModuleFoldersPageEventsProcess`1.b__71(Object sender, DataSourceEventArgs e)
at Terrasoft.UI.WebControls.Controls.DataSource.LoadRows(DataSourceRequest request)
at Terrasoft.WebApp.BaseModuleFoldersPageEventsProcess`1.ScriptInitializeExecute(ProcessExecutingContext context)
at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)
at Terrasoft.WebApp.BaseModuleFoldersPageEventsProcess`1.ProcessQueue(ProcessExecutingContext context)
at Terrasoft.WebApp.BaseModuleFoldersPageEventsProcess`1.OnExecuted(Object sender, ProcessActivityAfterEventArgs e)
at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)
at Terrasoft.WebApp.BaseModuleFoldersPageEventsProcess`1.ProcessQueue(ProcessExecutingContext context)
at Terrasoft.WebApp.BaseModuleFoldersPageEventsProcess`1.ThrowEvent(ProcessExecutingContext context, String message)
at Terrasoft.UI.WebControls.PageSchemaUserControl.ThrowEvent(String message)
at Terrasoft.WebApp.BaseModulePageEventsProcess`1.ScriptPageLoadCompleteExecute(ProcessExecutingContext context)
at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)
at Terrasoft.WebApp.BaseModulePageEventsProcess`1.ProcessQueue(ProcessExecutingContext context)
at Terrasoft.WebApp.SalesObjectiveModulePageEventsProcess`1.ProcessQueue(ProcessExecutingContext context)
at Terrasoft.WebApp.BaseModulePageEventsProcess`1.OnExecuted(Object sender, ProcessActivityAfterEventArgs e)
at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)
at Terrasoft.WebApp.BaseModulePageEventsProcess`1.ProcessQueue(ProcessExecutingContext context)
at Terrasoft.WebApp.SalesObjectiveModulePageEventsProcess`1.ProcessQueue(ProcessExecutingContext context)
at Terrasoft.WebApp.BaseModulePageEventsProcess`1.ThrowEvent(ProcessExecutingContext context, String message)
at Terrasoft.WebApp.SalesObjectiveModulePageEventsProcess`1.ProcessQueue(ProcessExecutingContext context)
at Terrasoft.WebApp.SalesObjectiveModulePageEventsProcess`1.OnExecuted(Object sender, ProcessActivityAfterEventArgs e)
at Terrasoft.Core.Process.ProcessFlowElement.Execute(ProcessExecutingContext context)
at Terrasoft.WebApp.SalesObjectiveModulePageEventsProcess`1.ProcessQueue(ProcessExecutingContext context)
at Terrasoft.WebApp.SalesObjectiveModulePageEventsProcess`1.ThrowEvent(ProcessExecutingContext context, String message)
at Terrasoft.UI.WebControls.PageSchemaUserControl.ThrowEvent(String message)
at Terrasoft.WebApp.BaseModulePageSchemaUserControl.PageLoadComplete(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Terrasoft.WebApp.Page.OnLoadComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
SessionID: 5tn1tn4rvrwlzre5zvcxjbhb
Request URL: /0/ViewPage.aspx?Id=5e5f9a9e-aa7d-407d-9e1e-1c24c3f9b59a&ActiveTabId=PageContainer_5ca0dabc8c894e1a9bb536407e1c4ef2_f42049db350245aab807e3e6f3e5f6de_e6d00ee553ec450a9c77d8d3039fc51b
Request Path: /0/ViewPage.aspx
Request UrlReferrer: http://localhost:81/0/ViewPage.aspx?Id=5e5f9a9e-aa7d-407d-9e1e-1c24c3f9b59a
Request Type: GET
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36
User Host Address: ::1
User: kataeva
Is Authenticated: True
Authentication Type: Forms
Is Secure Connection: False
Application Version: 5.4.1.728
Application Path: C:\inetpub\wwwroot\Kronwerk\Terrasoft.WebApp\
Application Virtual Path: /0
Application Trust Level: Full
Machine Name: WIN-GGGGO5G0J
Is Local: True
Process ID: 7208
Process Name: w3wp.exe
Process Account Name: IIS APPPOOL\Kronwerk
Thread Account Name: IIS APPPOOL\Kronwerk
OS Version: Microsoft Windows NT 6.3.9600.0
Net Framework Version: 4.0.30319.34014
DBExecutor Type: MSSqlExecutor
Нравится
Разобралась. Администрирование в объекте и во вспомогательных объектах надо снимать.