I have this website(Web API) that needed to be deployed locally. Screenshot of website from debug
The website was connected to an SQL Server Express. Screenshot of Database Credential
So I tried using IIS for the website but shows error on production Screenshot from production
What Ive Tried:
- Added
location allowOverride="true" - Allow Connection of port(8080 in my case) in firewall
My Connection String:
connectionString="Data Source=DESKTOP-68AOHFF\SQLEXPRESS;Initial Catalog=BFPData;Integrated Security=True;Connect Timeout=60;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"
Is there anything I missed? I don't really have background on putting dynamic website on IIS, Thanks for Helping!
Edit:
found this Test Connection I dont this effect my deployment