我想了解 documentdb 并安装模拟器,看起来没有错误。但是,启动后我的服务崩溃了:
网关服务启动
从标题来看,我猜测这是模拟器的一项重要服务。有趣的是,模拟器似乎继续加载并尝试打开:https://localhost:8081/_explorer/index.html
没有成功。
使用命令提示符我尝试手动启动网关服务,结果如下:
C:\Program Files\DocumentDB Emulator\Packages\GatewayService\GatewayService.Code>documentdb.gatewayservice.exe /?
未处理的异常:System.Runtime.InteropServices.COMException:注册表值无效(来自 HRESULT 的异常:0x80040153 (REGDB_E_INVALIDVALUE))
在 System.Runtime.InteropServices.RuntimeEnvironment.GetDeveloperPath()
在 System.AppDomain.SetupFusionStore(AppDomainSetup 信息,AppDomainSetup oldInfo)
在System.AppDomain.SetupDomain(布尔allowRedirects,字符串路径,字符串configFile,字符串[] propertyNames,字符串[] propertyValues)
C:\Program Files\DocumentDB Emulator\Packages\GatewayService\GatewayService.Code>documentdb.startupentrypoint.exe /?
未处理的异常:System.Runtime.InteropServices.COMException:注册表值无效(来自 HRESULT 的异常:0x80040153 (REGDB_E_INVALIDVALUE))
在 System.Runtime.InteropServices.RuntimeEnvironment.GetDeveloperPath()
在 System.AppDomain.SetupFusionStore(AppDomainSetup 信息,AppDomainSetup oldInfo)
在System.AppDomain.SetupDomain(布尔allowRedirects,字符串路径,字符串configFile,字符串[] propertyNames,字符串[] propertyValues)
C:\Program Files\DocumentDB Emulator\Packages\GatewayService\GatewayService.Code>
网关服务是否相关?知道如何修复吗?
快速编辑:
我已按照此处列出的指示进行操作:https://learn.microsoft.com/en-us/azure/documentdb/documentdb-nosql-local-emulator#troubleshooting
不会生成要通过电子邮件发送的 etl 文件。
提前致谢