---
title: "Discussion on \"DotNet7 connecting to SQL Server\" | Hashnode"
description: "Discussion on \"DotNet7 connecting to SQL Server\". I have a little sample app, that uses my generic repository library. I've recently upgraded both to DotNet7 [.Net7] and immediately hit an issue.\nI was getting the error:\n\nA connection was successfully established with the server, but then an error o..."
url: "https://hashnode.com/posts/dotnet7-connecting-to-sql-server/63c1dc0cb480f3459e819be2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [DotNet7 connecting to SQL Server](https://mcarthur-online.co.uk/dotnet7-connecting-to-sql-server?utm_source=hashnode&utm_medium=feed)

I have a little sample app, that uses my generic repository library. I've recently upgraded both to DotNet7 \[.Net7\] and immediately hit an issue. I was getting the error: A connection was successfully established with the server, but then an error o...

Jan 13, 2023 · 1 min read · mcarthur-online.co.uk  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#dotnet7](https://hashnode.com/tag/dotnet7)
-   [#sql-server](https://hashnode.com/tag/sql-server)
-   [#entity-framework](https://hashnode.com/tag/entity-framework)

## Written by

[John McArthur](https://hashnode.com/@BigBadJock)

@BigBadJock

  
[View profile](https://hashnode.com/@BigBadJock)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
