跳转到主内容

CSNAPC-8159:当用户的区域设置采用非美国日期格式时、SnapCenter cmdlet Refresh-SmSnaplock -all错误

Views:
1
Visibility:
Internal
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

问题描述

使用SnapCenterAdmin roled帐户通过Open-SmConnection登录后、从SC commandlet运行Refresh-SmSnapLock -all会在同一日期/时间多次引发以下未处理的异常(日期/时间值为数字、其中Day "dd"大于12):
DUpdateSnaplockSettings失败、并显示错误:string 'd .MM.yyy HH:mm:ss未识别为有效日期时间。
System.FormATException:字符串'd d.MM.yyy HH:mm:ss '未识别为有效的日期时间。
位于`NetApp的System.DateTimeParse.parse (ReadOnlySpan Info1 s、DateTimeFormatdtfi、DateTimeStyle样式)、位于SnapManager <FindMaxSnapLockExpTime>的System.Convert.ToDateTime (Programvalue
)、位于SnapSDALHelper.SnapLockString.SnapHelper.<>c.SnapManagerInfo_1_2 (%S
)日志文件位于SnapManagerWeb_Web_App\LOG_LOG_
<JOB_ID> SnapCenter

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange