I have published my web app on IIS and it works fine. However, even if the first page works fine, as I needed to login with database, it took awhile and prompted an error saying :
An unhandled Microsoft .NET Framework exception occurred in w3wp.exe [10060].
And as I clicked in it says:
System.StackOverflowException: 'Exception of type 'System.StackOverflowException' was thrown.'
Does anyone have this problem?