I am using Silverlight 5, .NET 4.5.1 and OpenRIA.
A silverlight client calls a long-run OpenRIA operation. The operation is asynchronous. From the client side I can see that the function from a code is being called just once. From the IIS server-side on the other hand, the WCF function is called multiple times. The browser sends the request every 15 seconds until it gets first response of the operation from the server. The server stacks requests in a queue and sends responses to the client.
What I have logged through Fiddler - the operation was finished with an error. It was invoked once, but with a message „NOTE: This request was retried after a Receive operation failed.”
The situation occurs in IISExpres and IIS 7.5, locally and remotely.
What can be an issue?
I have found the reason that causes an operation repeated.
The problem was 32-bit IIS. Using 64-bit version solves the problem.
P.S. Visual Studio has an option to use IIS-Express in 64-bit. You can also add to the registry:
reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1
12.0 - Visual Studio 2013