Possible Duplicate:
Webservice creates Stack Overflow
Hi,
I have a program that includes a recursive function. This function when executed in a Windows Application works just fine, and when used in a Webservice, it works fine when the webservice is initiated by the VS (it assigns a random port), but this function return a stackoverflow error when the webservice is published. (note that the machine used is the same, hence it is published on my pc).
Could it be that the stack size of a Web Service is smaller than that of a Window Application?