Click here to Skip to main content
15,902,741 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionComparing 2 date values in Java Script Pin
Vipul Mehta26-Aug-06 3:06
Vipul Mehta26-Aug-06 3:06 
AnswerRe: Comparing 2 date values in Java Script Pin
Guffa26-Aug-06 3:49
Guffa26-Aug-06 3:49 
QuestionRegarding configuring your application on iis Pin
VishalSharmaDev26-Aug-06 1:20
VishalSharmaDev26-Aug-06 1:20 
QuestionConnection String Failing. Pin
japel26-Aug-06 0:48
japel26-Aug-06 0:48 
AnswerRe: Connection String Failing. Pin
Jakob Farian Krarup26-Aug-06 2:27
Jakob Farian Krarup26-Aug-06 2:27 
QuestionRe: Connection String Failing. Pin
japel26-Aug-06 12:26
japel26-Aug-06 12:26 
AnswerRe: Connection String Failing. Pin
Jakob Farian Krarup26-Aug-06 21:20
Jakob Farian Krarup26-Aug-06 21:20 
QuestionWeb service problem Pin
-Yoyosh-26-Aug-06 0:13
-Yoyosh-26-Aug-06 0:13 
I tried to make as simple example using web service as possible:

- I created a web service project from the templated installed in VS2005
- I mark it as a virtual directory and put it under C:\Inetpub\wwwroot directory
- I created a windows application, and added web reference to http://83.175.131.18/MartinezService/Service.asmx (you may try that yourself)
- Then I tested it with:

 privatevoid Form1_Load(object sender, EventArgs e)<br />
<br />
{<br />
<br />
MartinezService.Service s = new WindowsApplication1.MartinezService.Service();<br />
<br />
MessageBox.Show(s.HelloWorld());<br />
<br />
}


It worked perfectly.

But when I send this windows application to my friend and ask him to execute it, he got the following error:

System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: Próba przeprowadzenia operacji, wykonywanej przez gniazdo, na nieosi¹galnym hoœcie (try to perform an operation on non-reachable host)<br />
  at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)<br />
  at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)<br />
  at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)<br />
  --- End of inner exception stack trace ---<br />
  at System.Net.HttpWebRequest.GetRequestStream()<br />
  at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)<br />
  at WindowsApplication1.MartinezService.Service.HelloWorld() in D:\C# WORKSPACE\WindowsApplication1\WindowsApplication1\Web References\MartinezService\Reference.cs:line 78<br />
  at WindowsApplication1.Form1.Form1_Load(Object sender, EventArgs e) in D:\C# WORKSPACE\WindowsApplication1\WindowsApplication1\Form1.cs:line 21<br />
  at System.Windows.Forms.Form.OnLoad(EventArgs e)<br />
  at System.Windows.Forms.Form.OnCreateControl()<br />
  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)<br />
  at System.Windows.Forms.Control.CreateControl()<br />
  at System.Windows.Forms.Control.WmShowWindow(Message& m)<br />
  at System.Windows.Forms.Control.WndProc(Message& m)<br />
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)<br />
  at System.Windows.Forms.ContainerControl.WndProc(Message& m)<br />
  at System.Windows.Forms.Form.WmShowWindow(Message& m)<br />
  at System.Windows.Forms.Form.WndProc(Message& m)<br />
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)<br />
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)<br />
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br />
<br />


Can someone help me?

Thank you very much in advance
QuestionReorder the rows in datagrid Pin
Amit Agarrwal26-Aug-06 0:02
Amit Agarrwal26-Aug-06 0:02 
AnswerRe: Reorder the rows in datagrid [modified] Pin
Jakob Farian Krarup26-Aug-06 1:44
Jakob Farian Krarup26-Aug-06 1:44 
Questiondynamically adding webparts [modified] Pin
ketan.raval25-Aug-06 23:30
ketan.raval25-Aug-06 23:30 
Questionmultiline text box in grid on edit command Pin
Arch22k25-Aug-06 22:44
Arch22k25-Aug-06 22:44 
AnswerRe: multiline text box in grid on edit command Pin
MIHAI_MTZ26-Aug-06 3:18
MIHAI_MTZ26-Aug-06 3:18 
AnswerRe: multiline text box in grid on edit command Pin
postmaster@programmingknowledge.com26-Aug-06 7:26
postmaster@programmingknowledge.com26-Aug-06 7:26 
Questionhow to refresh list in dropdownlist Pin
Kissy1625-Aug-06 20:18
Kissy1625-Aug-06 20:18 
AnswerRe: how to refresh list in dropdownlist Pin
postmaster@programmingknowledge.com26-Aug-06 7:31
postmaster@programmingknowledge.com26-Aug-06 7:31 
Questionconversion from one language to another Pin
chippu25-Aug-06 18:55
chippu25-Aug-06 18:55 
AnswerRe: conversion from one language to another Pin
Guffa25-Aug-06 21:07
Guffa25-Aug-06 21:07 
GeneralRe: Translation from one language to another Pin
chippu27-Aug-06 7:41
chippu27-Aug-06 7:41 
QuestionWeb Scanning in ASP.NET [modified] Pin
ajlaluan25-Aug-06 17:21
ajlaluan25-Aug-06 17:21 
QuestionTEXT Box and Label Allign question Pin
kalyanPaladugu25-Aug-06 11:01
kalyanPaladugu25-Aug-06 11:01 
QuestionFetch web page programatically. Pin
eggsovereasy25-Aug-06 8:38
eggsovereasy25-Aug-06 8:38 
AnswerRe: Fetch web page programatically. Pin
Not Active25-Aug-06 8:51
mentorNot Active25-Aug-06 8:51 
GeneralRe: Fetch web page programatically. Pin
eggsovereasy25-Aug-06 10:32
eggsovereasy25-Aug-06 10:32 
QuestionData Controls and CSS Styles Pin
packerfan190425-Aug-06 8:05
packerfan190425-Aug-06 8:05 

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.