Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > CodeFiles missing after build. View modes: 
User avatar
Member
Member
vcarter - 11/14/2013 3:47:27 PM
   
CodeFiles missing after build.
Has anyone every had this happen. I made a few user controls and passed them on to our clients IT who then did a build and deployed to Azure. However I am seeing a LOADFILTER error:
Message: The file '/CMSWebParts/Filters/[myControl].ascx.cs' does not exist. 

I don't think I posted this before, but I have been busy so please forgive me if this is a double post.

I was only able to replicate this locally by breaking my CodeFile path on the ascx page. Otherwise in my environment the control work just fine.

Any thoughts?

User avatar
Certified Developer 10
Certified Developer 10
josha-bpstudios - 11/14/2013 6:07:18 PM
   
RE:CodeFiles missing after build.
Is the control inheriting from the cmsabstractwebpart class? If so, is it registered in Kentico under sitemanager, development, webparts? Just a thought.

User avatar
Member
Member
vcarter - 11/15/2013 3:38:50 PM
   
RE:CodeFiles missing after build.
Using CMSAbstractQueryFilterControl. My understanding is that these do not get registered. The oddest thing is that the control works perfectly fine on my local environment, now that being said, I am developing directly and I am not running any type of build. The kentico instance that I am sending to, does get built and then deployed. Wondering if there in lies my issue.

User avatar
Member
Member
kentico_sandroj - 12/1/2013 12:47:22 PM
   
RE:CodeFiles missing after build.
Hello,

If you are able to provide more details about the deployment process we may be able to try and reproduce the issue. You could also try the CMSGlobalFiles folder as used in the documentation instead of WebParts.

Best Regards,
Sandro