Portal Engine
Version 2.x > Portal Engine > VirtualPathProvider and Transformations View modes: 
User avatar
Member
Member
matt - 9/10/2007 5:35:05 PM
   
VirtualPathProvider and Transformations
I have several custom document types that I've been working with for several weeks.

Yesterday, I added a single field (a date field) to the document type and then added a new transformation. After applying the transformation to a repeater web part, I receive this error.

The VirtualPathProvider returned a VirtualFile object with VirtualPath set to '/CMSTransformations/1623f817-36f5-4680-beee-6683106a8e3c/elementum/news/drunk driving feature.ascx' instead of the expected '//CMSTransformations/1623f817-36f5-4680-beee-6683106a8e3c/elementum/news/drunk driving feature.ascx'.

I have tried to delete and recreate all the transformations for this document type but each one is receiving the same error. I don't know what to do. Is this going to happen to any document type that I add a field to?

User avatar
Member
Member
kentico_vitaja - 9/11/2007 9:33:23 AM
   
RE:VirtualPathProvider and Transformations
Hi Matt,

it seems that in your newly added transformation is some kind of mistake which is causing this error. You should double-check your code and find out what is wrong.

Best regards,
Vita Janecek