|
|
可能主要是扇区的问题:
可通过以下方式解决
参考网址:https://learn.microsoft.com/en-u ... abs=registry-editor
以下为网址中的原文,以下三种方式选其中的一种就可以,推荐采用第三种,会翻译出来
1.Registry Editor
Run Registry Editor as an administrator.
Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device.
Select Edit > New > Multi-String value and name it as ForcedPhysicalSectorSizeInBytes.
Right-click the name, select Modify, and type * 4095 in the Value data field.
Select OK and close Registry Editor.
You must reboot the device after adding the registry key for this change to take effect.
2.Command Prompt
Run Command Prompt as an administrator.
Run the following command to add the key:
REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" /v "ForcedPhysicalSectorSizeInBytes" /t REG_MULTI_SZ /d "* 4095" /f
Run the following command to validate if the key is added successfully:
REG QUERY "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" /v "ForcedPhysicalSectorSizeInBytes"
3.Powershell
Run PowerShell as an administrator.
以管理员身份启动PowerShell
Run the following command to add the key:
运行以下内容
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" -Name "ForcedPhysicalSectorSizeInBytes" -PropertyType MultiString -Force -Value "* 4095"
Run the following command to validate if the key is added successfully:
输入如下内容验证是否成功
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" -Name "ForcedPhysicalSectorSizeInBytes"
把以上扇区的参数修改完以后卸载Microsoft SQL Server 2019(6bit),然后再在目录\Aspen_V14_ENG\3rd Party Redistributables\Microsoft SQL Express 2019下重新安装就可以安装成功。
以上步骤安装完成后,重启电脑后,再初始化aspen的数据库就可以成功加载企业数据库。
有问题交流
|
|