I am struggling to get Tridion UI 2012 Session Preview working on a DD4T website. I view the website in a browser, click the SDL Tridion logo to enter 'edit' mode, then start editing some content on the page.
Once I edit something and click "Finish editing", the error is displayed in the browser: "An existing connection was closed by the remote host", and the webpage does NOT display the text you just edited. Then when I look at the log file for the Session Preview web service, I see the error "Maximum request length exceeded" - I did this by viewing the svclog file (produced by the Session Preview web service) in the ServiceTraceViewer tool.
Now, I have increased the request-size in the web.config of the Session Preview web service, but I still receive the same error. It seems that I need to make the same change (i.e. increase request-size) to the "consumer" of the Session Preview web service.
What is the consumer of the Session Preview web service? i.e. exactly which config file (.config, .xml , .jar, etc) contains a binding to the Session Preview web service? I need to find this file and increase the request-length in there, as a first step, I think.
It seems that the edit is saved to the Tridion_cm database because F5 shows the edit but the preview does not seem to update without a full refresh.
Also, I have already followed the following blog post (and satisfied all its steps/checks) for our debugging: http://albertromkes.com/2013/01/24/troubleshooting-the-sdl-tridion-experience-manager-with-session-preview/
Any ideas?