Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regarding a line in code Pin
Richard Deeming6-Dec-22 1:08
mveRichard Deeming6-Dec-22 1:08 
GeneralRe: Regarding a line in code Pin
BillWoodruff6-Dec-22 1:29
professionalBillWoodruff6-Dec-22 1:29 
GeneralRe: Regarding a line in code Pin
Richard MacCutchan6-Dec-22 1:34
mveRichard MacCutchan6-Dec-22 1:34 
GeneralRe: Regarding a line in code Pin
BillWoodruff6-Dec-22 1:43
professionalBillWoodruff6-Dec-22 1:43 
GeneralRe: Regarding a line in code Pin
Richard MacCutchan6-Dec-22 2:03
mveRichard MacCutchan6-Dec-22 2:03 
QuestionMessage Closed Pin
29-Nov-22 0:17
zystein29-Nov-22 0:17 
AnswerRe: A Problem about Collections Pin
Richard MacCutchan29-Nov-22 0:50
mveRichard MacCutchan29-Nov-22 0:50 
AnswerRe: A Problem about Collections Pin
OriginalGriff29-Nov-22 1:47
mveOriginalGriff29-Nov-22 1:47 
QuestionSimple Broadcast Message on Local Host Pin
CodaNV28-Nov-22 21:49
CodaNV28-Nov-22 21:49 
AnswerRe: Simple Broadcast Message on Local Host Pin
OriginalGriff28-Nov-22 23:04
mveOriginalGriff28-Nov-22 23:04 
GeneralRe: Simple Broadcast Message on Local Host Pin
CodaNV28-Nov-22 23:34
CodaNV28-Nov-22 23:34 
GeneralRe: Simple Broadcast Message on Local Host Pin
jschell29-Nov-22 6:27
jschell29-Nov-22 6:27 
AnswerRe: Simple Broadcast Message on Local Host Pin
Richard Deeming28-Nov-22 23:09
mveRichard Deeming28-Nov-22 23:09 
GeneralRe: Simple Broadcast Message on Local Host Pin
CodaNV28-Nov-22 23:37
CodaNV28-Nov-22 23:37 
AnswerRe: Simple Broadcast Message on Local Host Pin
Gerry Schmitz1-Dec-22 5:27
mveGerry Schmitz1-Dec-22 5:27 
AnswerRe: Simple Broadcast Message on Local Host Pin
CodaNV11-Dec-22 16:09
CodaNV11-Dec-22 16:09 
QuestionMy winform resize when i open an OleDbConnection Pin
Le@rner27-Nov-22 18:42
Le@rner27-Nov-22 18:42 
AnswerRe: My winform resize when i open an OleDbConnection Pin
Pete O'Hanlon27-Nov-22 21:30
mvePete O'Hanlon27-Nov-22 21:30 
QuestionConcurrent Containers Pin
Richard Andrew x6424-Nov-22 14:47
professionalRichard Andrew x6424-Nov-22 14:47 
AnswerRe: Concurrent Containers Pin
Richard Deeming24-Nov-22 22:02
mveRichard Deeming24-Nov-22 22:02 
GeneralRe: Concurrent Containers Pin
Richard Andrew x6425-Nov-22 2:18
professionalRichard Andrew x6425-Nov-22 2:18 
AnswerRe: Concurrent Containers Pin
Gerry Schmitz25-Nov-22 5:10
mveGerry Schmitz25-Nov-22 5:10 
GeneralRe: Concurrent Containers Pin
Richard Andrew x6425-Nov-22 5:24
professionalRichard Andrew x6425-Nov-22 5:24 
QuestionEntity Framework Core 6 Problem Pin
Kevin Marois24-Nov-22 9:01
professionalKevin Marois24-Nov-22 9:01 
AnswerRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak24-Nov-22 9:41
mveDave Kreskowiak24-Nov-22 9:41 
Where did it get "kevin" from? That's the account you logged into Windows as. "Integrated Security" means use the Windows account the code is running as.

The error message is blatantly obvious: "Cannot open database "Test" requested by the login. The login failed.
Login failed for user 'MAROIS_KEVIN_1\kevin'."

You SQL Server doesn't know who "kevin using a Windows Account" is. You have to go into SQL Server Manager to correctly setup a Windows Login account in your SQL Server Security and give it appropriate permissions to the database and tables as appropriate for your situation.

If you haven't created the database yet and are relying on EF to do it for you, you have to give your account admin permissions to the SQL Server so YOU can create databases on the server.

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.