nisha_k
July 4th, 2006, 03:02 AM
hi,
i have an query,im working on webportal in asp.net.Basically i have to keep track of remote machine shutdown or up,For this i take input of DNS and connect to that particular server domain from there i know status of machine,this application working fine in INTRANET but when i host this application on INTERNET it will not work when user input the DNS address of that particular server it will not connect and give error,i will show error below.If my concept is wrong to connect the server then please reply of my query how to connect to remote server.please reply ASAP.
error is:-
Server Error in '/' Application.
--------------------------------------------------------------------------------
The requested name is valid, but no data of the requested type was found
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.Sockets.SocketException: The requested name is valid, but no data of the requested type was found
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SocketException (0x2afc): The requested name is valid, but no data of the requested type was found]
System.Net.Dns.GetHostByAddress(IPAddress address) +264
System.Net.Dns.GetHostByAddress(String address) +65
try_web.WebForm2.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\try_web\webform2.aspx.cs:81
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292
i have an query,im working on webportal in asp.net.Basically i have to keep track of remote machine shutdown or up,For this i take input of DNS and connect to that particular server domain from there i know status of machine,this application working fine in INTRANET but when i host this application on INTERNET it will not work when user input the DNS address of that particular server it will not connect and give error,i will show error below.If my concept is wrong to connect the server then please reply of my query how to connect to remote server.please reply ASAP.
error is:-
Server Error in '/' Application.
--------------------------------------------------------------------------------
The requested name is valid, but no data of the requested type was found
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.Sockets.SocketException: The requested name is valid, but no data of the requested type was found
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SocketException (0x2afc): The requested name is valid, but no data of the requested type was found]
System.Net.Dns.GetHostByAddress(IPAddress address) +264
System.Net.Dns.GetHostByAddress(String address) +65
try_web.WebForm2.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\try_web\webform2.aspx.cs:81
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292