Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

ASP.NET Core v.1.1: Executing stored procedures in IIS doesn't return data

$
0
0

Hello,

I have implemented an ASP.NET Core Web API v1.1 which has a controller that executes a sql query (mostly it executes sp calls) and returns a DataTable. The problem is that when I run the Web API locally with IISExpress returns the DataTable as expected, but after publishing and copying the files to IIS remotely, although it returns Ok, the data is empty. Is there any reason for this to be happening? Does anyone here confronted such an issue and found any solution?

Thanks.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>