1.检查数据库版本要大于SQLSERVER 2008R2.(重点)

 

2.

修改Dockerfile文件, (文件收vs 2019 创建默认配置,运行于Linux)
把第一行:

FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base

改为 

FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-bionic AS base

 


3.如果还不行就改数据库连接
Server=IP,1433;Database=数据库名;User Id=用户名;Password=密码;

相关文章:

  • 2021-12-19
  • 2021-12-19
  • 2022-01-15
  • 2021-07-11
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2022-01-07
  • 2022-12-23
  • 2021-09-05
  • 2021-12-03
  • 2021-10-08
  • 2022-02-21
相关资源
相似解决方案