Posts

Showing posts with the label Central Administration

WSP not deployed in all SharePoint servers in the farm

Image
If you want to deploy wsp file on the SharePoint farm ... and the installation failed on some of the farm servers -  then the solution is the timejob SharePoint deploy Run this code at SharePoint PowerShell $farm  = Get-SPFarm $disabledTimers = $farm.TimerService.Instances | where {$_.Status -ne "Online"} if ($disabledTimers -ne $null) {     foreach ($timer in $disabledTimers)     {         Write-Host "Timer service instance on server " $timer.Server.Name " is not Online. Current status:" $timer.Status         Write-Host "Attempting to set the status of the service instance to online"         $timer.Status = [Microsoft.SharePoint.Administration.SPObjectStatus]::Online         $timer.Update()     } } else {     Write-Host "All Timer Service Instances in the farm are online! No problems found" } PowerShell timer job Before reinstalling recycle time Job on each ...

SharePoint Service Provisioning - the service stuck on starting

Image
When I tried to run SharePoint service - Manage Metadata Web Service on the Central Admin ... I wait and still Staring (Stuck)... So again I ran the command (From SharePoint PowerShell) Get-SPServiceInstance -Server SERVERNAME| where-object  {$_.TypeName -eq "Managed Metadata Web Service"} | Start-SPServiceInstance -confirm:$false > $null And I got the Error Start-SPServiceInstance : An object of the type Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition named "job-service-instance-ba7339e3-fb42-49c4-ac66-ab08e84eae0f" already exists under the parent Microsoft.SharePoint.Administration.SPTimerService named "SPTimerV4".  Rename your object or delete the existing object. At line:1 char:111 + ... eb Service"} | Start-SPServiceInstance -confirm:$false > $null +                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ...

Converting SharePoint site from Version 2013 to 2016

Image
In this time Microsoft did a good job with Migration SharePoint 2013 to SharePoint 2016, and within a few hours it is possible to upgrade the site from 2013 to 2016 Even the code in Visual Studio was easy to upgrade  fron VS 2013 to VS 2015 update 3 with Office package I did this steps  Save wsp website (version 2013) Copy (backup restore) the DataBase from SQL 2012 DB 2016, and to ensure that it has sp admin privileges DB_Owner to the new DB In Central Adminstration -> Manage web applications a. Creating a Web Application with DB temporary b. Create a Site Collection c. Setting up the site in the hosts found in the C:\Windows\System32\drivers\etc\ with a local IP  Add the wsp site (Old from 2013) a. In powerShell -> Add-SPSolution -LiteralPath PATH b. Installing the solotion site (or in powerShell -> Install-SPSolution or in Central Adminstration -> System Settings -> Manage farm solutions) Remove the temporary DB site (in Central Adminstrati...

How to open a PDF file (or any file) in the sharepoint site

Image
Not long ago, I had to view a PDF file from sharepoint . But I got the following message: Do you want to save file-name from yours-site Who does not know this message? But I've  target ' self ' in 'a' tag html???? It turns out that SharePoint having your code to protect customers. They can only give you their familiar software like Office, but a pdf file - Microsoft unfamiliar terms. To resolve, you need to make a change in Central-Admin Go to your Web Application manage - General Setting Find Browser File Handling and Change the default to Strict . It all friends, now you can view any file on the portal (at your own risk). Your, Roi

Sharepoint 2007 Crawl Never Ends - Always Status Crawling

Image
I had "Not Stopped the Search Index Crawler " case in SharePoint 2007 (in “ Crawling ” status indefinitely) and doesn't respond to stop requests I had not stopped the search case " Stop Crawl " But nothing - stuck " Stopping " The solution:  Enter the following stsadm commands : execadmsvcjobs , osearch -action stop, -o osearch -action start -role Index C:\>stsadm -o  execadmsvcjobs Executing . Operation completed successfully. C:\ >stsadm -o osearch -action stop The Office SharePoint Server Search service was successfully stopped. C:\>stsadm -o osearch -action start -role Index The Office SharePoint Server Search service was successfully started. Now you need to do - Reset all craweld content Now re-run the indexing, this should solve the problem. Hope I helped, Roi

How to install and work with lockdown feature in SharePoint

Image
Lockdown Feature - if you want to lock anonymous users out of your SharePoint Forms pages on public site, Follow these steps: 1. Write this command on the server stsadm.exe –o activatefeature –url http://YourSite -name ViewFormPagesLockDown 2. Define Anonymous 2.1 Go to: Central Administration > Application Management > Authentication providers 2.2 Choose your site 2.3 Anonymous Access -> Enable anonymous access Now go to your site and define the site Anonymous. 2.3 Site Actions > Site Settings > Modify All Site Setting Users and Permissions > Advanced permissions > Actions > Anonymous Access > All sites Tips: 1 - If you broken your Permissions you will need to it (2.3) to all your sites 2 - Look this link: Work with a SharePoint list and Lockdown Feature

Create Images Search Result in SharePoint - Part 3

Image
Edit Search WebPart In this articles I'll explain how to create the formatted image search results There are three steps to perform this operation at MOSS 1. Create an Image scope at the SharePoint Search. 2. Create New Rules for SharePoint Search. 3. Edit Search Web part. Edit Search WebPart Now at your page that you create (picturesResults.aspx) Go to Edit page-> Core Results WebPart -> Modify Shared Web Part -> Xsl Editor And add this source: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:param name="ResultsBy" /> <xsl:param name="ViewByUrl" /> <xsl:param name="ViewByValue" /> <xsl:param name="IsNoKeyword" /> <xsl:param name="IsFixedQuery" /> <xsl:param name="ShowActionLinks" /> <xsl:param name="MoreResultsText" /> <xsl:param name="MoreResultsLink" /> <xsl:pa...

Create Images Search Result in SharePoint - Part 2

Image
Create New Rules for SharePoint Search In this articles I'll explain how to create the formatted image search results 1. Create an Image scope at the SharePoint Search. 2. Create New Rules for SharePoint Search. 3. Edit Search Web part.   Create New Rules for SharePoint Search. Go to "SharePoint 3.0 Central Administration". Afther, go to Shared Services Administration- > Your SSP -> Search -> Search administration -> Queries and Results - > Scopes -> Your Scope And create your rules, like FileExtension = JPG FileExtension = GIF FileExtension = PNG   Now go to Crawling -> Content sources -> at your source run full crawl see more at Create Images Search Result in SharePoint - Part 1 Create Images Search Result in SharePoint - Part 3 There are three steps to perform this operation at MOSS

Create Images Search Result in SharePoint - Part 1

Image
Create an Image scope at the SharePoint Search In this articles I'll explain how to create the formatted image search results There are three steps to perform this operation at MOSS 1. Create an Image scope at the SharePoint Search. 2. Create New Rules for SharePoint Search. 3. Edit Search Web part.   Create an Image Scope at the SharePoint Search Go to "SharePoint 3.0 Central Administration". Now go to Shared Services Administration- > Your SSP -> Search -> Search administration -> Queries and Results - > Scopes -> New Scope Fill in the details of the form And click OK. (Create Scope See also the following article: Create a new scope in SharePoint search ) see more at Create Images Search Result in SharePoint - Part 2 Create Images Search Result in SharePoint - Part 3

Problems with wrong Alternate Access Mappings in SharePoint

Image
Does it ever happen to you that you're overwhelmed with problems, and you have no idea where to start? ... That was recently the case for me. I started a new Internet Web site in SharePoint 2007 (Anonymous site). I created a new edit site in a different port . Everything looked normal, the web parts are standards. The usual design ... All good. Then ... Problems began to emerge: 1. One Web Part that works with the site columns , does not work well on the editing site. I looked the code, but everything looks ok... The usual site (port 80) is working properly. 2. For some reason, in the editor site, it's impossible to list using the datasheet . 3. The most serious problem, when entering into Share Point Designer, and trying to run " Detach from Page Layouts " to a page I get " object reference not set to an instance of an object ." What does this mean? I will not give you my rigors of the journey for finding a solution, (Google didn’t help this time),...

Web Appliction Restore Error in SharePoint

Image
נפלאות הם בעיות בMOSS . כאשר ניסיתי לשחזר Web Appliction דרך הCentral Admin ב (Central Admin -> Operations ->Restore from backup) זה מה שקיבלתי בתהליך האחרון (שלב 4) Object WebAppName failed in event OnRestore. For more information, see the error log located in the backup directory. SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name= WebAppName Parent= SPWebService is being updated by USER , in the OWSTIMER process, on machine MACHINENAME . View the tracing log for more information about the conflict. מה קורה פה? אי אפשר לעבור שחזור בלי בעיות. נפלאות הם הפתרונות בMOSS . כל מה שצריך לעשות זה: לבטל את התזמון של השחזור (ללחוץ delete בTime Job Definition). למחוק את הWeb Application החדש שנוצר. ואז לבטל את הservice'ים של הSharePoint... כן, כן, לבטל את הservice'ים ב Services on server. לבצע את השחזור שוב, ואז להחזיר את הservice'ים. תהנו, רועי קולבינגר

Upload form in infopath errors

Image
 ישנו פתגם עממי שאומר "צרות באות בצרורות", זה בדיוק מה שקרה לי. כאשר ניסיתי לעלות קובץ infopath הוא נכשל. לא יחסתי לזה חשיבות וניסיתי שוב. הפעם נסיתי לבצע Verify לפני וגם ה Verify נכשל. קובץ הלוג הראה את הצרה הבאה: Microsoft.Office.InfoPath.Server.Converter.AspxDepthFirstWalkingVisitor.VisitChildControls(AspxControl control) at Microsoft.Office.InfoPath.Server.Converter.AspxDepthFirstWalkingVisitor.VisitDocument(AspxDocument document) at Microsoft.Office.InfoPath.Server.Converter.CssControlStateStylesVisitor.VisitDocument(AspxDocument document) at Microsoft.Office.InfoPath.Server.Converter.AspxDepthFirstWalkingVisitor.VisitControl(AspxControl control) at Microsoft.Office.InfoPath.Server.Converter.SolutionConverter.ConvertBrowserSpecificView(Solution solution, ConverterDocument converterDocument, AspxDocument aspxDocument) at Microsoft.Office.InfoPath.Server.Converter.SolutionConverter.ConvertView(Solution solution, ConverterDocument converterDocument) at Microsoft.Office...

Hello World SharePoint 2010

Image
הפעם אדגים הדברים הבסיסים ב SharePoint 2010. אדגים איך יוצרים אתר בSharePoint 2010, איך עורכים דף ואיך מעדכנים פריטים. בעצם פוסט זה מראה בצורה שטחית מאוד את הצורה החדשה של ה SharePoint. יצירת אתר בSharePoint 2010 יצירת אתר בSharePoint 2010 דומה מאוד לMOSS 2007. כל מה שצריך זה הרשאות מתאימות (SharePoint System Administrator). דבר ראשון יש להיכנס ל SharePoint 2010 Central Administrationדרך : Start -> All Programs -> Microsoft SharePoint 2010 Products -> SharePoint 2010 Central Administration. לאחר מכן יפתח הדפדפן. יש ללחוץ בתפריט הצדדי Quick Launch על Application Management. בעמודה של Site Collections יש ללחוץ על Create site collections. יש לבחור את Web Appliction, שם, תיאור... בדיוק כמו בMOSS 2007. בשביל ההדגמה אני בחרתי בתבנית Team Site. לאחר היצירה נגיע לדף Top-Level Site Successfully Created, שם יהיה קישור לאתר שיצרנו כרגע. כאשר נלחץ עליו נגיע לדף wikiשנקרא Home.aspx. עריכת הדף הראשי נלחץ על Site Actions ואז על Edit Page. עכשיו, בשונה מMOSS 2007, הSharePoint 2010 עובד עם ...