Click here to Skip to main content
15,888,816 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSunday dates in Datagrid ............... Pin
Member 387988118-Mar-07 18:38
Member 387988118-Mar-07 18:38 
AnswerRe: Sunday dates in Datagrid ............... Pin
Sun Rays18-Mar-07 20:08
Sun Rays18-Mar-07 20:08 
Questionxslt.Transform Pin
tonymathewt18-Mar-07 18:14
professionaltonymathewt18-Mar-07 18:14 
AnswerRe: xslt.Transform Pin
DavidNohejl18-Mar-07 23:09
DavidNohejl18-Mar-07 23:09 
Questionrepeater controll Pin
Tauseef A18-Mar-07 13:07
Tauseef A18-Mar-07 13:07 
AnswerLots of ways Pin
Sun Rays18-Mar-07 20:13
Sun Rays18-Mar-07 20:13 
AnswerRe: repeater controll Pin
Ziyad Mohammad18-Mar-07 20:22
Ziyad Mohammad18-Mar-07 20:22 
Questioncan't make otbound connections Pin
Mridang Agarwalla18-Mar-07 8:11
Mridang Agarwalla18-Mar-07 8:11 
Hi guys,
I'm developing a small site for someone who made the mistake of hosting with GoDaddy. I am unable to make any outbound connections for WebRequest and stuff from Godaddy.

<br />
<br />
String strResult;<br />
<br />
WebResponse objResponse;<br />
<br />
WebRequest objRequest =<br />
System.Net.HttpWebRequest.Create("http://www.google.com");<br />
<br />
objRequest.Proxy = new<br />
WebProxy("https://64.202.165.130:3128");<br />
<br />
//objRequest.Proxy = new<br />
WebProxy("https://64.202.165.130:3128");<br />
<br />
//objRequest.Proxy = new<br />
WebProxy("http://wc-v01.inet.mesa1.gdg:3128");<br />
<br />
//objRequest.Proxy = new<br />
WebProxy("https://wc-v01.inet.mesa1.gdg:3128");<br />
<br />
objResponse = objRequest.GetResponse();<br />
<br />
// the using keyword will automatically<br />
dispose the object <br />
<br />
// once complete<br />
<br />
using (StreamReader sr = new<br />
StreamReader(objResponse.GetResponseStream()))<br />
<br />
{<br />
<br />
strResult = sr.ReadToEnd();<br />
<br />
// Close and clean up the<br />
StreamReader<br />
<br />
sr.Close();<br />
<br />
}<br />
<br />
Response.Write(strResult);<br />
<br />



I used that code to test f I could make outbound connections. On my IIS it worked fine but when I uploaded it gave "Could not connect kind of error". I did comment out all the Proxy code when I ran it on my IIS. GoDaddy has a Proxy server. I've tried all combinations to make it work but it doesn't. GoDaddy claims its a coding error. Is there a simpler code to test whether I ca n make outbound connections froma particular server or something.
Questiondraw on web form Pin
no need to tell name18-Mar-07 8:10
no need to tell name18-Mar-07 8:10 
GeneralRe: draw on web form Pin
Guffa18-Mar-07 8:46
Guffa18-Mar-07 8:46 
GeneralRe: draw on web form Pin
no need to tell name18-Mar-07 9:06
no need to tell name18-Mar-07 9:06 
GeneralRe: draw on web form Pin
Guffa18-Mar-07 23:28
Guffa18-Mar-07 23:28 
GeneralRe: draw on web form Pin
no need to tell name21-Mar-07 10:53
no need to tell name21-Mar-07 10:53 
AnswerRe: draw on web form Pin
Guffa21-Mar-07 21:43
Guffa21-Mar-07 21:43 
Questionupload xml file Pin
Marwa Bahaa18-Mar-07 4:56
Marwa Bahaa18-Mar-07 4:56 
AnswerRe: upload xml file Pin
Vasudevan Deepak Kumar19-Mar-07 5:37
Vasudevan Deepak Kumar19-Mar-07 5:37 
Questioni want to shar som val Pin
Ahmed El-Badry18-Mar-07 4:20
Ahmed El-Badry18-Mar-07 4:20 
AnswerRe: i want to shar som val Pin
Guffa18-Mar-07 4:42
Guffa18-Mar-07 4:42 
GeneralRe: i want to shar som val Pin
Ahmed El-Badry18-Mar-07 4:48
Ahmed El-Badry18-Mar-07 4:48 
AnswerRe: i want to shar som val Pin
Guffa18-Mar-07 5:14
Guffa18-Mar-07 5:14 
GeneralRe: i want to shar som val Pin
Ahmed El-Badry18-Mar-07 5:26
Ahmed El-Badry18-Mar-07 5:26 
AnswerRe: i want to shar som val Pin
Guffa18-Mar-07 5:51
Guffa18-Mar-07 5:51 
GeneralRe: i want to shar som val Pin
Ahmed El-Badry18-Mar-07 7:19
Ahmed El-Badry18-Mar-07 7:19 
QuestionCSS Pin
monirkuet2418-Mar-07 2:06
monirkuet2418-Mar-07 2:06 
QuestionCollapsible panel extender Pin
yogita charhate17-Mar-07 23:59
yogita charhate17-Mar-07 23:59 

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.