473,507 Members | 2,416 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Asp.net VB Web Service - The Operations times out

1 New Member
I have a web service application project which need to deploy in production server(windows server 2008 r2 standard) and UAT server(web server). One of my web service in the web service application will need to call to a third party web service which I named it as Service A. I manage to connect to Service A in my UAT successfully but I failed to connect in production server which results in the operation times out. My web service application called the production server failed but I can browse the third party web service in the browser. Both are having the same configuration steps.

Anyone know what might cause this?

Configuration that are done
install .pfx
import .cert (personal & current user)
give permission (IUSR & ASP.NET for web server)

VB Code
Expand|Select|Wrap|Line Numbers
  1. Dim cert As New X509Certificate2(HttpContext.Current.ApplicationInstance.Server.MapPath("~/cert/") & ConfigurationManager.AppSettings("CERTIFICATE"), "1234")
  2. ws.ClientCertificates.Add(cert)
Web.Config
Expand|Select|Wrap|Line Numbers
  1. <appSetting><add key="CERTIFICATE" value="cert.pfx"/>
  2. </appSettings>
Production Error
Expand|Select|Wrap|Line Numbers
  1. An error occurred. Error:
  2. System.Net.WebException: The operation has timed out
  3. at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
  4. at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
  5. at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
Apr 29 '15 #1
0 1112

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

Similar topics

1
1327
by: tmagney | last post by:
I have created a windows service in VB.Net called 'Import Agent'. In the event log, when the service starts, the source is listed as Service1. Everywhere else that matters, like the MMC, my...
18
526
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
7229
by: SP | last post by:
Hi All, I wrote a windows service which is supposed to stop after specified amount of time. I am calling OnStop() after specified time. OnStop() methods executed but I dont see the service...
2
6108
by: Genojoe | last post by:
I have a Windows Service (VB.NET) that runs 24/7. It contacts a Web Service (VB.NET on IIS). As long as we send requests to the Web Service at least once every 15 minutes, everything works fine....
2
4555
by: JD | last post by:
Hello, I'm experiencing a problem that I'm hoping someone might be able to shed some light on. I have an ASP.NET page on a Windows 2000 machine that makes web service calls to a .NET web...
0
1291
by: Stu | last post by:
Hi, I am calling a web service from a web page. If the web service has not been used for a while it occsionally times out with this error 'System.Net.WebException: The operation has timed-out.'....
1
8993
by: lowlyscrub | last post by:
I have an ASP.NET application that makes 12 different web service calls from a single method call. Each of the web services themselves don't do much more than run a small query (I've run the...
0
921
Pakmarshal
by: Pakmarshal | last post by:
I am working on a Windows Service application in VB.net 2008. The main objective of the application is to monitor starting and stopping of applications listed in a file. I build the service as system...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7111
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7319
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7031
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7485
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5042
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1542
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.