首页 新闻 会员 周边

希望找个师傅帮我解决一下项目启动的问题,有偿!

0
悬赏园豆:120 [待解决问题]

最近有一个新的asp.net core web的项目,无法启动。
希望热心人士能够帮助一下我!!!!
能稍微讲一下项目结构就更好了!!!
报错信息:
SqlSugar.UtilExceptions
HResult=0x80131500
Message=English Message : Connection open error . A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Chinese Message : 连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,实在找不到原因请先Google错误信息:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server).
Source=SqlSugar
StackTrace:
at SqlSugar.AdoProvider.GetDataReader(String sql, SugarParameter[] parameters)
at SqlSugar.AdoProvider.SqlQuery[T](String sql, SugarParameter[] parameters)
at SqlSugar.AdoProvider.SqlQuery[T](String sql, Object parameters)
at chanjet.tc.tool.dac.library.SQLDBSession.FindList[T](String strSql) in D:\FILE\src-code\src-code\cloudtools\src\sf\SQLDBSession.cs:line 300
at DBSessionFactory.GetCloudRootDBInfo() in D:\FILE\src-code\src-code\cloudtools\src\sf\DBSessionFactory.cs:line 303
at DBSessionFactory.GetDBinfo(DBType dbType) in D:\FILE\src-code\src-codecloudtools\src\sf\DBSessionFactory.cs:line 204
at DBSessionFactory.GetDBSession(DBType dbType) in D:\FILE\src-code\src-code\tctool-code\cloudtools\src\sfDBSessionFactory.cs:line 16
at DBSessionFactory.GetCloudDBSession() in D:\FILE\src-code\src-code\cloudtools\src\sf\DBSessionFactory.cs:line 59
at accountdb.services.RdsManageService..ctor() in D:\FILE\src-code\src-code\cloudtools\src\accountdbservices\RdsManageService.cs:line 17
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()

meatlovechou的主页 meatlovechou | 初学一级 | 园豆:6
提问于:2020-06-24 23:57
< >
分享
所有回答(6)
0

你要么这里把问题说清楚,要么留下联系方式。什么都没有怎么帮?

coredx | 园豆:678 (小虾三级) | 2020-06-25 14:24

能添加一下qq吗 873973286

支持(0) 反对(0) meatlovechou | 园豆:6 (初学一级) | 2020-06-25 14:45
0

现在好了没

猴哥aiyy | 园豆:3 (初学一级) | 2020-06-25 22:02

还没,数据库连接不上

支持(0) 反对(0) meatlovechou | 园豆:6 (初学一级) | 2020-06-25 22:28
0

启动报啥错

ycyzharry | 园豆:25653 (高人七级) | 2020-06-25 22:11

数据库无法连接

支持(0) 反对(0) meatlovechou | 园豆:6 (初学一级) | 2020-06-25 22:28

@meatlovechou: 报什么错呢

支持(0) 反对(0) 猴哥aiyy | 园豆:3 (初学一级) | 2020-06-25 22:29

@爱杨洋真是太好了: 信息放上去了,数据库连接字符串找不到,就连不上数据库

支持(0) 反对(0) meatlovechou | 园豆:6 (初学一级) | 2020-06-25 23:48

@meatlovechou: 代码发来看下

支持(0) 反对(0) 猴哥aiyy | 园豆:3 (初学一级) | 2020-06-27 09:53
0

数据库连接 写在appstring.json文件中

永远跟党走i | 园豆:1519 (小虾三级) | 2020-06-27 08:28
0

今天不忙, 3171448083

Naylor | 园豆:137 (初学一级) | 2020-06-28 13:24
0
智客工坊 | 园豆:1855 (小虾三级) | 2020-08-07 15:31
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册