Skip to content

SQL Connection not established with Application Intent = Read-Only #18450

Open
@Mrugendra27

Description

@Mrugendra27
  • MSSQL Extension Version: v1.26.0
  • VSCode Version: 1.95.3
  • OS Version: Windows 11 Enterprise

Steps to Reproduce:

  1. While creating SQL server Connection, after entering all the required fields
  2. Click "Advanced" in the left bottom
  3. Under "Database Initialization" choose "Application Intent" = "Read-Only"
    Image
  4. Return to the main connection creation by pressing 'X' on the Advanced panel.
  5. Click on "Connect"
  6. Get 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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)"Image
  7. Change the "Application Intent" to "Read-Write"
  8. Clicking on "Connect" is successful.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions