Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Setting up a new Windows Server 2019 with IIS and .Net Core - issues with SQL

$
0
0

Hi everyone,

I have been banging my head against the wall with this for a couple days now and my boss suggested that I post the issue here.

We have set up a new Windows Server 2019 with Hyper-V and I have been configuring it to host .Net Core applications with IIS.

Everything was smooth except my application will not connect to my SQL server. I am using SQL Server Management Studio 18 with a local db instance from SQL server express.

I've never had issues with this before. The application is on the same server, it should connect fine with windows authentication.

So let me start from the beginning.

Running IIS with .Net Core 3.0

Backed up and restored my "CBIntranet" database to my server from my local machine.

Here is my connection string in appsettings.json

"DefaultConnection": "Server=(localdb)\\...


Viewing all articles
Browse latest Browse all 4871

Trending Articles