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

C#

 
RantRe: getting timeout expired error Pin
musefan24-Jul-09 2:08
musefan24-Jul-09 2:08 
AnswerRe: getting timeout expired error Pin
MumbleB24-Jul-09 2:46
MumbleB24-Jul-09 2:46 
AnswerRe: getting timeout expired error Pin
Dave Kreskowiak24-Jul-09 4:08
mveDave Kreskowiak24-Jul-09 4:08 
Answer1 lac = 100,000 : Re: getting timeout expired error Pin
BillWoodruff24-Jul-09 5:19
professionalBillWoodruff24-Jul-09 5:19 
QuestionInresponsive program during an Active Directory search. Pin
Hardus Lombaard24-Jul-09 1:42
Hardus Lombaard24-Jul-09 1:42 
AnswerRe: Inresponsive program during an Active Directory search. Pin
musefan24-Jul-09 2:02
musefan24-Jul-09 2:02 
AnswerRe: Inresponsive program during an Active Directory search. Pin
Abhijit Jana24-Jul-09 2:09
professionalAbhijit Jana24-Jul-09 2:09 
Questionconversion a jpg image in to 16 bit Pin
shekhar25839524-Jul-09 1:12
shekhar25839524-Jul-09 1:12 
QuestionDirectUIHWND Pin
Satish Pai24-Jul-09 0:17
Satish Pai24-Jul-09 0:17 
AnswerRe: DirectUIHWND Pin
stancrm24-Jul-09 0:32
stancrm24-Jul-09 0:32 
QuestionHow to use bytes in bytes buffer? Pin
Member 474292223-Jul-09 23:33
Member 474292223-Jul-09 23:33 
AnswerRe: How to use bytes in bytes buffer? Pin
DaveyM6923-Jul-09 23:39
professionalDaveyM6923-Jul-09 23:39 
GeneralRe: How to use bytes in bytes buffer? Pin
Member 474292223-Jul-09 23:41
Member 474292223-Jul-09 23:41 
AnswerRe: How to use bytes in bytes buffer? Pin
Muhammad Mazhar23-Jul-09 23:45
Muhammad Mazhar23-Jul-09 23:45 
GeneralRe: How to use bytes in bytes buffer? Pin
Member 474292223-Jul-09 23:52
Member 474292223-Jul-09 23:52 
GeneralRe: How to use bytes in bytes buffer? Pin
harold aptroot24-Jul-09 4:06
harold aptroot24-Jul-09 4:06 
GeneralRe: How to use bytes in bytes buffer? Pin
musefan24-Jul-09 0:03
musefan24-Jul-09 0:03 
GeneralRe: How to use bytes in bytes buffer? Pin
Member 474292224-Jul-09 1:14
Member 474292224-Jul-09 1:14 
AnswerRe: How to use bytes in bytes buffer? Pin
0x3c024-Jul-09 0:39
0x3c024-Jul-09 0:39 
AnswerRe: How to use bytes in bytes buffer? Pin
Luc Pattyn24-Jul-09 0:49
sitebuilderLuc Pattyn24-Jul-09 0:49 
QuestionHow to make a Component like MSN status label? Pin
Don.Y23-Jul-09 23:19
Don.Y23-Jul-09 23:19 
AnswerRe: How to make a Component like MSN status label? Pin
DaveyM6923-Jul-09 23:21
professionalDaveyM6923-Jul-09 23:21 
AnswerRe: How to make a Component like MSN status label? Pin
Muhammad Mazhar23-Jul-09 23:38
Muhammad Mazhar23-Jul-09 23:38 
AnswerRe: How to make a Component like MSN status label? Pin
Tamer Oz24-Jul-09 0:21
Tamer Oz24-Jul-09 0:21 
Questiona strange problem with windows service Pin
saeidfarahi23-Jul-09 22:53
saeidfarahi23-Jul-09 22:53 
this question is a mixture of sql and c# windows services...
i have a windows service which connects to COM1 port(serial port) and writes the data into a sql db. i have an installer which installs the service and run it immidiatly after setup is completed , but stops very soon because of this error which appears in event log :
provide : named pipes provider . error 40 - could not connect to sql server
i have installed sql server 2005 (not express ed) and the connection string
in my service is :
Confused | :confused:
string _connectionstring =
"server=" + Environment.MachineName +";Initial Catalog=myDatabase;"+
"user id=myLogin;password=myPassword;trusted_connection = true;";

i have tested this connection string in a simple windows form and it works!
please notice that this sql server and windows service are working on local computer , not a network. OMG | :OMG:

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.