小编Joh*_*hey的帖子

SQL 异常 - 与网络相关或特定于实例。SQL Express“它可以在我的机器上运行”问题

EDIT: It only took a week but I eventually found out the issue, primarily due to pure luck and another error with a more specific fix. The issue was with the connStr I had made, which for some reason on this machine gave me the error randomly of "System.ArgumentException: Keyword not supported: 'datasource'." during runtime. I then found out a fix for that was to rename the connStr as follows:

 connStr = @"server = (server name); Initial Catalog = AutoTestDB; …
Run Code Online (Sandbox Code Playgroud)

c# sql-server sql-server-express katalon-studio

5
推荐指数
1
解决办法
160
查看次数