question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

System.ArgumentException: Keyword not supported: 'command timeout'.

See original GitHub issue

Describe what is not working as expected.

Provide steps to reproduce

Updated to VS 17.6.2, no other updates performed on the project. Using EF Reverse Engineer now throws an exception, work ok before on many updates.

Provide technical details

EF Reverse Engineer 2.5.14.29

Microsoft Visual Studio Community 2022 (64-bit) - Version 17.6.2 EF Core 7.0.5 Microsoft SQL Server

System.ArgumentException: Keyword not supported: 'command timeout'.
   at Keywords System.Data.SqlClient.SqlConnectionStringBuilder.GetIndex(string keyword)
   at void System.Data.SqlClient.SqlConnectionStringBuilder.set_Item(string keyword, object value)
   at void System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(string value)
   at new System.Data.SqlClient.SqlConnectionStringBuilder(string connectionString)
   at SqlConnectionStringBuilder EFCorePowerTools.Helpers.SqlConnectionStringBuilderHelper.GetBuilder(string connectionString)
   at Tuple<bool, Version> EFCorePowerTools.Helpers.ReverseEngineerHelper.HasSqlServerViewDefinitionRightsAndVersion(string connectionString)
   at void EFCorePowerTools.Handlers.ReverseEngineer.ReverseEngineerHandler.VerifySQLServerRightsAndVersion(ReverseEngineerOptions options)
   at async Task EFCorePowerTools.Handlers.ReverseEngineer.ReverseEngineerHandler.ReverseEngineerCodeFirstAsync(Project project, string optionsPath, bool onlyGenerate, bool fromSqlProj)

Issue Analytics

  • State:closed
  • Created 4 months ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pisc-softwarecommented, Jun 10, 2023

Hello, Sorry for the late reply. Projects kept us busy. Recreating the DB Connection did work, without applying the daily build update. Thanks for the help.

0reactions
ErikEJcommented, Jun 11, 2023

@pisc-software Glad you git it fixed

If you like my free tools, I would be very grateful for a rating or review on Visual Studio Marketplace or even a one-time or monthly sponsorship

Read more comments on GitHub >

github_iconTop Results From Across the Web

Entity Framework Connection String 'Connection Timeout ...
My idea was to lower the timeout exception binding in the Entity Framework connection string, but when I add it it says the...
Read more >
Setting the command timeout with the latest .NET SqlClient
Trying it out anyway returns Keyword not supported: 'command timeout' . In short, this blog post should be removed for it is misleading...
Read more >
Keyword not supported: 'Connect Timeout'
We have fixed the bug with using Connection Timeout parameter in a connection string for SQL Server. We will post here when the...
Read more >
Setting CommandTimeout on connection string causes ...
System.ArgumentException: Keyword not supported: 'commandtimeout'. Does nHibernate not support CommandTimeout? Can someone show me the
Read more >
Setting the command timeout with the latest .NET SqlClient
Now you can work around timeout issues simply by changing the connection string, where this previously required changes to code, and maybe ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found