473,385 Members | 1,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

XML web service error

Dear all,
I have a webservice project running on Computer A.
I am calling a webmethod from this web service from an asp.net project on computer B, it is working correctly.
But the problem is when i am trying to call the same webmethod from another asp.net project on the computer B, i am receiving this error:
The underlying connection was closed: Unable to connect to the remote server.
it is not a security problem or configuration since the same webmethod is working on the first asp.net project

Can anyone help, thanks.
Jul 31 '06 #1
6 1759
dotnet
22
try manually hitting the web service... this exception usually comes whenever there is some problem in network connectivity.



Regards
Aug 1 '06 #2
try manually hitting the web service... this exception usually comes whenever there is some problem in network connectivity.



Regards
Use remote virtual directory name instead of using localhost
Mar 9 '07 #3
dorinbogdan
839 Expert 512MB
Hi,
Did you succeed to solve the problem ?
If yes, please let me know, in order to close the thread.
Thanks,
Dorin.
Mar 21 '07 #4
I face a similar problem. The scenario at my end is like this:

Machine A - Deployed Web Service1
Machine B - Deployed Web Service2
Machine C - Deployed Client Application to consume the web services
Machine D - stand alone terminal to access the client and ping the web service on A & B each one at a time.

A,B,C,D - are on a common LAN.

Hence from D i give: http://C/Client/Page.aspx and in the web.config of the client the reference is set to access A and B on each run. They run absolutely fine. with no problem

Problem:

When i deployed the WS at the client location i am able to run it directly but when i try to access this from the client it throws: "The underlying connection is closed: Remote Server could not be found" error.

At the client side, the systems are Siteminder protected and i key in some URL like https://machinename.companyname.com/virt_dir_name/WS.asmx

Note: The web.config was changed suitably to refer the web service at the client side.

Please help me understand what the problem is and also in resolving the same. Is it related to Siteminder or any other problem.
Mar 23 '07 #5
with reference to the problem given below:

We tried deleting the web refernce that we added at our office and instead went to the clients office and added web reference from there so that we were able to ping the server where web service is installed.

But while doing that i faced the following situation:
1. While giving the URL for the web reference in the Add reference dialog box i got the error that said: "Unable to download the web service" with status HTTP 503 if i remember
2. But i got the web methods displayed on the left that are exposed by the web service. How is this possible?
3. And the Add reference button on the right along with the folder name is disabled. So virtually i cant proceed from here.

Does anyone have any solutions or suggestions on y this is occurring?

--------------
Monopoly


I face a similar problem. The scenario at my end is like this:

Machine A - Deployed Web Service1
Machine B - Deployed Web Service2
Machine C - Deployed Client Application to consume the web services
Machine D - stand alone terminal to access the client and ping the web service on A & B each one at a time.

A,B,C,D - are on a common LAN.

Hence from D i give: http://C/Client/Page.aspx and in the web.config of the client the reference is set to access A and B on each run. They run absolutely fine. with no problem

Problem:

When i deployed the WS at the client location i am able to run it directly but when i try to access this from the client it throws: "The underlying connection is closed: Remote Server could not be found" error.

At the client side, the systems are Siteminder protected and i key in some URL like https://machinename.companyname.com/virt_dir_name/WS.asmx

Note: The web.config was changed suitably to refer the web service at the client side.

Please help me understand what the problem is and also in resolving the same. Is it related to Siteminder or any other problem.
Mar 23 '07 #6
dorinbogdan
839 Expert 512MB
Since it is like a .Net issue I will move the thread to .Net forum.

Dorin.
Mar 26 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: David Fraser | last post by:
Hi We are trying to debug a problem with services created using py2exe. It seems that these problems have arisen after services were installed and removed a few times. OK, first the actual...
18
by: jabailo | last post by:
I wrote a program that loops through a file of records. It parses each line in the file and sends them to a web service that inserts them into an AS400DB2 database using Asynch calls. This is...
9
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code...
4
by: Keith | last post by:
I'm in the same boat as the fellow who posted this message back in August: Title : Windows Service, How does one make a service "fail" properly? Author : Ross Bennett Group :...
5
by: John | last post by:
Hi I am trying to get web reference to my first (!) web service which is on a remote host. I am getting the following error; Server Error in '/' Application. Runtime Error Description: An...
2
by: timsohn | last post by:
I am trying to deploy the most basic web service (Hello World) example to my website, but am having significant trouble doing so. Here is what I am doing: 1) Create a New Web Service in VS 2005...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
4
by: Jason Richmeier | last post by:
I am sure this has been asked at least once before but I could not find anything when searching. If I set the value of the ExitCode property to 1066 for a windows service, the text "A service...
0
by: Jeova Almeida | last post by:
Hello, I created a simple web service for testing purpose in Visual Studio 2005: <%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="WSTest" %> using System;
0
by: Jeova Almeida | last post by:
Hello, I created a simple web service for testing purpose in Visual Studio 2005: <%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="WSTest" %> using System;
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.