Skip to content

Connection string builder code error #39682

Description

@Jymms

Type of issue

Code doesn't work

Description

I can't find what you're using as the "baseConnectionString" so I figured it was the Data Source Path. That gives me an error "System.ArgumentException: 'Format of the initialization string does not conform to specification starting at index 0.'

I added DataSource = SomeFilePath, as the first line inside the { } Which consistent with the information up to the Example.

Page URL

https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/connection-strings

Content source URL

https://github.com/dotnet/docs/blob/main/docs/standard/data/sqlite/connection-strings.md

Document Version Independent Id

8eec3e85-0630-15db-ff40-c89920b89526

Article author

@ajcvickers

Metadata

  • ID: 054ee24a-82e4-7bb5-fff5-bb1ab5713472
  • Service: dotnet-data

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions