dokuforest.com

|

growing a forest

Enabling session state on sharepoint 2010 for reporting purposes. (Project web database).

August 23rd, 2011

To enable SessionState, follow these steps:

  1. Open Internet Information Services (IIS) Manager
  2. Navigate to down to the site that is your SharePoint 2010 instance.  Typically, this will be named “SharePoint – 80”.
  3. Open the Modules settings.
  4. Under the Actions menu to the right, select Add Managed Module…
  5. Wait for the dialog to pop up…(it takes a bit)
  6. Enter a name for the new module, like “SessionState” (this is for reference only), and select the type of System.Web.SessionState.SessionStateModule, Version=2.0.0.0.

Nice SharePoint Site

August 23rd, 2011

http://www.sharepointsharon.com/resources/handbook-2010/

SharePoint Foundation 2010 – no search results – Error message in Event Log

August 19th, 2011

After a clean install of SharePoint Foundation 2010 I received the following error in the event log:

Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation Search
Event ID: 14
Task Category: Gatherer
Level: Warning
User: Domain\User
Computer: computer.domain.local
Description:
The start address sts4://sharepoint.website.com/contentdbid={xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} cannot be crawled.
Context: Application ‘Serve_search_queries_over_help_content’, Catalog ‘Search’
Details:
Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has “Full Read” permissions on the SharePoint Web Application being crawled. (0×80041205)

Reason:
This error will occur, at the time of crawling the SharePoint application content because you may have provided a URL to access the SharePoint web application like http://sharepoint.website.com.
When the search engine tried to crawl the content using the sharepoint.website.com URL, the server will reject the request because it will take the request as “LoopBackRequest”.

Solution:
You need to disable the LoopBackRequest in registry. To do this follow these instructions:

1. Go to command window and type regedit.exe
2. Once opened the registry editor, just navigate to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa”
3. Right click on “Lsa” and create a new 32bit DWORD value
4. Rename it as “DisableLoopbackCheck” (Note: you cannot rename it actually. so, once created the DWORD value, directly paste/type as “DisableLoopbackCheck”.
5. Then again modify the value of “DisableLoopbackCheck” as “1″
6. Close the registry editor.
7. Now start to crawl the content.

Adobe Reader Registry Editing

June 14th, 2011

Not sure exactly what this is for, but filing it on here anyway as it has some useful adobe editing information. this information was taken from the adobe website.

 

This error can occur when the folder that contains Adobe Acrobat or Adobe Reader, or one of it parent or sub-directories has been renamed or moved, or Adobe Reader or Acrobat has otherwise become confused which exact application to use as helper application within the browser.

SOLUTION


Solution 1: Make sure the registry setting that tells the browser where to find Adobe Acrobat or Adobe Reader is correct.Disclaimer: The registry contains system-related information that is critical to your computer and applications. Before modifying the registry, be sure to make a backup copy of it. Adobe doesn’t provide support for problems that may arise from improperly modifying the registry. Adobe strongly recommends that you have experience editing system files before you modify the registry. For information on the Windows Registry Editor, see the documentation for Windows or contact Microsoft Technical Support.

Go to Start > RunType regedit and click OK.Browse to the following key: HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\ExeMake sure that the correct Default data value is set for the path where Adobe Reader or Acrobat are installed.The default installation values are “C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe” or “C:\Program Files\Adobe\Reader 9.0\Reader\Acrobat.exe”, depending on whether Adobe Reader or Adobe Acrobat is installed.

Solution 2: Configure the browser to use Acrobat or Adobe Reader as a helper application.After you configure Acrobat or Adobe Reader as a helper application, the browser starts the helper application in a separate window and displays PDF files within that window. Acrobat and Adobe Reader both include a preference that lets you specify Acrobat or Adobe Reader as the helper application.

To configure Acrobat or Adobe Reader as a helper application:Start Acrobat or Adobe Reader.Choose Edit > Preferences.Select Internet on the left.Deselect Display PDF In Browser Using [Acrobat application], and then click OK.Quit Acrobat or Adobe Reader.The next time you select a link to a PDF file in the browser, a dialog box asks what you would like to do with the file. If you select Open It, the browser opens the PDF file in Acrobat or Adobe Reader (the helper application); if you select Save It To Disk, the browser saves the PDF file to your hard drive.

Solution 3: Make sure all previous version of Acrobat and Adobe reader are removed from your computer.Make sure all previous versions of Acrobat and Reader have been removed from your computer. Reinstall from Acrobat disk or download. In the case of Reader install from the download. If installing on Vista then right-click on the Installer and choose to Run As Administrator.

Solution 4: Run Acrobat/Reader in a new local administrator account.Create a new user account that has the same permissions as the account you use when the problem occurs, or create a new local administrator account. If the problem doesn’t recur when you are logged on to the new account, then the original user account may be damaged.

SharePoint 2010 – Explorer View Issue

June 13th, 2011

I ran into many issues getting the explorer view to work correctly on my machines:

I would Receive the following error message:

“Your client does not support opening this list with Windows Explorer”

Steps I took to resolve:

Server 2008 R2 > SharePoint 2010 > Claims Based Authentication.

Site is configured for Windows and Form Based Authentication.

Enable the following Box under Central Administration:

Under Security > Authentication Providers > Default (Claims Based Authentication) > Client Integration “Yes”

Install Desktop Experience on the Server – under Features.

Confirm that WebClient service is enabled and running on Server

On Client machine:

  1. Add the SharePoint Site to your “Trusted Sites” list
  2. When logging into the site as “windows Authenticated User” Make sure to check the box “Remember my password”
  3. Verify thT WebClient Service is running under windows services.

 

Powershell – how to output information to a text file

June 8th, 2011

When working in powershell if you would like to output the information listed in a text file add the following to the end of the command.

| out-file c:\test.txt

The symbol shown is the “pipe” symbol, shift+backslash

example command: get-spwebapplication | out-file c:\test.txt

If you receive an error message because you are trying to right the file to the C: drive. Make sure you are running powershell in Administrative mode (right click > run as administrator) when launching powershell.

 

 

New Local Move Request using Powershell for Large number of corrupted items – Exchange 2010 transition

April 20th, 2011

During an exchange 2010 transition from exchange 2003 I ran into an issue where a user with a very large mailbox and many corrupted items was failing to migrate to the new exchange server successfully by using the exchange console to initiate a new local move request.

(the max limit of corrupted emails through the exchange console is 50 items ignored)

I completed the following command using Powershell and set the bad item limit to 400 to allow it to successfully migrate.

New-MoveRequest -Identity ‘doku’ -PrimaryOnly -TargetDatabase “Mailbox Database 0578547232″ -BadItemLimit 400 -AcceptLargeDataLoss

http://technet.microsoft.com/en-us/library/bb124495.aspx

 

Mail Enabled Security Groups – Exchange 2010

April 20th, 2011

Enable-DistributionGroup -Identity “doku-sec-grp”

http://technet.microsoft.com/en-us/library/bb123805.aspx

SharePoint Foundation Security Token Not Issuing Tokens Authentication Issue

March 30th, 2011

Changing the Authentication Method in IIS 7:

I received an error message in SharePoint stating the following:

The Security Token Service is not available – The Security Token Service is not issuing tokens. The service could be malfunctioning or in a bad state.

I also receive a windows application event log error:

An exception occurred when trying to issue security token: The HTTP request is unauthorized with client authentication scheme ‘Negotiate’. The authentication header received from the server was Negotiate, NTLM.

Source: SharePoint Foundation

Event ID: 8306

Event ID 8306 SharePoint Foundation

Upon receiving this error message I investigated the Authentication settings for my SharePoint Web Services (this is the site responsible for issuing the security tokens).

Under IIS 7 > Sites > SharePoint Web Services > Authentication > Windows Authentication (enabled) > Advanced Settings > Check Enable Kernal-mode authentication.

Kerberos enable

I found that this was unchecked, upon checking this setting and completing an IISRESET (from PowerShell) the Security Token issue was resolved and the alert no longer shows in Central Administration.

Unable to send email to mailbox on exchange 2003 from exchange 2010 mailbox during coexistence

March 5th, 2011

If you are experiencing issues routing email between your servers during a coexistence. one option may be to create a new routing group.

http://technet.microsoft.com/en-us/library/aa996924.aspx

http://technet.microsoft.com/en-us/library/aa996924.aspx

EMS command:

New-RoutingGroupConnector -Name "Interop RGC" -SourceTransportServers
"Ex2010Hub1.contoso.com" -TargetTransportServers "Ex2003BH1.contoso.com"
 -Cost 10 -Bidirectional $true -PublicFolderReferralsEnabled $true