Skip to main content

Posts

Showing posts with the label SharePoint 2010 Foundation

SharePoint 2010 Foundation Audit Settings

I have recently implemented audit for SharePoint 2010 Foundation using PowerShell. There was a couple of discussions where some people said it's impossible to enable audit in SharePoint 2010 Foundation: http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/53e79142-88c9-48f1-b5a5-a6259c9f6f97 http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/ec1e2e7e-2fcf-4d16-8c25-a44198b651d9 Solution: 1. Go to Start -> All Programs -> Microsoft SharePoint 2010 Products -> SharePoint 2010 Management Shell 2. When it is loaded you then run the following command to get your site collection object: $site = Get-SPSite http://site_URL 3. If you don't get errors then execute the following commands one by one to set audit options and update it: $site.Audit.AuditFlags = [Microsoft.SharePoint.SPAuditMaskType]::Update $site.Audit.Update() 4. [Microsoft.SharePoint.SPAuditMaskType]::Update is a enum value of type SPAuditMaskType. You can hav...

Issue connecting to SharePoint 2010 Foundation site from iPhone

You can get an error when trying to browse your SharePoint 2010 Foundation site on iPhone or Safari 5.0 browser. The symptoms: when you navigate to your Web site using its URL as http://mightysharepointsite.com or something you will get the following very descriptive error " Unexpected error - Correlation ID: 1abc234d-ab5c-6789-012a-a1b2c34de5fg Date and time: 03/08/2010 12:54:09 PM ". This error actually means: " System.ArgumentException: Item does not exist. It may have been deleted by another user.    at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc) at Microsoft.SharePoint.SPList.GetItemByIdSelectedFields(Int32 id,    String[] fields) at Microsoft.SharePoint.SPWeb.GetListItem(String strUrl, Boolean bFields, String[] fields)     at Microsoft.SharePoint.Utilities.SPMobileUtility.GetMobileFileUrl(String absolutePath, SPWeb we...

Setting up External Content Type for SQL Server database using SQL Server authentication - SharePoint 2010 Foundation

This post is a follow up on the issues that I have got setting up External Content Type (ECT) on SharePoint 2010 Foundation that was going to connect to remote SQL Server database for information. I cannot use my SharePoint user accounts to access SQL Server. According to the information I have discovered ECT and Business Connectivity Services are available in the SharePoint 2010 Foundation, but there are some issues if you want to use authentication methods in your external connections that are different from Windows Identity or Current User Identity. This is because there is no Secure Store Service in SharePoint 2010 Foundation which serves as an impersonation hub and is only available in SharePoint 2010 Server edition. The issues are coming from the fact that you can actually create ECT in SharePoint Designer 2010 providing just Secure Store ID and system would ask you for credentials and here you go, but when you try to use your ECT in External Lists or as a lookup columns you w...