Click here to Skip to main content
15,916,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem with MemorySream Pin
wesch3-Jul-07 2:37
wesch3-Jul-07 2:37 
AnswerRe: Problem with MemorySream Pin
Luc Pattyn3-Jul-07 2:42
sitebuilderLuc Pattyn3-Jul-07 2:42 
QuestionMagnification Algorithm Pin
free_soul4243-Jul-07 1:38
free_soul4243-Jul-07 1:38 
AnswerRe: Magnification Algorithm [modified] Pin
small_programmer3-Jul-07 3:19
small_programmer3-Jul-07 3:19 
GeneralRe: Magnification Algorithm Pin
free_soul4244-Jul-07 7:42
free_soul4244-Jul-07 7:42 
QuestionPrinting dynamically in C#.net window application Pin
kk_upadhyay3-Jul-07 1:25
kk_upadhyay3-Jul-07 1:25 
AnswerRe: Printing dynamically in C#.net window application Pin
originSH3-Jul-07 1:32
originSH3-Jul-07 1:32 
QuestionWindows Authentification Problem. Pin
lygine ng lee chuang3-Jul-07 1:22
lygine ng lee chuang3-Jul-07 1:22 
Hi there,
I encountered some authentification issue.I have a window application in C#, having program which is calling web services, but I receive a log file said "Error Message: The remote server returned an error: (401) Unauthorized.". What I need to do is to pass credential of NT Login ID and password, then only I am able to access the websservice. Can anyone walk through my coding, any line or command is missing? How i can pass the credential along?

...
string boundaryString = Guid.NewGuid().ToString("N");
string boundaryLine = "--" + boundaryString + "\r\n";
Uri uri = new Uri(requestUri);
HttpWebRequest request;
request = (HttpWebRequest)WebRequest.Create(uri);
request.Credentials = System.Net.CredentialCache.DefaultCredentials;
request.ContentType = "text/plain; boundary=" + boundaryString;
request.Method = "POST";
...

thanks,
Lee Chuang
AnswerRe: Windows Authentification Problem. Pin
originSH3-Jul-07 1:34
originSH3-Jul-07 1:34 
GeneralRe: Windows Authentification Problem. Pin
lygine ng lee chuang3-Jul-07 2:11
lygine ng lee chuang3-Jul-07 2:11 
Questionreporting Pin
omarikom3-Jul-07 0:40
omarikom3-Jul-07 0:40 
AnswerRe: reporting Pin
Sathesh Sakthivel3-Jul-07 1:11
Sathesh Sakthivel3-Jul-07 1:11 
QuestionError: 80045901 Initializing SQL Server Reconciler failed. Minor error: 29045. Pin
fakhirov3-Jul-07 0:39
fakhirov3-Jul-07 0:39 
AnswerRe: Error: 80045901 Initializing SQL Server Reconciler failed. Minor error: 29045. Pin
Sathesh Sakthivel3-Jul-07 1:09
Sathesh Sakthivel3-Jul-07 1:09 
Questiontx text control Pin
WhiteGirl233-Jul-07 0:09
WhiteGirl233-Jul-07 0:09 
AnswerRe: tx text control Pin
Giorgi Dalakishvili3-Jul-07 0:13
mentorGiorgi Dalakishvili3-Jul-07 0:13 
Questionado.net 2 select Pin
Glen Harvy2-Jul-07 23:21
Glen Harvy2-Jul-07 23:21 
AnswerRe: ado.net 2 select Pin
Urs Enzler2-Jul-07 23:28
Urs Enzler2-Jul-07 23:28 
GeneralRe: ado.net 2 select Pin
Colin Angus Mackay2-Jul-07 23:31
Colin Angus Mackay2-Jul-07 23:31 
GeneralRe: ado.net 2 select Pin
Glen Harvy2-Jul-07 23:51
Glen Harvy2-Jul-07 23:51 
AnswerRe: ado.net 2 select Pin
Colin Angus Mackay2-Jul-07 23:30
Colin Angus Mackay2-Jul-07 23:30 
GeneralRe: ado.net 2 select Pin
Glen Harvy2-Jul-07 23:53
Glen Harvy2-Jul-07 23:53 
Questioncontrol Pin
sangramkp2-Jul-07 23:06
sangramkp2-Jul-07 23:06 
AnswerRe: control Pin
Martin#2-Jul-07 23:42
Martin#2-Jul-07 23:42 
GeneralRe: control Pin
sangramkp2-Jul-07 23:50
sangramkp2-Jul-07 23:50 

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.