I'm trying to deploy an AspNet Core application on IIS on a Windows 10 machine. The application is the sample MVC app that ships with VS 2015, using Individual User Accounts. It uses a SQL database, hosted on LocalDB. But when I try to deploy it to IIS it can't access the database.
According to this link, I need Database Manager for IIS, but this download is for IIS 7. Does it still apply on IIS 10?
Is it possible to use the same database I'm using on Visual Studio (hosted on LocalDB)?
--- UPDATE ---
After a while a figured out how to set IIS to work on a Development environment. Now when I try to reach the database I get the following error:
SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 50 - Local Database Runtime error occurred.
I guess the LocalDB instance need some sort of configuration to work with IIS. How do I check if it's configured to allow remote connections?