views:

229

answers:

0

We are using FW2.0 web application which is developed using VS2005.

Our win2003 server had Windows update on last week with FW3.5 SP1, after that we struck-up in web application login issue.

Basically our application works with both windows authentication as well anonyms

But after install the FW3.5 SP1, the windows integrated authentification fails and prompts continuously even provide valid credentials whereas works fine if we uninstall FW3.5SP1 and install FW2.

After analysis we came to know this issue just because of lengthy XSL template (refer below code) usage (declaration) which causes Stack overflow exception. Just confirmed by removing that specific lengthy XSL template line, then application login works properly except design impact of that XSL line remove.

<xsl:template match="@tkfirst|@tkfirstb|@tkfirsts|@tkfirsto|@tklast|@tklastb|@tklasts|@tklasto|@cmtmask|@cclmask|@ctkmask|@codesc|@codesc1|@nbdesc|@uaccgroup|@dindex|@iindex|@findex|@sindex|@fmatter|@smatter|@fsubnumber|@subnumber|@fdesc1|@wtrqop|@wtdecode|@wtprior|@seqindex|@item|@tfindex|@ftmkpr|@flocation|@iname|@dname|@idesc1|@idesc2|ddesc1|@subdesc1|@subdesc2|@desc1|@wtindex|wttype|@wtparent|@wtfindex|@number|@period|@dinout|@iinout|@chparent|@subprac|@fstatuas|@fbox|@foffnum|@fbarcode|@ldesc|@lcdesc|@lccode|@fdesc|@fdesc|@flang|@mmatter|@evmatter|@mclient|@ivalue|@thtk|@mttk|@mtmatter|@clnum|@clcity|@clcountry|@pccount|@phop|@phstatus|@evclient|@evchar2| @pccode|@pcmatter|@pcphone|@tktydesc|@mdesc1|@mdesc2|@mdesc3|@mcurrency|@tktitle|@head1|@tsectdes|@pevalue|@minstr1|@minstr2|@maddr1|@maddr2|@maddr3|@maddr4|@maddr5|@maddr6|@claddr1|@claddr2|@claddr3|@claddr4|@claddr5|@claddr6|@bdesc|@ptdesc|@prname|@tklocation|@tratype|@tradesc|@tracct|@mjnum|@evdesc1|@ptnum|@btemp|@pcdcity|@pcrcity|@pcsupplier|@pcloc|@pcguest|@mdesc|@clname|@mtktype|@mbillaty|@msupaty|@morgaty|@head|@pdesc|@mstatus|@clind|@pccurrt|@clsort|@pageno|@codesc|@ldocumnt|@llcode|@linvoice|@pcgnum|@pcgfile|@l|matternum|clientnum|@tmatter|@tcode|@tledger|@acode|excluded|@cmtmask|@tindex|cmsg|@pcgcurr|@mname|@cudef1|@cudef2|@cudef3|@cudef4|@cudef5|@cocode|tkinit|UserDef1|UserDef2|UserDef3|UserDef4|UserDef5|@tudef1|@tudef2|@tudef3|@tudef4|@tudef5|@tstatus|timecard_tstatus|@bnumber">
 <xsl:value-of select="wv:wv_Trim(.)"/>
</xsl:template>

How we can modify above XSL code to avoid stack overflow exception? Pl advice