Click here to Skip to main content
15,911,531 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Bind Value in Datagrid Pin
Sathesh Sakthivel25-Mar-07 20:08
Sathesh Sakthivel25-Mar-07 20:08 
AnswerRe: Bind Value in Datagrid Pin
varshavmane25-Mar-07 20:11
varshavmane25-Mar-07 20:11 
QuestionValidation not working on live server Pin
girishdonde25-Mar-07 20:03
girishdonde25-Mar-07 20:03 
AnswerRe: Validation not working on live server Pin
Abolfazl Sheikhloo25-Mar-07 20:55
Abolfazl Sheikhloo25-Mar-07 20:55 
QuestionReading Inbox of Outlook Pin
varshavmane25-Mar-07 19:58
varshavmane25-Mar-07 19:58 
QuestionCount user visit in website Pin
ScottZu25-Mar-07 19:57
ScottZu25-Mar-07 19:57 
AnswerRe: Count user visit in website Pin
Sathesh Sakthivel25-Mar-07 20:01
Sathesh Sakthivel25-Mar-07 20:01 
QuestionAsynchronous web service access problem. Pin
AmitChampaneri25-Mar-07 19:35
AmitChampaneri25-Mar-07 19:35 
I have created one very simple web service say helloWorld which accepts one string and concate with "Hello" word.and its located in my localhost only.

Here is some behavour with it.
(1) i can access this web service synchronously without an issue.like

Dim webServ As New localhost.Service
Response.Write(webServ.HelloWorld(TextBox1.Text))

(2)now i am trying to call it asynchronously. Like this

Dim ar As IAsyncResult = webServ.BeginHelloWorld(TextBox1.Text, Nothing, Nothing)
While (True)
If ar.IsCompleted Then
Exit While
End If
End While
Response.Write(webServ.EndHelloWorld(ar))


(3) Now this code is executes file on the other machine i have ,but is not been able to call on my machine.I am receiving following error on the execution of above code.

The attempted operation is not supported for the type of object referenced

" at System.Net.Sockets.Socket.get_ConnectEx()
at System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state)
at System.Net.Sockets.Socket.UnsafeBeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)"

System.Net.WebException = {"Unable to connect to the remote server"}

(4) i done long googling but could'nt get the exact solution.

(5) I also tried by removing my framework 2.0 ,visual studio 2005 and IIS as well.

(6) Some blogs says its network error,i also tried by repairing my network drivers but problem persists as it is.

(7) Some blogs also suggested that i do have third party network protocols and that may causes the blocking of Http Request for async. call.then i also removed all such softwares from my machine,but the same result.

I am very frustated with this issue and hampered my development.
Any kind of help is most welcomed.
lots thanks in advance.

QuestionWebservice Tutorial Pin
siddisagar25-Mar-07 19:23
siddisagar25-Mar-07 19:23 
AnswerRe: Webservice Tutorial Pin
Sathesh Sakthivel25-Mar-07 19:26
Sathesh Sakthivel25-Mar-07 19:26 
QuestionString to integer Conversion Pin
Kissy1625-Mar-07 19:20
Kissy1625-Mar-07 19:20 
AnswerRe: String to integer Conversion Pin
VaibhavTiparadi25-Mar-07 19:31
VaibhavTiparadi25-Mar-07 19:31 
GeneralRe: String to integer Conversion [modified] Pin
Kissy1625-Mar-07 20:07
Kissy1625-Mar-07 20:07 
GeneralRe: String to integer Conversion Pin
VaibhavTiparadi25-Mar-07 20:29
VaibhavTiparadi25-Mar-07 20:29 
AnswerRe: String to integer Conversion Pin
Muhammad Faisal Khanani25-Mar-07 19:36
Muhammad Faisal Khanani25-Mar-07 19:36 
GeneralRe: String to integer Conversion Pin
Kissy1625-Mar-07 21:19
Kissy1625-Mar-07 21:19 
GeneralRe: String to integer Conversion Pin
VaibhavTiparadi25-Mar-07 21:30
VaibhavTiparadi25-Mar-07 21:30 
GeneralRe: String to integer Conversion Pin
Kissy1625-Mar-07 21:57
Kissy1625-Mar-07 21:57 
GeneralRe: String to integer Conversion Pin
VaibhavTiparadi25-Mar-07 23:14
VaibhavTiparadi25-Mar-07 23:14 
GeneralRe: String to integer Conversion Pin
Muhammad Faisal Khanani25-Mar-07 23:56
Muhammad Faisal Khanani25-Mar-07 23:56 
QuestionConnection to Access 2007 Database Pin
Paul McGann25-Mar-07 9:25
professionalPaul McGann25-Mar-07 9:25 
AnswerRe: Connection to Access 2007 Database Pin
StianSandberg25-Mar-07 12:03
StianSandberg25-Mar-07 12:03 
QuestionMSHTML error Pin
Vitor Hugo Barros25-Mar-07 7:25
Vitor Hugo Barros25-Mar-07 7:25 
QuestionPassing windows authentication between different sites Pin
vaibhav_vartak25-Mar-07 7:17
vaibhav_vartak25-Mar-07 7:17 
QuestionIP address Pin
hariram2825-Mar-07 6:58
hariram2825-Mar-07 6:58 

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.