My WCF service works fine on a Windows 7 Enterprise machine but fails when hosted on windows server 2003 (Same Code) -
We are using a Windows 7 enterprise machine for development and we have 7 wcf services .... all Has worked fine in the development machine ... When we hosted similar services in Windows Server 2003 and IIS 6, then we are facing some issues ... One of the services "By an existing connection to a remote host Forcibly turned off "error ... built-in connection service closed in call Is done .... I have started logging with log4net and I have started tracing ... In the trace log I found out that it completes almost all the steps and the end of the stop execution phase .. So I gave the log4net debug statement in the code and it seems that the code is executing fine, it is ok to get the value from the database, but when the data comes back, the connection is shutting down at that point. So while closing the data, some exceptions are closing the connection ... and I do not understand why or what caused the error ... and this code works fine in Windows 7 Enterprise machine ... So I was not sure to see code problems or is it a special setup that needs IIS 6.0 ... Do you guys know what might be wrong in the situation ... Thanks for any help.
And there is another service that shows an error "Requested service", 'XXXXXXXXXXXXXXXXX' could not be activated ... ... due to the instant call like this, continuous calls could cause this error Is there any way to save it because some services seem to display this behavior in Windows Server 2003-IIS 6 and they all work fine on Windows 7 machines?
Yes, I enabled message logging and found that what is the first error ... Failure to serialize for the reason - feedback is the best of luck with requests, so this is permitting in Windows 7 and keeps references alive, but Windows Server 2003 abandons all requested objects, so some objects of time response Sequence of references So, Windows is no longer valid in 2003 and therefore the connection is closed. So before I solve, I created a new object on the service and copied the values and started working on it.
Comments
Post a Comment