July 2, 201015 yr Newbies 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.
Create an account or sign in to comment