M
M
Max Trophy2016-10-11 22:50:40
ASP.NET
Max Trophy, 2016-10-11 22:50:40

Login failed on a site on ASP + MS SQL Server?

There is a site (one training page), deployed. It works until there is no interaction with the MS SQL database. That is, when you need to read data from there, a login failed error occurs. But if you test from a local machine from Visual Studio, it works.
What could be the problem? Accesses in MS SQL SERVER are registered for the user through which the connection to the site is made

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2016-10-11
@kapitoly

Your web application must have a DefaultConnection with a username and password. This user must have access rights to this database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question