SharePoint2010 Feature activation does not act the same if manually or powershell script

I have a SharePoint solution, containing 3 Features. One feature is Site scoped, and two are Web scoped.

The site feature contains different lists, 2 workflows and content types. Two of them are quasi similar, one is called CTTaskAchat, and the other one is called CTTaskAccord The two web features contains lists definitions, lists instance and event Receiver.

When i deploy the solution with my powershell script and that I enable the feature with the powershell script, almost everything works pretty fine. The problem is that i can't find my content type CTTaskAccord nowhere. And I don't understand why i can't find it whereas i can find the CTTaskAchat content type.

If i deploy the solution with my powershell script, but that I activate the feature manually (i.e. through the Site Settings menu) the content type does appear.

So if you have any idea of where I could find my solution.

For your information, I would love to delete all the site collection and create a new one, but it's an update of the solution, so it's not possible.

EDIT : I've just noticed that some other points of the feature don't get activate (i have a list which doesn't exists with powershell but exists when i activate the feature manually)

Answers


You able to find the content type inside : Site Actions -> Galleries -> Site Content Types.

when you activated the site feature just check the feature is activated properly.


Need Your Help

.php pages not working on xampp

php .htaccess xampp

I'm running xampp version 2.5 on windows 7 and ftp'd over a website I'm working on (www.dfwcertautos.com). None of the .php pages load, however the .html pages load fine. I created a test.php page ...

How to Get font descriptors - CapHeight, Ascent, Descent, Flags, ItalicAngle, StemV of TTF Font

vb6 pdf-generation true-type-fonts embedded-fonts ps

I am trying to create my own tool for creating the pdf file. Every thing is going well, Only thing I miss is the font descriptors. Kindly let me know the correct values of capheight, ascent, descent,