gpt4 book ai didi

Azure SDK 2.4 安装无法安装 Azure 存储模拟器

转载 作者:行者123 更新时间:2023-12-03 04:35:36 25 4
gpt4 key购买 nike

使用 Azure SDK 安装程序 2.4 无法安装 azure 存储模拟器,日志中出现以下错误:

CAQuietExec:  Windows Azure Storage Emulator 3.3.0.0 command line tool
CAQuietExec:
CAQuietExec: Unhandled Exception: System.TypeInitializationException: The type initializer for 'Microsoft.WindowsAzure.Storage.Emulator.Controller.Configuration.StorageEmulatorConfigCache' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'enable'. Note that attribute names are case-sensitive. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 104)
CAQuietExec: at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
CAQuietExec: at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
CAQuietExec: at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
CAQuietExec: --- End of inner exception stack trace ---
CAQuietExec: at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
CAQuietExec: at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
CAQuietExec: at Microsoft.WindowsAzure.Storage.Emulator.Controller.Configuration.StorageEmulatorUpdatableConfiguration.GetConfigurationSection(String name)
CAQuietExec: at Microsoft.WindowsAzure.Storage.Emulator.Controller.Configuration.StorageEmulatorConfigCache..cctor()
CAQuietExec: --- End of inner exception stack trace ---
CAQuietExec: at Microsoft.WindowsAzure.Storage.Emulator.Controller.Configuration.StorageEmulatorConfigCache.get_Configuration()
CAQuietExec: at Microsoft.WindowsAzure.Storage.Emulator.Controller.Initialization..ctor(Boolean forceCreate, Boolean autodetect, String server, String sqlInstance)
CAQuietExec: at Microsoft.WindowsAzure.Storage.Emulator.InitCommand.RunCommand()
CAQuietExec: at Microsoft.WindowsAzure.Storage.Emulator.Program.Main(String args)
CAQuietExec: Error 0xe0434352: Command line returned an error.
CAQuietExec: Error 0xe0434352: CAQuietExec Failed

查看 machine.config 行发现“enable”属性,但我不确定为什么这会成为问题。这是 machine.config 行

            <section name="processModel" type="System.Web.Configuration.ProcessModelSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineOnly" allowLocation="false" enable="true" requestQueueLimit="15000"/>

任何帮助将不胜感激。

最佳答案

我也遇到了同样的问题,以下是我解决问题的方法。

  1. 通过添加/删除程序卸载旧的 Windows Azure 存储模拟器。如果您无法卸载,请使用 FixItnow 卸载 http://support.microsoft.com/mats/program_install_and_uninstall/en

2.旧模拟器消失后,您应该可以安装新的存储模拟器。

尝试一下并告诉我。

谢谢

关于Azure SDK 2.4 安装无法安装 Azure 存储模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25516212/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com