No Trusted SQL Server Connection

J

Jonathan Wood

I'm a programmer but not a database administrator and really don't want to
be either.

After a fair amount of reading and many problems related to SQL and related
stuff, I finally figured out how to create a database in Visual Studio and
enter some data into it. Now, I'm trying to make a Web site application
populate an HTML table with that data. (Running locally.)

Now, when I run the code, I get the error "Login failed for user ''. The
user is not associated with a trusted SQL Server connection."

It appears to be related to my SQL connection string, which is currently
"Data Source=localhost\\SQLEXPRESS;Initial Catalog=DataTest;"

It seems like that should work. Can anyone help me figure out the problem?

Thanks.
 

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,961
Messages
2,570,131
Members
46,689
Latest member
liammiller

Latest Threads

Top