Hello I have a strange problem that occurs only on my build server (Windows Server 2008). I have a Silverlight Application with rather large dependencies and my .xap is 3.x MB. Whenever I run statlight (1.6, SL 5 application, arguments look like -x=package
-r=report --debug) on that .xap it hangs until I get the following exception (running Statlight from visual studio, I get the same result by running the regular .exe):
System.Net.HttpListenerException (0x80004005): An operation was attempted on a nonexistent network connection
at System.Net.HttpResponseStream.Dispose(Boolean disposing)
at StatLight.Core.WebServer.InMemoryWebServer.ServeString(HttpListenerResponse response, Byte value) in C:\Users\X\Desktop\a\b\src\StatLight.Core\WebServer\InMemoryWebServer.cs:line 181
at StatLight.Core.WebServer.InMemoryWebServer.ProcessGetRequest(HttpListenerRequest request, HttpListenerResponse response) in C:\Users\X\Desktop\a\b\src\StatLight.Core\WebServer\InMemoryWebServer.cs:line 56
The problem isn't linked to the dependencies themselves, I made a dummy project with a large embedded text resource and I had the same problem.
The exception is thrown when the InMemoryWebServer writes the "application/x-silverlight-app" response to the OutputStream.
The catch is that it works fine on my machine. I understand that it's going to be tough for you to help me without being able to reproduce the issue, but do you have any idea of what is happening?