mardi 2 décembre 2014

Farm solution deployed to my web application , is not available to new site collections



I have a .wsp Farm solution deployed to my web applications, as follow:-


enter image description here


enter image description here


I have created this solution using VS .Now inside my current web application I have 2 site collections. Old site collection have this solution available under “Insert>>Web Part>>Custom” + inside the “Site Setting>>Web designer Galery>>Web parts” as follow:-


enter image description here


But now I added a new site collection to my web application , but the problem I am facing is that the .wsp solution is not available inside the “Insert>>Web Part>>Custom” Nor inside the “Site Setting>>Web designer Galery>>Web parts” as follow:-


enter image description here


Can anyone advice please? Could this be a version problem ? since I have applied some CU updates from the time I deployed he wsp and when I added the new site collection ? can anyone advice please?


EDIT:-


Here are the web part setting inside the visual studio:-


enter image description here


now the site URL refers to an old site URL. Now I have deploied this wsp using the following steps:-



  • i copy the wsp from the visual studio project.


  • Then i run the following commad:- "stsadm -o addsolution –filename [c:....]\WikiKnowledgeBaseRedirect.wsp"




  • i went to "central administration>>system settings>> Manage farm solutions>>click on WikiKnowledgeBaseRedirect>>click on deploy solution >>select the web application from the “Deploy To?" drop down". and it became available to my old site collection which have the following URL "http://servername/Site/Customes" different from the site URL inside the visual studio. so seems the site URL inside the visual studio do not have any value ? is this correct?




here is the feature screen as requested :-


enter image description here ok it mentioned that its scope is site, then why it did not appear inside the site collection feature or inside the gallery>>web parts section?


EDIT 2


enter image description here enter image description here enter image description here








0 commentaires:

Enregistrer un commentaire