Hello,
VS 2005 + SQL 2005
This works:
[codee]connectionString="server = steve01\sqlexpress; database = servicemasterTEST; user id = sa; pwd="[/code]
This does not:
This also doesn't work:
The connection string is located in the web.config file as tihs is a connection string for a web service.
I have been to and looked and tried them as well.
I can't userstand why it would let me use the user name and password but not the windows authenication.
I have started sql server management studio and entered for both sql authenication and also for windows authentication. Both of them work in sql server management studio.
I have check sql server to see if it running, and also set it for local and remote.
Could it be that the asp.net user account has not been added to the sql server database? If this is so, can someone explain how to add it.
I have also added the above to the web.config file.
Can anyone tell me if I am missing something simple here.
Many thanks,
Steve
VS 2005 + SQL 2005
This works:
[codee]connectionString="server = steve01\sqlexpress; database = servicemasterTEST; user id = sa; pwd="[/code]
This does not:
Code:
connectionString="server = steve01\sqlexpress; database = servicemasterTEST; trusted_connection = yes"
This also doesn't work:
Code:
connectionString="server = steve01\sqlexpress; database = servicemasterTEST; integrated security = true"
The connection string is located in the web.config file as tihs is a connection string for a web service.
I have been to and looked and tried them as well.
I can't userstand why it would let me use the user name and password but not the windows authenication.
I have started sql server management studio and entered for both sql authenication and also for windows authentication. Both of them work in sql server management studio.
I have check sql server to see if it running, and also set it for local and remote.
Code:
<authentication mode="Windows"/>
<identity impersonate = "true" />
I have also added the above to the web.config file.
Can anyone tell me if I am missing something simple here.
Many thanks,
Steve