Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net MongoDB迁移ABP_.net_Mongodb_Migration_Abp - Fatal编程技术网

.net MongoDB迁移ABP

.net MongoDB迁移ABP,.net,mongodb,migration,abp,.net,Mongodb,Migration,Abp,我已经用mongoDB安装了ABP,它在我的本地机器上,但是在运行.DBMigrator时出现了这个问题 [10:52:51 INF]已开始数据库迁移。。。 [10:52:51 INF]正在迁移主机数据库的架构。。。 未处理的异常。System.ArgumentNullException:值不能为null。(参数“connectionString”) 在MongoDB.Driver.Core.Misc.sure.IsNotNull[T](T值,字符串参数名) “连接字符串”:{ “默认值”:mo

我已经用mongoDB安装了ABP,它在我的本地机器上,但是在运行.DBMigrator时出现了这个问题

[10:52:51 INF]已开始数据库迁移。。。 [10:52:51 INF]正在迁移主机数据库的架构。。。 未处理的异常。System.ArgumentNullException:值不能为null。(参数“connectionString”) 在MongoDB.Driver.Core.Misc.sure.IsNotNull[T](T值,字符串参数名)

“连接字符串”:{ “默认值”:mongodb://localhost:27017/HelloWord"
},

我猜您没有在DbMigrator项目的
appsettings.json中更改ConnectionString


请共享完整的堆栈跟踪。