Our web application call for a 3rd party calculation engine. We get an exception shown below, when application calls the 3rd party. This exception is specific for a particular instance of for a single particular product. Could you please help us in this regard we use Cassini which runs as a 32 bit process. We don't get this issue in a Cassini which runs as both 32 and 64 bit process.

If we try again, we get a socket exception and the Cassini stops working.

An existing connection was forcibly closed by the remote host.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Could you please help us in this regard we use Cassini which runs as a 32 bit process. We don't get this issue in a Cassini which runs as both 32 and 64 bit process.

We are confused a bit, which UltiDev product do you run, is it UWS or UltiDev Cassini? Do you run our web server on both ends - the one produced the error page, and the one you are trying to reach over the web service?

Also, is this problem intermittent, does it occurs in 100% cases? Could please provide any other details, like have you tried it on different machines, for example?

Hi,Thanks for your immediate response. is it UWS or UltiDev Cassini ? it is UltiDev cassini.Do you run our web server on both ends -yes on both the ends

There is a 3 rd party software called Product Express.Our application's input will be sent to Product Express and some calculations will be happened over there and finally we will get the output from Product Express.Earlier we were using a cassini server which will be compatible only for 32 bit machines.if we run our application in 64 bit machines we wont get the output from product express.we contacted you regarding this issue 6 months ago and we got 2 cassini files for 64 bit machines.now it is working well for both 32/64 machines but for one scenario(for one product) we could not get the output from product express and we get the error "Something get failed during waiting for the (product express) calculation engine".we are getting this issue in both the 32/64 different machines.

we dont know why this issue occurs only for a particular scenario.1.do you have any patch files attached to 64 cassini server?If so could you please send it to us?2.have you released any new cassini which is compatible for both 32 and 64 bit machines?if so please provide.3.could you please suggest how to resolve this issue.If you have any supportable files pls send it to us.we will try with it.

It seems that Product Express fails, and takes down UltiDev Cassini process down with it - that's why your web service client finds its outbound connection dropped.

We strongly recommend switch to our much more sophisticated UltiDev Web Server Pro (UWS) - it's still small and free, but it supports 32-bit host processes and has much better stability and diagnostics. Once you replace UltiDev Cassini with UWS, you may want to try to host Product Express under UWS Interactive Host, which will display exception info if hosted web application crashes it, so you will know what is happening with Product Express.

Please note that Legacy UltiDev Cassini applications will be run by UWS as 64-bit on x64 systems. If you want to run an application as 32-bit, you will need to unregister it, re-register as native UWS application, which will let you choose bitness.

We were using Cassini web server which runs as 32 bit process in a 32 bit OS and runs as a 64 bit process in a 64 bit OS. Our third party applications like productxpress will run only as 32 bit process. Hence our application while running as 64 bit OS was unable to invoke a 32 bit productxpress. Then we came to know that we need to run the Cassini as a 32 bit process in a 64 bit OS, so that it would communicate with other 32 bit process like ProductXpress.

You provided us with two exe files a) UltiDevCassinWebServer2.exeb) UltiDevCassinWebServer2a.exe

Replacing these files enable us to run the run the Cassini as a 32 bit process in a 64 bit OS.

The issue is for a specific instance we get the above mentioned exceptions.

When we tried with the old exe which we had previously, we dint get the above mentioned issues.

Earlier you had given me UltiDevCassinWebServer2.exe and UltiDevCassinWebServer2a.exe files for both 32 and 64 bit machines.Do you mean the same files?If not ,could you please send me the UWS files so that have to add those files in my setup solution.

The above exception clearly states that the error is thrown from server(Casini) end. And too we experience this only when we force the casini webserver to run for 64 bit environment.Please check this at your earliest and respond , since its very urgent for us to fix this issue.

UWS is a new, improved web server product, and we have provided the link to it in our first response. You can download UWS here. Please install UWS on the same machine as UltiDev Cassini. UWS will replace Cassini and will host its applications. However, as we have pointed out in our previous response, if you host applications under 32-bit of Cassini on x65 systems, you will need to unregister and re-register the application with UWS, using UWS 32-bit host.

our applications is a setup solution.In this case I need to add the UWS in my setup cassini folder.Could you please tell what are all the UWS files that we need to add in the cassini folder.Please provide any guideline like how we can add the UWS files to the .Net setup solution.

If this issue is affecting only one installation out of many, please guide your customer to download & install UWS and re-register the application. You can replace UltiDev Cassini with UWS very easily. Try it first on a test system to practice though.

If this issue affects all or majority of your customers, you will eventually need to change your installer to include UWS instead of Cassini, as described in great detail here.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.