Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

XSLT Transformation results a Request Timed out error for @ MB File


This topic is 5258 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hello Folks,

I have been struggling with an XSLT transformation problem. We have an XSL which is 2,116 KB in size. It works when XSL is about 1 MB. It also works in some servers, but as soon as it is deployed on a Widows 2003 server, this starts timing out the request. from Event log it is :" Event code: 3001

Event message: The request has been aborted.

Event ID :) 1309" The XSLT works fine on local machine as well as the other server. To transform the XSL, we are using the simple standard code like "XslCompiledTransform xslTransformer;

xslTransformer = new XslCompiledTransform();

xslTransformer.Load(sXSLTransformPath);

StringWriter sw = new StringWriter();

XmlWriterSettings settings = new XmlWriterSettings();

settings.CheckCharacters = false;

settings.CloseOutput = true;

settings.Encoding = Encoding.UTF8;

settings.ConformanceLevel = ConformanceLevel.Auto;

XmlWriter xw = XmlWriter.Create(sw, settings);

xslTransformer.Transform(XmlReader.Create(new StringReader(sXMLToTransform)), xw);

xw.Close();

xslTransformer.TemporaryFiles.Delete();

string sData = sw.ToString();

sw.Close();

return sData;

"

This is very standard code and works well in most of the environments. We are using the XSL for a WORD document so it has wordml tags.

Could some one please suggest some inputs?

Thanks and regards,

Saket.

This topic is 5258 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.