473,385 Members | 1,356 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.

Wierd Problem - Operation Timeout - Urgent Please

Hi All,

I have developed a web service and deployed it on the Win2000 box. I can
access the web methods of this web service when my client application is
debugged from VS.NET studio. But it fails with an 'Operation Timeout'
exception when run from the compiled version. The client application is a
windows forms application.

The webserver has SSL certificate installed. It uses basic authentication.
We are providing a valid un/pw and domain name while making a call to the
web service. This information is being passed as NetworkCredentials in the
credential cache of my service.

Does anybody have any idea about what I might be missing that is causing the
failure to access the webmethods in the runtime?

Thanks in advance.
Nov 16 '05 #1
3 1972
Hi All,

I found that on the virtual directory of this web service the setting for
"Request client certificate" was on. I changed it to ignore and the
application is able to call the webmethods w/o any issues.

Could anybody please shed some light on what must be happening here?

Thanks in advance

Niloday

"Niloday" <nt********@spryance.com> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...
Hi All,

I have developed a web service and deployed it on the Win2000 box. I can
access the web methods of this web service when my client application is
debugged from VS.NET studio. But it fails with an 'Operation Timeout'
exception when run from the compiled version. The client application is a
windows forms application.

The webserver has SSL certificate installed. It uses basic authentication.
We are providing a valid un/pw and domain name while making a call to the
web service. This information is being passed as NetworkCredentials in the credential cache of my service.

Does anybody have any idea about what I might be missing that is causing the failure to access the webmethods in the runtime?

Thanks in advance.

Nov 16 '05 #2
Have you tried to hit the web service directly from another machine.
Normally, when you are debugging, you will develop the web service, deploy
it locally, then develop the client, and test it, all on the same machine.

Web services, by default, work file when called from the local machine but
do not allow calls from remote machines unless you enable them. This
prevents development machines from becoming a big security or virus risk
without the developer being aware of the danger.

Try to hit the web service from IE browser on the server (should work) and
then running on the client system (may work). If you cannot get access to
the service, try enabling it in your web.config or machine.config (sorry, I
don't remember the tags off the top of my head).

--- Nick

"Niloday" <nt********@spryance.com> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...
Hi All,

I have developed a web service and deployed it on the Win2000 box. I can
access the web methods of this web service when my client application is
debugged from VS.NET studio. But it fails with an 'Operation Timeout'
exception when run from the compiled version. The client application is a
windows forms application.

The webserver has SSL certificate installed. It uses basic authentication.
We are providing a valid un/pw and domain name while making a call to the
web service. This information is being passed as NetworkCredentials in the credential cache of my service.

Does anybody have any idea about what I might be missing that is causing the failure to access the webmethods in the runtime?

Thanks in advance.

Nov 16 '05 #3
????????????
?????????????
Gody Yan

http://gody.vip.cn

ÍøÂçʵÃû£º Gody@ÈËÀà ÑÏÓÂ@½*ËÕ
ÖÐ ÎÄ ÓÊ£º Gody@ÈËÀà ÑÏÓÂ@½*ËÕ
E-M A I L£º no*********@army.com
´ø¸øÄã½ÚÈÕµÄ×£¸££¬ÐÂÄêÀï³£±£³ÖÁªÏµ£¡

¸öÈËÍøÕ¾ | ¸øÎÒÁôÑÔ | ¿ªÆôÖÐÎÄÓÊ
"Niloday" <nt********@spryance.com> дÈëÓʼþ
news:u$**************@tk2msftngp13.phx.gbl...
Hi All,

I have developed a web service and deployed it on the Win2000 box. I can
access the web methods of this web service when my client application is
debugged from VS.NET studio. But it fails with an 'Operation Timeout'
exception when run from the compiled version. The client application is a
windows forms application.

The webserver has SSL certificate installed. It uses basic authentication.
We are providing a valid un/pw and domain name while making a call to the
web service. This information is being passed as NetworkCredentials in
the
credential cache of my service.

Does anybody have any idea about what I might be missing that is causing
the
failure to access the webmethods in the runtime?

Thanks in advance.
Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: anony | last post by:
Hi, I have an HTML pattern matching web service that's been working great. It's been misbehaving lately, though. On first hit, it works fine. But if you reload the page, it times-out...
3
by: Niloday | last post by:
Hi All, I have developed a web service and deployed it on the Win2000 box. I can access the web methods of this web service when my client application is debugged from VS.NET studio. But it...
4
by: VB Programmer | last post by:
When I run my ASP.NET 2.0 web app on my dev machine it works perfect. When I precomile it to my web deployment project and then copy the debug files to my web server I get this problem when trying...
1
by: Ron | last post by:
Hi, I had a stored procedure on SQL 2000 server to run calculation with large amount of data. When I called this stored procedure via System.Data.SqlClient.SqlCommand on production, i got error...
3
by: Andrew Robinson | last post by:
Is there any way to dynamically set the timeout while using forms based authentication? I want to change this value depending on the type of user that logs into my system. I understand that this...
8
by: John Nagle | last post by:
Here's a wierd problem: I have a little test case for M2Crypto, which just opens up SSL connections to web servers and reads their certificates. This works fine. But if I execute ...
3
by: cj | last post by:
I have a VB2005 windows app that uses a web reference to submit a soap request to a business partner. I'm not the most knowledgeable on this topic but what I have works and has worked for months...
25
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
6
by: Frank Hauptlorenz | last post by:
Hello out there, I have 2 services running. The first one runs in session mode and the 2nd not. The first one should call an operation of the 2nd one asynchronously, because this is doing some...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.