I'm getting this error:

CPAssembler error: Web control file is not located inside your website

when I check my page in my browser.

The page conains a single Component Presentation, with the "Allow on Page Using Dynamic Assembly" box checked.

enter image description here

I've checked the source code of the page rendered and it is: <tridion:ComponentPresentation runat="server" PageURI="tcm:69-13075-64" ComponentURI="tcm:69-13070" TemplateURI="tcm:69-13071-32"/>

Also I've checked the cd_storage_conf.xml and it has:

<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile" defaultFilesystem="false">
            <Root Path="D:\Websites\staging" />
        <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultDataFile" defaultFilesystem="true" defaultStorage="true">             
            <Root Path="D:\Websites\staging\data" />

I'm using Tridion 2011 SP1

Does anyone have an idea of the cause of this error?

  • Is this a possible duplicate? Have you already followed all of the suggestions here: tridion.stackexchange.com/questions/2880? Nov 14, 2014 at 20:42
  • Hi Jonahathan, yes, I did and I coudn't fix it
    – Carolina
    Nov 14, 2014 at 21:20
  • Carolina, would you please edit your question with the error in the body? Currently the error is briefly mentioned only in the title. It will help with readability for others. Also, if there is a stacktrace in the log with additional info please add this detail. Nov 14, 2014 at 21:54

1 Answer 1


The fact that you are seeing the correct <tridion:ComponentPresentation runat="server" ... /> tag indicates that the Language of your Publishing Target is set up correctly (ASP.NET) and that your Deployer is configured to transform the Component Presentations' TCDL tags to the correct (.NET) format.

It is difficult without seeing the rest of your config file, but you should check that you have a specific Item Type Mapping for (Dynamic) Component Presentations:

<Item typeMapping="ComponentPresentation" itemExtension=".ascx" storageId="defaultDataFile"/>

This will need to be present in the cd_storage_conf.xml that your website uses, as well as the one used by the Deployer.

You may also want to double-check that you .ascx User Controls definitely are being published into that directory (D:\Websites\staging\data) too. These will not work if the .ascx files are not located inside of a sub-folder of you main site folder.

  • Hi Jonathan, thanks for hel me. I have the code into the cd_storage_conf.xml, it is: <Item typeMapping="Page" cached="false" storageId="defaultFile"/> <Item typeMapping="Binary" cached="false" storageId="defaultFile"/> <Item typeMapping="ComponentPresentation" itemExtension=".Ascx" storageId="defaultDataFile"/> and I've checked the syste foler and I have the .ascx into this folder : D:\Websites\staging\data\pub69
    – Carolina
    Nov 14, 2014 at 21:25
  • 2
    Hi @Jonathan Williams, you were right !! the problem was with (D:\Websites\staging\data), because it is a folder out of the main website, I setup a new folder inside the website and now everything is working fine. Thanks so much !!!!
    – Carolina
    Nov 14, 2014 at 22:04
  • super - I'm glad it worked! Nov 14, 2014 at 22:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.