cancel
Showing results for 
Search instead for 
Did you mean: 

Unable To Create Stylesheet Transformation error

Former Member
0 Kudos

I had to reinstall JSDK due to an issue on the server. The original issue on the server was causing MII to error with Page cannot be displayed.

After the reinstall of JSDK MII seems to function fine, except pages where it uses stylesheets (including the menu page comes up with the default menu screen instead of the custom). It displays the data unformatted and displays the error: "Unable to Create Stylesheet Transformation error".

I can see various errors within CMS log:

2012-08-06 10:09:50,397 [ServletExec: request: time=1344211790319, uri=/Lighthammer/ReportServlet] SYSTEM IlluminatorTemplateHandler - error Loading Template: Status (400): Bad Request

2012-08-06 10:09:50,334 [ServletExec: request: time=1344211790319, uri=/Lighthammer/ReportServlet] ERROR  XMLBuilder - javax.xml.transform.TransformerConfigurationException: java.lang.Exception: Status (400): Bad Request

2012-08-06 10:09:50,444 [ServletExec: request: time=1344211790319, uri=/Lighthammer/ReportServlet] ERROR  Illuminator - Error getting fatal errors. null

etc.

Can anyone point me into the right direction in terms of what needs updated or checked to get this resolved. Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Just to note that we have MII version 11.5

agentry_src
Active Contributor
0 Kudos

Hi Amit,

Which SP is installed?

Thanks, Mike

Former Member
0 Kudos

Hi Mike,

we have 11.5.1 b63

Also another thing I noted is that I can no longer connect on the server to: http://localhost/Lighthammer

It comes up with page cannot be found. Thanks

Rgds,

Amit

Former Member
0 Kudos

Since my last post tried another option and wanted to add my findings that when I change the stylesheet reference within the irpt page from "http://localhost/......." to "http://server/......." it works, so seems like the localhost not working is causing the issue. I am assuming this might be more an IIS issue than MII, any pointers to what causes this? or what I should look for? Thanks

agentry_src
Active Contributor
0 Kudos

Hi Amit,

Well it certainly could be IIS related.  However, I would suggest that you upgrade your installation.  If I recall correctly, you are about 10 SPs behind the current version, possibly more.  While your problem does not seem to be related to the really old version of 11.5 that you are running, it will probably contribute to problems in the future.

Regards, Mike

Former Member
0 Kudos

You might not want to fully qualify your style sheet, unless there is a very good reason for it like a central corporate styling sheet. If you are accessing a style sheet on the server it's best to use a realative path to the style sheet. Get rid of http://server and http://localhost before the style sheet and the browser will automatically go to the server serving the page.

Localhost won't work on a remote pc because localhost to a browser is the user's pc and not the server so it obviously won't find the style sheet.

As for localhost not working when you're logged into the the server, it've read it's either an IIS setting or a problem with your hosts file.

jcgood25
Active Contributor
0 Kudos

Make sure the Default Website in IIS has the All Unassigned port 80, and the localhost host header name.  If you have the website running on another port, or using a custom name, then you will need to add an additional entry using port 80 that explicitly uses localhost.

In effect, the 'localhost' aspect used in 11.5 allows MII to talk to itself, and many of the stylesheets use this behind the scenes.