Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > XSLT Transformation failure View modes: 
User avatar
Member
Member
jwbanning-gmail - 12/9/2011 12:26:53 PM
   
XSLT Transformation failure
I am pulling back data from a YouTube RSS feed and need to parse the XML document that is returned to show a list of Video thumbnails, video titles, and other video metadata.

Given that I need to get specific elements within the XML document (i.e. nodes with attribute values) I thought that using an XSLT transformation to create HTML would be better. When I create the transformation, and then assign the transformation to the repeater I get the following error:

The file '/CMSTransformations/custom/chiquitarss/youtuberss.xslt' does not exist.

Any ideas why the transformation is attempting to be written to a file in that location that does not exists? I went as far as creating the file and still failed.

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 12/12/2011 9:58:33 AM
   
RE:XSLT Transformation failure
Hi,

When I create the transformation, and then assign the transformation to the repeater I get the following error


How exactly have you created the transformation?

The error you described could mean that virtual path provider is not running. It is typical for pre-compiled site or site running in the medium trust environment.

The location you pasted does not exist by default. In case of medium trust environment you need to Deploy objects to the disk, then the folders are created.

You have not mention if you are running in the medium trust environment or not. Here is a appropriate documentation which could help you to deploy site (new transformations, templates):
Medium trust deployment

Best regards,
Ivana Tomanickova

User avatar
Member
Member
jwbanning-gmail - 12/12/2011 10:10:38 AM
   
RE:XSLT Transformation failure
To create the transformation, I went to Site Manager > Development Tab > Doc Types > selected RSS Transformations and made the new Transformation there. While creating the transformation I was able to select XSLT. See image User image

http://chiquita.dev.adaptdev.com/Chiquita/Images/test/xslt.jpg


I will investigate the medium trust deployment

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 12/15/2011 2:55:44 AM
   
RE:XSLT Transformation failure
Hi,

you can check the trust in the IIS.

For example in the IIS version 7 you can see .NET Trust Levels icon if you select the root element in the Connections section on the left site. If you double click on the icon, you will see the Trust level.

Best regards,
Ivana Tomanickova