sqlserver 2005 login problem

C

Carlos

Hi all,

I just wrote an asp .net 2.0 sample app intending to connect to
a database (in sql server 2005). I provided the mixed mode access
authentication in the sql server, and provided to the aspnet account
user access with the dbo role. I also configured IIS to get integarted
windows authentication, and not anonymous access. After all this... ufff..!
I still have
access problems, the exception says:

Login failed for user ''. The user is not associated with a trusted SQL
Server connection

my conection string reads:

server=<servername>;Database=<dbname>;Integrated Security=true"

thanks in advance for any help,



Carlos.
 
G

Guest

Try switching to SQL Server authentication:

server=myserver;database=mydatabase;uid=username;pwd=password;

Peter
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top