cancel
Showing results for 
Search instead for 
Did you mean: 

xsl stylesheet path not founnd

Former Member
0 Kudos

Receiving error: "javax.xml.transform ... exception Invalid uri 'http://localhost/.... escaped absolute path not valid."

Stylesheets cannot be found by irpt unless changed to actual path like "C:\Inetpub\wwwroot\....

Thanks, Ed (for Shari)

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Shari,

Most likely it's because the IUSR_<MachineName> user does not have full control over the IIS root directory. Try resetting inheritable permissions for this user to Full Control.

Sam

Former Member
0 Kudos

That did not seem to solve it. Here's the full message.

javax.xml.transform.TransformerConfigurationException: java.lang.IllegalArgumentException: Invalid uri 'http://localhost/Temperature Monitoring/MKTReportGrid.xsl': escaped absolute path not valid

jamie_cawley
Advisor
Advisor
0 Kudos

Is that a valid URI? Try pasting it into IE and it will encode it as

http://localhost/Temperature%20Monitoring/MKTReportGrid.xsl

due to your space in Temperature Monitoring.

I would recommend to not use spaces in URLs.

Regards,

Jamie

Former Member
0 Kudos

It is a valid url and yes it should not have spaces. I replaced the space in the servlet, calling irpt with %20 and all is well.

Thanks, ED & Shari

Answers (0)