LOGIN FAILED for USER xxx\ASPNET

S

Steve Caliendo

Hi,

I can generate a dataset just fine in design mode using a SQL server that's
on my computer, but when I launch it, the ASPNET user can't access my
database. I've made the ASPNET user on my computer be an administrator, but
that didn't work. What do I need to change to allow this user to access my
database ?

Thanks,

Steve
 
C

Chris Jackson

Go into SQL Server and add an account with that user name, giving it
permissions to that database. An even better option is to use impersonation
in your ASP.NET application, giving it a low-permissions domain account to
use for database authentication.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top