I had a likely problem
this part of code:
I am working with .NET and IIS6
- XslTransform xslt = null;
-
try
-
{
-
xslt = new XslTransform();
-
xslt.Load(currentFile);
-
}
-
catch(Exception Ex)
-
{
-
throw new Exception("XSLLoadError", currentFile, Ex.Message);
-
}
-
return xslt;
was working for everybody at work exept for me
when the debbuger reach the line
it was throwing an exception "Invalid xml"
I was testing the xslt, and it was fine.
I test the xslt with an altern program to transform and xml by using a xslt
and it works fine
so that, the problem was not in the xslt file
I have restarted the server several times, deleted temporal files but the same for one specific XSLT the Exception is thrown again. :confused:
I will try your solution about re-install the IIS. :cool:
for now, after being debbuging, I had the idea to rename the XSLT
and in someway, the
works with my XSLT file :D
my old name was: FIN.IN.AR.Carrier.xslt
my new name: FIN.IN.AR.Carriers.xslt
As you can see I cannot find a factible reason why was happing this issue
any idea about the real reason because
after it works I return back to the filename that was wich one I had had the problem
and the problem appeared again :confused:
regards