XslCompiledTransform.Transform fails

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi to all,
Im on my page_load event in my website and I try to do a xslt/xml trasform with something like this:
using (StringWriterWithEncoding stringWriter = new StringWriterWithEncoding(System.Text.Encoding.UTF8))<br/>
{<br/>
xslt.Transform(xmlDocResponse.CreateNavigator(), null, stringWriter);<br/>
xslt = null;<br/>
<br/>
_ret = stringWriter.ToString();<br/>
<br/>
_ret = System.Net.WebUtility.HtmlDecode(_ret);<br/>
}
where all code is in try...catch.

All work fine until yesterday but today I have this problem: on xslt.Transform line the process stops and exits with a "connection error etc.." video message and it "jump" out not catching any error.<br/>

Whats the problem? and (more important) why it cannot be catched ?

In my local all is well but on the server it fails (Win Server 2008 R2 Std with FWK 4.0)
Tnx 1000


View the full article
 
Back
Top