Login failed for user

F

flagsiup

I am doing the visual studio.net walkthrough for web
application(msde sql server). I am getting the error
message:

System.Data.SqlClient.SqlException: Login failed for
user 'DJCR5F41\ASPNET'

The code line to connect as created by the project is:

Me.SqlConnection1.ConnectionString = "workstation
id=DJCR5F41;packet size=4096;integrated
security=SSPI;data source=""dj" & _
"cr5f41\vsdotnet"";persist security
info=False;initial catalog=pubs"

Would appreciate knowing how to get the program to
recognized the DJCR5F41\ASPNET

thanks
 
C

Cor Ligthert

Hi Flagsiup,

Which walkthrough is that DJCR5F41 in, than we can look at it, there are a
lot of walktrhoughs,

Cor
 
F

flagisup

Chapter four the first one. This is the walkthrough book
that comes with vs.net 2003. It is abending on
sqlDataAdapter1.Fill(dSet). The msde is working find
because I can bring up the data that populates the grid.
It is somehow expecting to see the DJCR5F41\ASPNET.
Could this be a part of the folder security?

thanks for any help
 
G

Guest

I have subsequently applied DJCR5F41\ASPNET to the folder
security but still getting the same login error message
 
F

flagisup

I have subsequently applied DJCR5F41\ASPNET to the folder
security but still getting the same login error
 
G

Guest

Thanks Val, you were right on both counts. The aspnet
must be a member of the administrators group and in my
case I needed to change my registry setting to mix mode.
 

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

Top