AppSync: Odzyskiwanie SQL nie powiodło się z powodu braku plików ldf (dziennika sql).

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状



AppSync nie może odzyskać bazy danych SQL w hoście montowania.

Wyświetlane będą następujące zdarzenia planu obsługi technicznej:
Unable to recover database MyDB on the instance MySQL-QA.  See the host plug-in log, application event log, and the SQL Server error log for details.

W dzienniku zdarzeń aplikacji systemów operacyjnych zostaną wyświetlone informacje:
Error         Mountx 17207   MSSQLSERVER                      FileMgr::StartLogFiles: 
Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 
'L:\SourceFolder\MSSQL\logs\MyDB_2.ldf'. Diagnose and correct the operating system error, and retry the operation.

Error         Mountx 17207   MSSQLSERVER                      FileMgr::StartLogFiles:
 Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file
'L:\SourceFolder\MSSQL\logs\MyDB_3.ldf'. Diagnose and correct the operating system error, and retry the operation.

W dzienniku wtyczki AppSync w hoście montowania zostaną wyświetlone informacje:
[MountHost] SQL: Last native error: error number 5111, SQLState 01000, sql native info message [Microsoft][ODBC SQL Server Driver][SQL Server]File activation failure.
The physical file name "L:\SourceFolder\MSSQL\logs\MyDB_2.ldf" may be incorrect.
[MountHost] SQL: processSQLMessages: Message = Msg 1813, SevLevel 0, State 5, SQLState 42000, sql native info [Microsoft][ODBC SQL Server Driver][SQL Server]Could not open new database 'MyDB'. CREATE DATABASE is aborted.

[MountHost] SQL: Last native error: error number 5111, SQLState 01000, sql native info message [Microsoft][ODBC SQL Server Driver][SQL Server]File activation failure.
The physical file name    "L:\SourceFolder\MSSQL\logs\MyDB_3.ldf" may be incorrect.
[MountHost] SQL: processSQLMessages: Message = Msg 1813, SevLevel 0, State 5, SQLState 42000, sql native info [Microsoft][ODBC SQL Server Driver][SQL Server]Could not open new database 'MyDB'. CREATE DATABASE is aborted.

原因

Błąd oprogramowania

解决方案

AppSync 4.0 rozwiązuje ten problem.

其他信息

Informacje dotyczące wydania AppSync 4.0 nie wymieniają tego problemu jako rozwiązanego w sekcji rozwiązanych problemów, ale potwierdzono, że poprawka rozwiązująca ten problem została zawarta w AppSync 4.0.
Przeprowadź aktualizację do wersji AppSync 4.0, aby rozwiązać ten problem.

受影响的产品

AppSync

产品

AppSync
文章属性
文章编号: 000170225
文章类型: Solution
上次修改时间: 20 10月 2025
版本:  6
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。