Sharepoint 2010 WSP Deployment problem. Can’t deploy new files -


we have found problem our deployment production server runs sharepoint 2010 publishing site collection.

we deploying wsp packaged visual studio sharepoint management shell (uninstall, reinstall solution). has worked charm in past. added custom masterpage, css files, images , later added custom page layouts.

i have sp running locally on computer , works fine no problem adding new files via deploying feature. can add them neatly document library or create new folders elements file.

however problem arise when deploy wsp production server. want add few js files , xsl file style library files won't added document library. deployment process goes smooth though no errors , when check feature in sharepoint hive, new files there on physical drive! won't added virtual document library.

i can update existing files masterpage , css files feature deployed working.

my guess either has permission problems or bug in code. did have done before when deploying.

this how elements.xml file looks like:

<?xml version="1.0" encoding="utf-8"?>   <elements xmlns="http://schemas.microsoft.com/sharepoint/">     <module name="alayout" url="_catalogs/masterpage" rootwebonly="true" >       <file path="alayout\_a_intra.master" url="_a_intra.master" type="ghostableinlibrary" />     </module>     <module name="alayoutstyles" url="style library" rootwebonly="true" >       <file path="alayout\styles\z_aintra_core.css" url="z_aintra_core.css" />       <file path="alayout\styles\aintra_std.css" url="aintra_std.css" />   </module>     <module name="alayoutstyleimages" url="style library/img" rootwebonly="true" >       <file path="alayout\styles\img\a-logobig.png" url="a-logobig.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\bg.png" url="bg.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\divider.png" url="divider.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\nav-bg-hovered.png" url="nav-bg-hovered.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\nav-bg-radius-left.png" url="nav-bg-radius-left.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\nav-bg-radius-right.png" url="nav-bg-radius-right.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\nav-bg-selected.png" url="nav-bg-selected.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\nav-bg.png" url="nav-bg.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\nav-divider.png" url="nav-divider.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\top_bg.png" url="top_bg.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\user-account-radius-left.png" url="user-account-radius-left.png" type="ghostableinlibrary" />       <file path="alayout\styles\img\user-account-radius-right.png" url="user-account-radius-right.png" type="ghostableinlibrary" />     </module>     <module name="alayoutscript" url="style library/js" rootwebonly="true" >       <file path="alayout\js\script.js" url="script.js" type="ghostableinlibrary" />       <file path="alayout\js\plugins.js" url="plugins.js" type="ghostableinlibrary" />   </module>     <module name="alayoutscriptlibs" url="style library/js/libs" rootwebonly="true" >       <file path="alayout\js\libs\jquery-1.4.2.min.js" url="jquery-1.4.2.min.js" type="ghostableinlibrary" />     </module>   </elements>   

the last 2 modules (for javascript) ones can't deploy document library. tried different document libraries still doesn't work on production server, locally. , can't deploy sharepoint hive via feature.

anyone can think of missed?

wow, solution simple. deactivated feature in sharepoint administration, , reactivated , new files got deployed.

why happened, don't know. if version feature instead of uninstall->add might fixed? why behavior different on production farm vs local? etc.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -