Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I am trying to test a web service for a web app. written in asp.net c#, WCF
i am facing this exception:
The HTTP request to 'http://localhost:36162/Services/Service1.svc' has exceeded the allotted timeout. The time allotted to this operation may have been a portion of a longer timeout.
I'm looking at how to resolve this. It's now taking more than 10 minutes.
Debug the service by putting a breakpoint in the service and verify its returning data in a timely fashion from a call from the client.
If it is returning data in a timely fashion you have a configuration problem with the client (maybe the buffer overflow then set size).
Or use Fiddler to look at the traffic to see if data is returning in a timely fashion.
Regardless that will give you an indication of where the problem lies.
EDIT: Also use the WCF test client to remove the caller from the equation. That is a great tool to use.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have a Windows service running on Azure VM. The service constantly accesses KeyVaults and Web APIs to run some tasks.
The logs in my service show this message sometimes while accessing keyvault. Most of the times service can access keyvault, but sometimes I get this error:
System.Net.WebException: The remote name could not be resolved:
'keyvault.vault.azure.net'.
When I connect to VM through RDP, sometimes I get disconnected with the following message and immediately connects after few seconds.
But when I see System Logs in Control panel, it shows no error message at that time.
I also have another issue while making an HTTP request to Web API as explained in this question.
So my question is, can all these be related to one another? Is it possible that VM is getting disconnected very often from the network and due to this, all the above-mentioned things are happening? How can I test and conclude this?
The times i have seen issue like this it is due to OS performance issue. It could be memory, CPU or even network throttling but almost certain performance issue.
Make sure the VM sku you are on is able to handle application performance.
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/sizes
Hope this helps.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I wrote a small program for downloading files for my client.
The program uses HttpWebRequest to send a POST request and a GET request.
I tested the program on my laptop and on my manager's desktop and it worked well.
However, when I deployed the program to my client's desktop, it gave me this error:
"System.Net.WebException: The Operation has timed out."
What might be the possible reasons for this?
The deployment was very simple, I just changed the App.config to set the target folder's path.
My client's desktop is a server. Is it possible that firewall blocked my request?
But I was able to accomplish the downloading process through browser on my client's desktop.
Please give me some suggestions if you have related experience.
Thanks
Firewall, Antivirus and insufficient timeout are very possible reasons (in my experience).
Probably the windows firewall is blocking your application from connecting to the server. Try to add an exception for your app by running wf.msc. You will need to add an outbound rule.
In order to test quickly whether this is the real reason for your problem, you can try to disable the firewall completely for a short time if it isn't a big security risk.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I am a web service applications beginner.
I wrote a web service application and a simple web client application in order to test the service.
It works fine, but i found out that even when the service application (that runs another application) is off, i can get the result at the client side.
Is it ok? If not, what could be the problem?
I can only think of two possible explanations -
Either pages are cached somewhere (client, proxy servers, web servers) or the client does find a server (as in - it isn't off, or it doesn't go to the server you think it is)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to create 2 applications. i.e, 1 for client and another 1 for server. Client app will be installed in so many computers and service should be run automatically.
If i open the server app, i need the client computer details and select the computer and send some operation like shutdown. then the client computer should execute the shutdown code and it should be turned off.
Please can u tell what type of concepts i have to use in Windows communication service. I'm new to Windows communication service.
what you need is a duplex communication you can start with wsDualHttpBinding the link bellow provide a good example for starting, and in second time you can host your service in windows service on both client and server something like in this link
hope this help
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have two application on different computers than connect to each other by Remoting Channel.
I want to control server from client on different network (over Internet).
How i can do that?
Is it possible to configure Remoting to bypass/punch holes in NAT?
In general, I would recommend using WCF instead of Remoting, especially if you're going to try to work over the internet.
Neither technology will bypass your firewalls, though WCF does provide far more options for configuring the channel which is used for the communication. This often makes it simpler to provide an endpoint that will work for internet connections and communication.