技术文章 - CS321032
“无法为对象分配空间<Object>在数据库中<Database>因为“PRIMARY”文件组已满”在 Microsoft SQL Server 上的 ThingWorx Platform 上显示
已修改: 23-May-2025
适用于
- ThingWorx Platform 9.0 to 9.6
- Microsoft SQL Server
- Azure SQL Database
说明
- Microsoft SQL Server 上的 ThingWorx Platform 不会启动,并在/ThingworxStorage>/logs/ApplicationLog.log中引用以下数据库错误:
[L: ERROR] [O: c.t.p.m.MssqlModelExceptionTranslator] [I: ] [U: SuperUser] [S: ] [T: ForkJoinPool-1-worker-3] [message: Could not allocate space for object '<object_name>'.<object_name>' in database 'thingworx' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.] [L: ERROR] [O: c.t.s.s.a.AuditSubsystem] [I: ] [U: SuperUser] [S: ] [P: ] [T: ForkJoinPool-1-worker-1] Unable to write audit entry for: [AuditEntry category=audit.AuditCategory.Lifecycle, messageKey=<Audit>] [L: ERROR] [O: c.t.w.BaseService] [I: ] [U: Administrator] [S: ] [T: http-nio-8443-exec-4] [context: com.thingworx.webservices.context.HttpExecutionContext@7753d44a][message: Thing [ptc-windchill-demo-thing] is not running]
- 将实体导入 ThingWorx 失败,并在/ThingworxStorage/logs/ErrorLog.log中出现以下错误:
[L: ERROR] [O: E.c.t.p.m.MssqlModelExceptionTranslator] [I: ] [U: <User>] [S: ] [T: https-jsse-nio-8443-exec-11] [message: [1,018] Data store unknown error: [Error occurred while accessing the model provider.]] com.microsoft.sqlserver.jdbc.SQLServerException: Could not allocate space for object '<object_name>'.<object_name>' in database 'thingworx' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup. ... Wrapped by: com.thingworx.common.exceptions.ModelAccessException: [1,018] Data store unknown error: [Error occurred while accessing the model provider.] ...
- 无法创建实体或编辑子系统的任何配置,并出现与上述相同的错误
- 执行服务PurgeStreamEntries时出现以下错误:
Unable to Invoke Service PurgeStreamEntries on XXX : com.thingworx.common.exceptions.DataAccessException: [1,018] Data store unknown error: [Error occurred while accessing the data provider.]
- 无法更新事物形状,尝试更新和保存事物形状时出现以下错误:
Unable to update thing shape: [1,018] Data store unknown error: [Error occurred while accessing the model provider.]
- 日语错误信息如下
データベース 'thingworx' にオブジェクト 'xxx'.'xxx' の領域を割り当てられませんでした。'PRIMARY' ファイル グループがいっぱいです。不要なファイルの削除、ファイル グループ内のオブジェクトの削除、ファイル グループへの新しいファイルの追加、またはファイル グループの既存のファイルの自動拡張の設定のいずれかを行ってディスク領域を作成してください。
这是文章 321032 的 PDF 版本,可能已过期。最新版本 CS321032