Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

摘要

虛擬應用程式套件包含提供套件所有核心資訊和預設設定的清單。 如果要為特定使用者或群組調整這些預設值,可以建立和編輯使用者設定檔 (UserConfig)。 可使用 UserConfig 檔 為套件指定或修改自訂設定。 將套件部署到執行 App-V 用戶端的電腦後,會在特定使用者中套用這些設定。

徵狀

發佈透過 App-V 管理主控台發佈具有 UserConfig 檔的虛擬應用程式套件可能會失敗,因為 SQL Server 2016 和更高版本處理資料類型的方式發生了變化。  有關該更改的詳細資訊,請參閱 KB4010261。   有此問題的套件將在時間戳記中包括 7 位毫秒數,例如 "2019-12-30T14:41:57.7433333"。  可能同時發佈的套件在時間戳記中具有兩位毫秒數,例如 "2019-12-30T14:41:50.58"。

如果遇到此問題,您可能會在詳細資訊記錄中收到以下錯誤:

5756 [7]14D4.4320::12/10/19-08:28:34.9973489 [Microsoft.Windows.AppMan.AppV] LOGLEVEL=1, MESSAGE=Catalog: Failed to set the last modification time on policy file 'C:\Users\sgern\AppData\Roaming\Microsoft\AppV\Client\Catalog\Packages\{1D45F06B-874D-4A85-86EF-2330B430E47D}\{DB5DE6F6-15E8-4932-A7CF-2DA12EA5B068}\DynamicConfiguration.xml. Error code: 0x0FD0A725-00000057, FUNCTION=AppV::Client::Catalog::DocumentStoreImpl::SavePolicyDocumentToFile, LINENO=1078, UTCReplace_AppSessionGuid=true

從 Windows 傳回錯誤 0x0FD0A725-00000057,表示「錯誤參數」

因應措施

要緩解此問題,您可能需要執行以下操作之一:

  • 使用 PowerShell 發佈套件。

  • 將資料庫的相容性級別變更為低於 130。

  • 變更用於時間戳記的行的資料類型。

下面是用於變更記錄時間戳記的資料類型欄的指令碼範例。  附註:您需要針對您的環境調整腳本中的 DB 名稱。 重要提示:建議您在執行任何指令碼前備份 DB。

USE  AppVManagement
GO
ALTER TABLE dbo.PackageEntitlements ALTER column UserConfigurationTimestamp datetime2(3)
GO
ALTER TABLE dbo.PackageVersions ALTER column TimeAdded datetime2(3)
GO
ALTER TABLE dbo.PackageVersions ALTER column TimeChanged datetime2(3)
GO
ALTER TABLE dbo.PackageVersions ALTER column TimeEnabled datetime2(3)
GO
ALTER TABLE dbo.PublishingServers ALTER column LastPublishingAttempt datetime2(3)
GO


附註:如果您透過 PowerShell 發佈虛擬應用程式套件,則不會遇到此問題。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×