How to copy a file via remote desktop connection

In some cases, you may need to copy a file from your local computer to a server, or vice versa, via a remote desktop connection (RDP). In most cases, you can easily do it by exposing your local disks directly to the remote machine. But in some case, this is not possible. For example, where…

1

Lost authentication cookies in SharePoint

Are your users complaining about losing their session in your SharePoint environment? Or do your users complain about being thrown out after a while? This might be the explanation. When the user has entered his credentials, a cookie is returned to the client (when using claims authentication or other cookie-based authentication methods). This cookie is contained in the header…

1

Deploying search synonyms to SharePoint Search

SharePoint 2010 Search enables you to add search synonyms via XML configuration files on the server. The configuration is well described on TechNet and seems pretty straighforward. There are sample files in the installation, that you can use as a starting point, but straight away, we saw some challenges related to governance and deployment: Manual…

0

How is the link to people’s My Site from Outloook provided?

In Lync and Outlook you can hover over a contact to get a popup showing ways to interact with the person. This is what it looks like in our environment: When hovering over the persons name, you should get the option to view the persons profile page, or “My Site”. But in a standard installation,…

0

Removing an invalid WebConfigModification using Powershell

SharePoint supports adding web.config modifications programmatically. Here is an example from MSDN. Each modification is stored with a web application, and you are able to list them using the following command: $webapp = Get-SPWebApplication http://<your web app url>$w.WebConfigModifications If you want to remove an invalid entry, use the following commands: $modification = $webapp.WebConfigModifications | where { $_.Name -eq “<the name of…

0

Incorrect syntax near the keyword ‘AS’

The error “Incorrect syntax near the keyword ‘AS’” can occur when you try to run SQL scripts that require SQL Server 2008 on an earlier version of SQL Server. In my case it occurred while installing NewsGator Social Sites. SharePoint 2010 supports SQL Server 2005 (in some scenarios), but NewsGator requires SQL Server 2008 SP1.

0

How to speed up SharePoint Management Shell startup

On virtual machines without internet access it may take 1-2 minutes to start SharePoint Management Shell. The problem is that when loading signed assemblies the .NET Framework checks the Internet based certificate revocation list. The timeout for each check is 30 seconds. To avoid this check, set the following registry key: [HKEY_USERS\<userid>\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing] “State”=dword:00023e00

0

Troubleshooting SharePoint logging

Both the Event Log and the ULS log are invaluable sources of information when monitoring or debugging your SharePoint solution. Sometimes logging doesn’t work. In my experience these are the most frequent reasons: The log disk is full. The application pool account of your web application is not a member of the  “Performance Log Users” group on ALL…

0

Configure redirect via IIS using command line script

In our current project, we were moving an old SharePoint installation to a new farm, As part of this migration, we got a new, nicer DNS name. We wanted to support old users who had bookmarks etc., by doing a redirect. First of all, we configured both DNS’s to point to the same IP address,…

0