Click here to Skip to main content
15,887,485 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: File Access Problem Pin
Vasudevan Deepak Kumar27-May-08 19:03
Vasudevan Deepak Kumar27-May-08 19:03 
AnswerRe: File Access Problem Pin
eyeseetee27-May-08 21:40
eyeseetee27-May-08 21:40 
QuestionUpdatePanel Issue Pin
DotNetXenon27-May-08 16:27
DotNetXenon27-May-08 16:27 
AnswerRe: UpdatePanel Issue [modified] Pin
Sandeep Akhare27-May-08 20:04
Sandeep Akhare27-May-08 20:04 
QuestionDynamically Changing DropDownList Values Pin
elexar27-May-08 10:15
elexar27-May-08 10:15 
AnswerRe: Dynamically Changing DropDownList Values Pin
elexar27-May-08 10:18
elexar27-May-08 10:18 
AnswerRe: Dynamically Changing DropDownList Values Pin
led mike27-May-08 11:08
led mike27-May-08 11:08 
Question.NET DNS.GetHostEntry Quirk Pin
boostmr227-May-08 7:11
boostmr227-May-08 7:11 
I am writing my own little DNS resolver class to use in hand with a proxy tester I am writing. Kind of an all in one solution. But the DNS portion keep throwing a socket exception for almost every site/domain you enter. A very good example is that entering www.google.com returns:

System.Net.Sockets.SocketException: No such host is known at System.Net.Dns.GetAddrInfo(String name) at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) at System.Net.Dns.GetHostEntry(String hostNameOrAddress) at WebTest.DNSTest.DNSLookup(String domain)

However, www.yahoo.com resolves with no issues. I have tried finding out exactly what DNS server the DNS class will use. I have verified the server this runs on has 2 of our internal dns servers configured. Maybe the DNS class doesn't like forwarded DNS queries? But there are no methods for specifying a server to query.


protected bool DNSLookup (string domain) {

try {
//performs the DNS lookup
IPHostEntry he = Dns.GetHostEntry(domain);
IPAddress[] ip_addrs = he.AddressList;
foreach (IPAddress ip in ip_addrs)
{
txtIPs.Text += ip + "<br>";
}
}
catch (Exception ex) {
txtIPs.Text += ex.ToString();
return false;
}
return true;
}
QuestionProblem with asp.net validators .net 2.0 Pin
ChrisFarrugia27-May-08 6:42
ChrisFarrugia27-May-08 6:42 
GeneralRe: Problem with asp.net validators .net 2.0 Pin
Krazy Programmer27-May-08 7:29
Krazy Programmer27-May-08 7:29 
AnswerRe: Problem with asp.net validators .net 2.0 Pin
VivekNema27-May-08 18:22
VivekNema27-May-08 18:22 
AnswerRe: Problem with asp.net validators .net 2.0 Pin
Ravi_2127-May-08 19:35
Ravi_2127-May-08 19:35 
QuestionDisplaying an image in a Datalist instead of a checkbox field? Pin
Nostrom027-May-08 6:32
Nostrom027-May-08 6:32 
QuestionASP.net to C#.net problem Pin
Verghese27-May-08 5:54
Verghese27-May-08 5:54 
AnswerRe: ASP.net to C#.net problem Pin
Christian Graus27-May-08 17:43
protectorChristian Graus27-May-08 17:43 
AnswerRe: ASP.net to C#.net problem Pin
Vasudevan Deepak Kumar27-May-08 19:04
Vasudevan Deepak Kumar27-May-08 19:04 
GeneralRe: ASP.net to C#.net problem Pin
Verghese29-May-08 6:26
Verghese29-May-08 6:26 
QuestionSQL "WHERE" Statement Boolean filtering Pin
Nostrom027-May-08 5:50
Nostrom027-May-08 5:50 
AnswerRe: SQL "WHERE" Statement Boolean filtering Pin
J4amieC27-May-08 6:15
J4amieC27-May-08 6:15 
GeneralRe: SQL "WHERE" Statement Boolean filtering Pin
Nostrom027-May-08 6:34
Nostrom027-May-08 6:34 
QuestionCrystal Reports Components Version Update (VS 2005 Prof Ed) Pin
Jay_se27-May-08 5:15
Jay_se27-May-08 5:15 
Questionhow can we set master page inside contentplaceholder of another masterpage Pin
Be_Aman27-May-08 4:33
Be_Aman27-May-08 4:33 
AnswerRe: how can we set master page inside contentplaceholder of another masterpage Pin
James Simpson28-May-08 4:24
James Simpson28-May-08 4:24 
Questionupgraded to vwd 2008 and framework3.5 Pin
eyeseetee27-May-08 4:24
eyeseetee27-May-08 4:24 
AnswerRe: upgraded to vwd 2008 and framework3.5 Pin
N a v a n e e t h27-May-08 6:27
N a v a n e e t h27-May-08 6:27 

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.