Re: Problem with SQL Server 2005 Express Edition
- From: "Roger Wolter[MSFT]" <rwolter@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 16 May 2007 17:10:26 -0700
Here are the instructions for changing it.
http://msdn2.microsoft.com/en-us/library/ms188670.aspx
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Preben Zacho" <post@xxxxxxxxxxxx> wrote in message news:%23F%23hPh$lHHA.4568@xxxxxxxxxxxxxxxxxxxxxxx
Hi Roger
How can I determine this? And how do I change it if that is the case?
/PZ
"Roger Wolter[MSFT]" <rwolter@xxxxxxxxxxxxxxxxxxxx> wrote in message news:1105D112-C515-42E4-924D-85184144DC2A@xxxxxxxxxxxxxxxxSince you are specifying the user name and password in the connection string I assume you are using SQL Server authentication for your logins rather than Windows authentication. One cause for that error is trying to use a SQL Server login on a database server that is configured to only accept Windows logins.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Preben Zacho" <post@xxxxxxxxxxxx> wrote in message news:OKXT6f4lHHA.1776@xxxxxxxxxxxxxxxxxxxxxxxOk, I've read almost a million ng postings on this, still I can't solve it. This place is my final hope.
I'll start from the beginning: I have a Windows application developed in C#. It uses a SQL Server 2005 Express Edition database to store data. Now I have created a deployment of this app and database, and I try to install it on my own machine. No problems, works without errors.
Now, I put this deployment project on the network and a user downloads it to his Vista machine and runs the setup. When he starts the app he gets the following error message:
"Login failed for user "MyUser". The user is not associated with a thrusted
server connection".
The connection string I use in my application is this:
Server=.\SQLEXPRESS;Database=MyDB;User ID=MyUser;Password=thissucks
Since I have no control over the Vista machine, I can't force him/her to create a new account that is thrusted. All I want is to deploy my app and database, without having to worry about authorization and stuff. If possible, it should allow for ALL users to connect and use it.
I have already tried alot of the suggestions I've found, but lets start all over so it will be right. What should I do to remove this error? How can I deploy my database without having to think about authorization/security stuff?
TIA
PZ
.
- Follow-Ups:
- Re: Problem with SQL Server 2005 Express Edition
- From: Preben Zacho
- Re: Problem with SQL Server 2005 Express Edition
- References:
- Problem with SQL Server 2005 Express Edition
- From: Preben Zacho
- Re: Problem with SQL Server 2005 Express Edition
- From: Roger Wolter[MSFT]
- Re: Problem with SQL Server 2005 Express Edition
- From: Preben Zacho
- Problem with SQL Server 2005 Express Edition
- Prev by Date: Re: .ldf files
- Next by Date: Re: Roles in 2005
- Previous by thread: Re: Problem with SQL Server 2005 Express Edition
- Next by thread: Re: Problem with SQL Server 2005 Express Edition
- Index(es):
Relevant Pages
|
|