【wyn7.0】报表添加导出和打印权限失败
本帖最后由 Pluto丶 于 2024-6-24 15:28 编辑如图,添加导出和打印权限后点保存,没有生效。报错如下:
{
"data": null,
"errors": [
{
"ClassName": "GraphQL.Execution.UnhandledError",
"Message": "Error trying to resolve field 'updatePermissions'.",
"Data": {},
"InnerException": {
"ClassName": "System.InvalidOperationException",
"Message": "Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.\r\nObject name: 'StorageDbContext'.",
"Data": {},
"InnerException": null,
"HelpURL": null,
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233079,
"Source": null,
"WatsonBuckets": null
},
"HelpURL": null,
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233088,
"Source": null,
"WatsonBuckets": null
}
]
}
问题找到了,这个表的索引失效了,重建之后就好了 问题描述:
文档权限,赋值导出打印权限失败。
问题回答:
您好,这个您是只有一个文档有这个问题还是全部报表目前都这样。
其次,如果只是这个文档,您方便上传一下您的报表文件嘛,导出上传一下,我们看一下是是否因为一些设置导致的。
如果不是。方便我们明天约个远程看一下,您可以留个腾讯会议,我们明天上午看一下
Felix.Li 发表于 2024-6-24 17:12
问题描述:
文档权限,赋值导出打印权限失败。
我的识别码:651987052
使用向日葵即可对我发起远程协助
向日葵下载地址:http://url.oray.com/tGJdas/
所有的报表都有这个问题 Felix-李佳豪 邀请您参加腾讯会议
会议主题:Felix-李佳豪预定的会议
会议时间:2024/06/25 13:30-14:00 (GMT+08:00) 中国标准时间 - 北京
点击链接入会,或添加至会议列表:
https://meeting.tencent.com/dm/aO4f0TBWrpbn
#腾讯会议:681-930-436
您看这个可以吗,因为远程确实需要排时间,您留向日葵可能时间不固定。 Felix.Li 发表于 2024-6-25 12:21
Felix-李佳豪 邀请您参加腾讯会议
会议主题:Felix-李佳豪预定的会议
会议时间:2024/06/25 13:30-14:00...
可以 目前的情况看出来是sharedResources_Image 这个表没有。所以手动创建一下这个表可以试一下:
CREATE TABLE "sharedResources_Image"
( "Id" NVARCHAR2(450) NOT NULL ENABLE,
"Created" TIMESTAMP (7) NOT NULL ENABLE,
"CreatedBy" NVARCHAR2(450),
"Modified" TIMESTAMP (7) NOT NULL ENABLE,
"ModifiedBy" NVARCHAR2(2000),
"Version" NUMBER(10,0) NOT NULL ENABLE,
"DocumentId" NVARCHAR2(450),
"Width" NUMBER(10,0),
"Height" NUMBER(10,0),
"XDpi" BINARY_DOUBLE,
"YDpi" BINARY_DOUBLE,
"AttachmentId" NVARCHAR2(2000),
"IsSoftDeleted" NUMBER(1,0),
"DeletedAt" TIMESTAMP (7),
"DeletedBy" NVARCHAR2(2000),
"IdVersion" NVARCHAR2(450),
CONSTRAINT "PK_224374332" PRIMARY KEY ("Id")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS"ENABLE
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "USERS"
哦哦。问题解决就好。那我吧这个帖子关了。有其他问题您再开新帖解决。
页:
[1]