Log in to the SharePoint Server and execute the Powershell script below. $web = Get-SPWeb("http://YourSite") $list = $web.Lists["Documents"] $list.AllowDeletion = $true $list.Update() You can now go to the Document Library and try deleting it or you can just run the line below. $list.Delete()
Category Archives: SharePoint 2007
Ghantt View Default Zoon
Add a Media Content – Script Editor Web Part and add the following code.
src=“http://code.jquery.com/jquery-1.11.1.min.js” type=“text/javascript”>
type=“text/javascript”>
$(document).ready(function () {
var count = 0;
setInterval(function () {
if (count 2) {
for (var i = 0; i 2; i++) {
if (WebPartWPQ2_JSGridController != null) {
WebPartWPQ2_JSGridController.ZoomOutGantt();
count++;
}
}
}
How to get rid of the “Edit links” link in the top navigation in SharePoint
Add a Media and Content – Script Editor web part and add the code below.
<style>
.ms-displayInlineBlock{
display: none;
}
</style>
Center-Align “Title” of Picture Library Slideshow Web Part
Add this to a Script Editor Web Part
<style>
div[ID^="MSOPictureLibrarySlideshowWebPart"] {text-align:center;}
</style>
Remove the extra space a web part in SharePoint
<style type=
"text/css"
>
.ms-webpartPage-root {
border-spacing
:
0px
!important
;
}
.ms-webpartzone-cell {
margin
:
0px
!important
;
}
</style>
Hide View All Site Content and Recycle Bin in Quick Launch
1. Site Settings > Edit Page
2. Add a Content Editor Web Part anywhere in the page.
3. Click on Edit – Modify Shared Web Part.
4. Click on “Source Editor” button and copy and paste the following code.
<style>
.ms-recyclebin {
display:none;
}
</style>
<style>
.ms-quicklaunchheader{
display:none;
}
</style>
5. Click Save
6. Expand Layout section inside toolpane.
7. Check the Hidden checkbox and click OK.
The search request was unable to connect to the search service
1- Open Central Administrator
2- Go To Operations –> Services on server
3- Select the server you are using for query role.
4- Click on “Office Sharepoint Server Search“.
5- Check the option “Use this server for serving search queries“.
6- Provide credentials and check other settings and click on OK.
Migrating SharePoint from 2007 to 2010 Best Practices
Your search cannot be completed because this site is not assigned to an indexer. Contact your administrator for more information.
1. Go to Central Admin
2. Go to Application Management tab
3. Select SharePoint Web Application Management
4. Select your web application
5. Select a content database
6. Select your content database name
7. Under Search Server – select your server
(if your search server drop down is disabled please follow the additional steps below)
1. Go to 12 hive folder and open stsadm.exe utility
2. Run the following command psconfig.exe -cmd services -install
3. Then run stsadm -o spsearch -action start
You must be logged in to post a comment.