Click here to Skip to main content
15,896,726 members
Home / Discussions / C#
   

C#

 
GeneralRe: Change textbox readonly attribute programatically Pin
Glen Harvy5-Aug-06 20:28
Glen Harvy5-Aug-06 20:28 
QuestionSerialize to string Pin
peterchen5-Aug-06 3:14
peterchen5-Aug-06 3:14 
AnswerRe: Serialize to string Pin
Judah Gabriel Himango5-Aug-06 10:29
sponsorJudah Gabriel Himango5-Aug-06 10:29 
QuestionCrystal Report Pin
peshawarcoder5-Aug-06 2:47
peshawarcoder5-Aug-06 2:47 
Questionusing assemblies Pin
nesaraja5-Aug-06 1:42
nesaraja5-Aug-06 1:42 
AnswerRe: using assemblies Pin
peterchen5-Aug-06 4:00
peterchen5-Aug-06 4:00 
GeneralRe: using assemblies Pin
nesaraja6-Aug-06 18:45
nesaraja6-Aug-06 18:45 
QuestionProblem "The user is not associated with trusted SQL Server connection". Pin
wasife5-Aug-06 0:11
wasife5-Aug-06 0:11 
Hi,

I have a C# windows application. I am also deploying the SQL Express along with my application. When both SQL Express & my application has been installed, in a custom action, i attach my database to that SQL Express,create a login and user account. I also give SYSADMIN role to my created account. At the end, i set the authentication mode of my SQL Express to SQL Server only(i.e. Normal or Standard). Now when i try to connect to that database using my created account, it gives error message:

"Login failed for user <user name="">. The user is not associated with trusted SQL Server connection."

with Error no. 18452 Level 14 State 1. On the internet, i have searched for the solution of this problem, but they only say that you should change the authentication mode of your SQL Express from Windows to Mixed. I did that( as last step of my installer's custom action). But that did not work also.

Another important point is that, I am using standard SQL Server 2005 for accessing SQL Express. There it shows its authentication mode of SQL Express correctly as SQL Server's authentication after i have changed it in custom action. But it also does not allow to login using that user name and login. Also if i create any account using SQL Server Management Studio in SQL Express, that account is also unable to login using SQL Server's authentication.

Please help me to solve that problem. Any suggetion, any link etc...


Regards,
Wasif Ehsan.
AnswerRe: Problem "The user is not associated with trusted SQL Server connection". Pin
Christian Graus5-Aug-06 0:20
protectorChristian Graus5-Aug-06 0:20 
QuestionDeployment package - Windows service + web app VS2003 Pin
abcxyz824-Aug-06 23:29
abcxyz824-Aug-06 23:29 
QuestionPrinting Problem . Pin
hdv2124-Aug-06 23:24
hdv2124-Aug-06 23:24 
QuestionReport generator ... Pin
mostafa_h4-Aug-06 22:51
mostafa_h4-Aug-06 22:51 
AnswerRe: Report generator ... Pin
WillemM5-Aug-06 23:42
WillemM5-Aug-06 23:42 
GeneralRe: Report generator ... Pin
mostafa_h6-Aug-06 7:49
mostafa_h6-Aug-06 7:49 
GeneralRe: Report generator ... Pin
WillemM6-Aug-06 7:57
WillemM6-Aug-06 7:57 
GeneralRe: Report generator ... Pin
mostafa_h6-Aug-06 9:34
mostafa_h6-Aug-06 9:34 
QuestionStruct Arrays Pin
Stephen_Mc4-Aug-06 21:57
Stephen_Mc4-Aug-06 21:57 
AnswerRe: Struct Arrays Pin
Guffa4-Aug-06 22:43
Guffa4-Aug-06 22:43 
GeneralRe: Struct Arrays Pin
Stephen_Mc6-Aug-06 14:17
Stephen_Mc6-Aug-06 14:17 
QuestionBarcode Application Pin
yousafzai4-Aug-06 21:40
yousafzai4-Aug-06 21:40 
AnswerRe: Barcode Application Pin
stancrm4-Aug-06 22:35
stancrm4-Aug-06 22:35 
Questionhow to add EventHandlers? Pin
yousafzai4-Aug-06 21:38
yousafzai4-Aug-06 21:38 
AnswerRe: how to add EventHandlers? Pin
Stefan Troschuetz4-Aug-06 21:52
Stefan Troschuetz4-Aug-06 21:52 
QuestionComponent with context menu on design mode ? Pin
Ariston Darmayuda4-Aug-06 20:54
Ariston Darmayuda4-Aug-06 20:54 
QuestionRichtext box Ctrl + I Pin
AB77714-Aug-06 20:22
AB77714-Aug-06 20:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.