Click here to Skip to main content
15,899,314 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionUpload Image Error Pin
sabaMCA18-Jun-08 10:15
sabaMCA18-Jun-08 10:15 
AnswerRe: Upload Image Error Pin
Bursh.18-Jun-08 10:33
Bursh.18-Jun-08 10:33 
Questionproblem with WebUserControl Pin
sabaMCA18-Jun-08 10:09
sabaMCA18-Jun-08 10:09 
AnswerRe: problem with WebUserControl Pin
Bursh.18-Jun-08 10:32
Bursh.18-Jun-08 10:32 
QuestionDLL and contents not registering when on server Pin
Bursh.18-Jun-08 10:06
Bursh.18-Jun-08 10:06 
QuestionMenu control and CSS problem, please help Pin
orsini18-Jun-08 8:46
orsini18-Jun-08 8:46 
QuestionHandling redirect errors from web services Pin
shefali_sinha18-Jun-08 8:10
shefali_sinha18-Jun-08 8:10 
QuestionHttpWebRequest Pin
Ayman Mashal18-Jun-08 4:48
Ayman Mashal18-Jun-08 4:48 
Hi ,

i am trying to retreive an xml doc from another server on the same domain where my computer resides

i am using HttpWebRequest from c# code but i am getting the below error

how can i solve this problem without hardcoding a user name and password in the code ?

thanks

<small>
The remote server returned an error: (401) Unauthorized. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Net.WebException: The remote server returned an error: (401) Unauthorized.

Source Error: 


Line 41: 
Line 42: 			//From here on, it's all the same as above.
Line 43: 			HttpWebResponse WebResp = (HttpWebResponse)WebReq.GetResponse();
Line 44: 			//Let's show some information about the response
Line 45: 			Console.WriteLine(WebResp.StatusCode);
 
</small>

AnswerRe: HttpWebRequest Pin
ToddHileHoffer18-Jun-08 5:02
ToddHileHoffer18-Jun-08 5:02 
QuestionGet Colors from Image Pin
Member 343561418-Jun-08 4:32
Member 343561418-Jun-08 4:32 
AnswerRe: Get Colors from Image Pin
ToddHileHoffer18-Jun-08 4:47
ToddHileHoffer18-Jun-08 4:47 
GeneralRe: Get Colors from Image Pin
Member 343561418-Jun-08 4:54
Member 343561418-Jun-08 4:54 
GeneralRe: Get Colors from Image Pin
ToddHileHoffer18-Jun-08 5:01
ToddHileHoffer18-Jun-08 5:01 
AnswerRe: Get Colors from Image Pin
Guffa18-Jun-08 10:00
Guffa18-Jun-08 10:00 
QuestionAdd 2 values in Repeater Pin
butchzn18-Jun-08 4:06
butchzn18-Jun-08 4:06 
AnswerRe: Add 2 values in Repeater Pin
ToddHileHoffer18-Jun-08 4:12
ToddHileHoffer18-Jun-08 4:12 
GeneralRe: Add 2 values in Repeater Pin
butchzn19-Jun-08 4:59
butchzn19-Jun-08 4:59 
QuestionPeeking an object from the cache Pin
Waleed Eissa18-Jun-08 4:05
Waleed Eissa18-Jun-08 4:05 
QuestionHelp with Web Browser Pin
mrsLeigh18-Jun-08 3:56
mrsLeigh18-Jun-08 3:56 
AnswerRe: Help with Web Browser Pin
ToddHileHoffer18-Jun-08 4:03
ToddHileHoffer18-Jun-08 4:03 
Questionconvert hex string color to rgb color in code behind Pin
Member 343561418-Jun-08 3:47
Member 343561418-Jun-08 3:47 
AnswerRe: convert hex string color to rgb color in code behind Pin
ToddHileHoffer18-Jun-08 3:54
ToddHileHoffer18-Jun-08 3:54 
GeneralRe: convert hex string color to rgb color in code behind Pin
Member 343561418-Jun-08 4:07
Member 343561418-Jun-08 4:07 
QuestionPlacing a line between two images Pin
dayakar_dn18-Jun-08 3:37
dayakar_dn18-Jun-08 3:37 
AnswerRe: Placing a line between two images Pin
ToddHileHoffer18-Jun-08 3:49
ToddHileHoffer18-Jun-08 3:49 

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.