kwizcom banner advertisement

Get Rid of Visual Studio Just-In-Time Debugger Popup

October 29, 2013    , ,
Getting Visual Studio Just-In-Time Debugger popup window often? here is how to disable it: From the Just-In-Time Debugger popup window, Select "New instance of Microsoft Visual Studio 2010" and Click on "Yes" button for Do you want to debug using the selected debugger? This opens Visual Studio. Close the error message window. Go to Tools >> Options >> Debugging >> Just-In-Time From the Just-In-Time dialog box, Un-check All options, (Managed, Native and Script) and click on "OK" to save changes. That's all!
Get Rid of Visual Studio Just-In-Time Debugger Popup Get Rid of Visual Studio Just-In-Time Debugger Popup Reviewed by Salaudeen Rajack on October 29, 2013 Rating: 5

Set-SPPassPhrase: Error deploying administration application pool credentials. Another deployment may be active.

October 28, 2013    , , ,
Problem: Got this error message when trying to change pass-phrase in a SharePoint 2013 farm: Set-SPPassPhrase: Error deploying administration application pool credentials. Another deployment may be active. an object of the type Microsoft.SharePoint.Administration.SPMasterPassphraseDeploymentJobDefinition named "Job-admin-passphrase-change" already exists under the parent Microsoft.SharePoint.Administration.SPTimerJobService named "SPTimerV4". Rename your object or delete the existing object. Solution: Clear SharePoint Configuration cache on all SharePoint Servers! Make sure SharePoint timer job is successfully started after clearing SharePoint configuration cache. How to clear configuration cache in SharePoint How to Clear SharePoint Configuration Cache using PowerShell KB: https://support.microsoft.com/en-us/kb/939308 . If you still experience the trouble, Delete the timer job and try again with your pass phrase change: #Get the passphrase chan
Set-SPPassPhrase: Error deploying administration application pool credentials. Another deployment may be active. Set-SPPassPhrase: Error deploying administration application pool credentials. Another deployment may be active. Reviewed by Salaudeen Rajack on October 28, 2013 Rating: 5

How to Remove SharePoint WFE/APP Servers from the Farm?

October 28, 2013    , , , ,
How to remove SharePoint server from farm? As per the Technet article, Remove a server from a farm in SharePoint 2013 , Use Add/Remove Programs from "Control Panel" to remove SharePoint 2007/2010/2013 servers from the Farm. Control Panel >> Add/Remove programs >> Microsoft SharePoint Server 2013 >> Remove Make sure that the user account performing this procedure is a member of the Local Administrators group. However, If you try to rebuild SharePoint on the server, I would prefer to use "Disconnect this server from farm" option on PSCONFIG wizard. To remove SharePoint server from farm, Run "SharePoint Products Configuration Wizard" (psconfigui) and choose "Disconnect from this server farm option" and then run through the wizard. Once the wizard completed successfully on the server that you want to remove from the farm, that server won't be part of your SharePoint farm anymore! You can run the wizard again to join
How to Remove SharePoint WFE/APP Servers from the Farm? How to Remove SharePoint WFE/APP Servers from the Farm? Reviewed by Salaudeen Rajack on October 28, 2013 Rating: 5

Change "SharePoint" Branding Text in SharePoint 2013 Suite Bar

October 25, 2013    , ,
Ever wanted to change the "SharePoint" branding text in Suite bar (in top-left position) of SharePoint 2013 site? Well, You can set the web application's SuiteBarBrandingElementHtml property with PowerShell/Object model code, to change the text "SharePoint" shown in top left banner of  SharePoint 2013 sites. Customizing the SharePoint 2013 suite bar branding using PowerShell: Here is the PowerShell script to add link to suite bar in SharePoint 2013. Add-PSSnapin Microsoft.SharePOint.PowerShell #Get the Web Application $webApp = Get-SPWebApplication "http://extranet.crescent.com/" #Set the "SharePoint" text Property $webApp.SuiteBarBrandingElementHtml = "Crescent Extranet" # You can also replace it with Clickable Hyperlink - Images # $webApp.SuiteBarBrandingElementHtml = '<div class="ms-core-brandingText"><a href="http://extranet.crescent.com"><img src="http://extranet.cresce
Change "SharePoint" Branding Text in SharePoint 2013 Suite Bar Change "SharePoint" Branding Text in SharePoint 2013 Suite Bar Reviewed by Salaudeen Rajack on October 25, 2013 Rating: 5

Column Default Value Settings based on Location in SharePoint 2013

October 24, 2013    , , , ,
While its possible to set default values for SharePoint columns in library level at field settings, What if you want to set the default column value of a document based on the folders its saved? SharePoint 2010/2013 provides a new feature to set metadata values based on the location! Tips: In short, We can apply default value to specific metadata column of the document, based on the specific folder where the document is stored in a document library! How to Set Default Metadata from Document Location? Say, We've a document library with "Department" column and with few folders namely "Sales", "Marketing", "IT", etc. as in this screen. and we want to the metadata field "Department" value based on the location. Set Column Default Value Settings in SharePoint 2013 Go to List / Library settings >> Click on Click on the desired metadata column link of the respective folder(s) and set the value for it When users upload
Column Default Value Settings based on Location in SharePoint 2013 Column Default Value Settings based on Location in SharePoint 2013 Reviewed by Salaudeen Rajack on October 24, 2013 Rating: 5

Windows NLB Vs Hardware Load Balancer for SharePoint

October 18, 2013    ,
It's a best practice to use Hardware load balancer rather Windows NLB for SharePoint (or any other web applications!) for following reasons: NLB uses local resources on each server in the cluster - Which means additional load on SharePoint servers! NLB Cannot detect service outage. It can only detect server outage by IP address. If a particular server service fails, is hung, slow, or depreciated - WNLB cannot detect the failure and will still route requests to that server. NLB doesn't provide any specific feature or optimization such as : SSL off-loading, compression, Caching, Certificates management, etc. NLB is DNS Round Robin (RR) which simply forward the client hits to defined interfaces. So it leads to uneven spread of workloads across cluster nodes resulting in slow user response times and high latency for the application. Performance can degrade as more nodes are added to the cluster Adding or removing a single node can cause clients to reconnect to the WNLB clust
Windows NLB Vs Hardware Load Balancer for SharePoint Windows NLB Vs Hardware Load Balancer for SharePoint Reviewed by Salaudeen Rajack on October 18, 2013 Rating: 5

How to Rename SharePoint Folder Programmatically?

October 18, 2013    , , , , ,
To rename a folder in SharePoint 2010, Navigate to the library where the folder exists. Click on "Edit Properties" Provide new name to the folder and click on "Save" button. How rename SharePoint folder programmatically?  To rename a folder in SharePoint document library programmatically, using C# object model code: FolderPath = "http://YOUR-SharePoint-Site/sites/sales/documents/Invoices"; SPFolder TargetFolder = SPContext.Current.Web.GetFolder(FolderPath); Target.Item["Name"] = "Invoices 2014"; Target.Item.Update(); Rename SharePoint Folder using PowerShell: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Get the Web $Web = Get-SPWeb "http://sharepoint.crescent.com/sites/branding/" #New Name for the Folder $NewFolderName = "Icons"; #Get the Folder to Rename by its path $folder = $Web.GetFolder("http://sharepoint.crescent.com/sites/branding/DesignDocuments/Symbols&
How to Rename SharePoint Folder Programmatically? How to Rename SharePoint Folder Programmatically? Reviewed by Salaudeen Rajack on October 18, 2013 Rating: 5

Backup and Restore (Export-Import) Lists in SharePoint 2013 using PowerShell

October 17, 2013    , , , ,
Requirement: Backup and restore a SharePoint 2013 list between sites. Solution: While saving a list as template, including its content is one solution, it doesn't work for lists larger  than 50 MB! So, follow below steps to export-import lists in SharePoint 2013 using PowerShell. Export a SharePoint list using PowerShell: Use Export-SPWeb cmdlet with ItemURL parameter to export a SharePoint list. Syntax: Export-SPWeb <Site URL> -Itemurl  <Relative path of List or Library> -path <Backup-path> E.g. Export-SPWeb "http://crescent.com/HRv2" -itemurl "/Lists/Invoice" -path "D:\Invoice.bak" You can also export a SharePoint list from SharePoint 2013 central administration site. Central Administration >> Backup and Restore >> Export a site or list Restore (Import) SharePoint lists using PowerShell: Now, to import lists to SharePoint 2013, use: Import-SPWeb cmdlet Import-SPWeb "http://intranet.crescent.c
Backup and Restore (Export-Import) Lists in SharePoint 2013 using PowerShell Backup and Restore (Export-Import) Lists in SharePoint 2013 using PowerShell Reviewed by Salaudeen Rajack on October 17, 2013 Rating: 5

The server was unable to save the form at this time. Please try again

October 16, 2013    , , ,
Got this error message when trying to save a new list item. SharePoint didn't allow me save! "The server was unable to save the form at this time. Please try again." It also repeated in few more situations like when trying to create new custom list, trying to add new folder, When performing a Search, etc. Root Cause: Observed, This issue is closely related to lack of server memory! Solution: Add more memory (RAM) to resolve this issue permanently!   As for workarounds and other possible causes, Try these solutions: Monitor your Server RAM usage. Try closing some programs running on the server. Restart "Search Host Controller Service" service in Services console (services.msc) Perform IISReset on SharePoint WFE(s) Make sure anonymous authentication enabled for SharePoint web application in IIS Run IE with out any Add-ons. You can also try using browsers other than IE (Try with Firefox/Chrome) If Security Token Service is in stopped state, Sta
The server was unable to save the form at this time. Please try again The server was unable to save the form at this time. Please try again Reviewed by Salaudeen Rajack on October 16, 2013 Rating: 5

Sign in as Different User in SharePoint 2013 - Workarounds

October 13, 2013    , , ,
SharePoint 2013 doesn't offer the handy "Sign-in as different user" feature as in its previous versions under welcome menu. Not very clear why Microsoft has removed this option, I guess might be due to security/caching problems! Even in MOSS 2007, we had this functionality But some times, you may have to login as different user who has different permission than the current user. Here are some possible workarounds to enable sign in as different user in SharePoint 2013. Option 1: Navigate to Close Connection Page Navigate to the URL: http:// Your-Site /_layouts/closeConnection.aspx?loginasanotheruser=true BTW, The above URL is just copied from SharePoint 2010's Sign-in as different user option, and it works for SharePoint 2013 as well! Replace "Your-Site" with the SharePoint 2013 site collection URL of your environment.Once you hit this URL, you will be prompted to enter your user name and password. You can also bookmark it! just drag and drop thi
Sign in as Different User in SharePoint 2013 - Workarounds Sign in as Different User in SharePoint 2013 - Workarounds Reviewed by Salaudeen Rajack on October 13, 2013 Rating: 5

How to Create a Subsite in SharePoint 2013?

October 10, 2013    , , , ,
Subsite creation process is pretty straight forward in SharePoint. To create a SubSite in SharePoint 2013, follow these steps: How to create a subsite in SharePoint from Web Interface:  Navigate to your SharePoint site >> Click on Site settings gear icon >> choose Site Contents menu item. Scroll-down and click on "New Subsite" link in the bottom of the site contents page, Which would point to the URL: http://Your-SharePoint-Site/_layouts/15/newsbweb.aspx Fill out the new SharePoint site creation page according to your requirement. Provide values for parameters such as: Site Title, Description, Site URL Select the appropriate template for your subsite Select the permission inheritance options. Specify whether this subsite has to inherit permissions or should use unique permissions of its own. Specify navigation options. Finally, click on "Create" button to create new subsite in SharePoint 2013!  This adds a new subsite in SharePoint!
How to Create a Subsite in SharePoint 2013? How to Create a Subsite in SharePoint 2013? Reviewed by Salaudeen Rajack on October 10, 2013 Rating: 5

Set SharePoint Library Column Value from Document File Name

October 01, 2013    , ,
Requirement: In a SharePoint 2007 site, We've a document library with 1000+ documents loaded. We got a requirement to add two new fields "Year" and "Quarter " and update those meta data field values from the document name. Here is the screenshot of the list: Solution: PowerShell script! We analyzed that the Year & Quarter values are separated by "__". So, Lets write a PowerShell script to extract the required data from document name and set the columns programmatically. [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") #Using Get-SPSite in MOSS 2007 function global:Get-SPSite($url) { return new-Object Microsoft.SharePoint.SPSite($url) } Function global:Get-SPWeb($url) { $site= New-Object Microsoft.SharePoint.SPSite($url) if($site -ne $null) { $web=$site.OpenWeb(); } return $web } $url = "http://sharepoint.crescent.com/finance/ARL/&q
Set SharePoint Library Column Value from Document File Name Set SharePoint Library Column Value from Document File Name Reviewed by Salaudeen Rajack on October 01, 2013 Rating: 5
Powered by Blogger.