weird repeater error

lawrence whittemore asked on January 18, 2019 21:29

[TempITemplate.Template]: The type 'CMS.DocumentEngine.Web.UI.CMSTransformation' is ambiguous: it could come from assembly 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\c3cac838\7a988aa3\App_Code.0dbwhcun.DLL' or from assembly 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\c3cac838\7a988aa3\App_Code.j1yl5-fs.DLL'. Please specify the assembly explicitly in the type name.

I'm in version v11.0.17

Recent Answers


lawrence whittemore answered on January 18, 2019 21:48

What I have noticed is that, if i use a transformation that is already on the site it works, but obviously not the right transformation. if I create a new one, i get this error. so something is going wrong in the creation of transformations.

0 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on January 18, 2019 22:34

figured it out. one of our developers had created a function/class thing that had the same name as CMSTransformation

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on January 18, 2019 22:48

It looks like the assembly reference is missing, it doesn't understand which one to use. Theoretically you can try to put <%@ Import Namespace="CMS.DataEngine" %>...

But I would assume you did an upgrade to your site. Old name space CMS.Controls is not valid anymore, it should be new name space CMS.DocumentEngine.Web.UI. But somehow you still have an old cms.controls in your bin folder and that is why there is confclict between CMS.DataEngine and CMS.Controls. Just check if you have cms.controls in your BIN folder.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.