Showing posts with label SharePoint. Show all posts
Showing posts with label SharePoint. Show all posts

SharePoint 2010 Easy Setup Script

When you are preparing a computer as a development environment of SharePoint 2010, you will face a lot of issues or pre-requirement softwares/service packs.

I was planning to install SharePoint Foundation Server 2010 but wanted some easy steps to get that done. I googled and found an useful script.

Microsoft SharePoint is not supported with version 4.0.30319.239 of the Microsoft .Net Runtime

Whenever you face an error
"Microsoft SharePoint is not supported with version 4.0.30319.239 of the Microsoft .Net Runtime".
Refer the following items:

Cause Of Error:
All server-side customizations directly for SharePoint 2010 need to be either the .NET Framework 3.5 or the .NET Framework 3.5 SP1. SharePoint 2010 doesn't support access from .NET Framework 4 or being run in a .NET Framework 4 app domain. When you try to run any update made in .NET Framework 4.0 or higher, you will face this error.

Solution:

The request failed. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

When accessing any web service you may  face below error mesage:
The request failed. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

This can be resolved by adding following code just before you access the Secure web service


ServicePointManager.ServerCertificateValidationCallback += delegate(object sender,
X509Certificate certificate,
X509Chain chain,
SslPolicyErrors sslPolicyErrors)
{
return true;
};


Click here to view the original link.

By

SharePoint 2010 - Content Editor Web Part as FREE PDF viewer

If you want to show PDF file in SharePoint site, under browser window itself, below are the simple steps to get that done:
  • Open your SharePoint Site and edit the page
  • Add  a content editor webpart on the page.
  • Add follwoing html (including embed tag) code in that.
<embed allowtransparency="true" frameborder="no" scrolling="no" src="http://localhost/Documents/myPDFFile.pdf" style="height: 900px ! important; width: 100% ! important;"></embed>
  • Save the page.

This will show your PDF in SharePoint website.

Click here to read original article

SharePoint - Allow Anonymous Access on a SharePoint Application Page

Normally SharePoint doesn't allow anonymous access to browse application pages.

By overriding the a property, you will be able to allow anonymous access on your SharePoint Application Page.

Below are the code lines that can help you:


protected override bool AllowAnonymousAccess
{
get
{
//  default it is set to false
return true;
}
}
    
Try closing your browser and reopenit, it will open the page publicly.

By
If you find the above link useful, let us know your feedback, it will help us to improve our posting(s). or You can send your feedback linkOblast.
Report Broken Link

Error ID 72e9 Error in resolving user ‘ABC’: System.DirectoryServices.DirectoryServicesCOMException (0x8007202B): A referral was returned from the server...

When you have used PeoplePicker conrol in SharePoint 2010,  you might get below error instead of the user from Active Directory Services:
Error ID 72e9 Error in resolving user ‘Alpesh’ : System.DirectoryServices.DirectoryServicesCOMException (0x8007202B): A referral was returned from the server...
I found a solution provided at Joel Jeffery's blog with following details
We had a weird problem at one of my customers the other day. They’d built a SharePoint 2010 farm with one web application and three site collections.
In two of the site collections, the PeoplePicker control allowed the users to select the correct folks from their Active Directory. However, for one site collection, only users that already exist in the User Information List

SharePoint: Color Coded Calendars in MOSS


Here is a good sample code
Can a calendar display in colors?
I have been asked a few times if the SharePoint calendar can display
items in color. It turns out this is not too hard to do. The basic steps
are:

  • Add a column to the calendar list to pick the color
  • Add a calculated column to create the HTML to display the color. This can be done with HTML or CSS. This example uses "<FONT COLOR=".
  • Add the new column to the view
  • SharePoint will convert the "<" character into "&lt;" so we need to add a little JavaScript to convert it back. The easiest way to add the JavaScript is with a Content Editor Web Part


SharePoint : Create a team site Tutorial

Below is a good link that shows step by step video to create a team site in Microsoft Office SharePoint Server (MOSS) 2007

Click here to watch the video

If you find the above link useful, let us know your feedback, it will help us to improve our posting(s). or You can send your feedback linkOblast.
Report Broken Link

SharePoint Interview Questions

SharePoint Kings has prepared a good collections of questions for SharePoint under heading
"SharePoint Interview Questions"

One preparing for SharePoint or appearing for SharePoint Interview, should visit the link.

Click here to visit the original site


If you find the above link useful, let us know your feedback, it will help us to improve our posting(s). or You can send your feedback linkOblast.
Report Broken Link

SharePoint How To : Add a new user in your Site


Below is a good link that shows step by step video to add a new user in Microsoft Office SharePoint Server (MOSS) 2007

Click here to watch the video

How To : Backup and Restore in SharePoint 2010

Abstracts:
As a SharePoint Administrator, you need to set up a backup plan so that you can restore your SharePoint farm or SharePoint web applications without any hassles if a disaster happens or even to create a replica of your production environment for QA and development purposes.

Backup and restore functionality in SharePoint 2010 have matured tremendously from  previous versions. Now you can backup and restore farms as well as web applications from the Central Administration more easily. You can even take granular backups.

For example, you can take a backup of any specific site collection from the Central Administration. You can exportsite content to the file system and import it into another site.

And yes. now you don't need to setup another temporary farm to just restore some content from the backup, you can simply restore a content database on any SQL Server instance and then use the unattached content database recovery feature from Central Administration to restore the selected content.

This tip discusses the Backup and Restore of a SharePoint farm, web applications and components from the Central Administration as well as from PowerShell and the STSADM command.

Backing-up SharePoint farm from the Central Administration

Go to START -> All Programs -> Microsoft SharePoint 2010 Products -> SharePoint 2010
Central Administration.


On the left side, click on the Central Administration link and in right side, in the detail pane, you will see Backup and Restore options as shown below.

You can also directly click on the Backup and Restore link in the left side to go to Backup and Restore page as shown next.

Click here to read the full article

How To : Include images in People Search results under SharePoint 2010

I have upload all the user images to the User Photos folder in My Site,
the image showing on the User profile page but when I do the people
search, it doesn’t return image. After a few hours looking, I found
there is a check box in the Picture property was unticked. Once I
checked the box and run the full crawler on User Profile, all good now.

Click here to visit the original site

How To: Run SharePoint 2010 on Windows 7

Abstract:

Whilst I was one of the most vocal advocates
for the ability to run SharePoint Server on the client OS, it wasn’t
really something I ever thought I’d want to run myself. I understood why
it was of critical importance to enable this scenario, but I’m a farm
guy, topologies are my bag. When the beta release came about I slapped
it on a old machine just to see it working and left it at that. I also
checked out the quality documentation
over on MSDN which provides the convoluted steps to get it singing.
Such steps are a good thing, you need to really want to install it on
your client – no one can say that it will get installed by accident. :)
So it’s all good and that’s that, I’ll carry on doing my stuff as I was.
Or so I thought.

Like everyone else, I’ve been heads down
trying to get up to speed with all the new SharePoint PowerShell
cmdlets, and revitalising my long lost shell scripting prowess (that’s a
joke by the way, those who worked with me back in 1998 know the
score!). The trouble is when I’m working away on documentation or in
email (or worse, Visio and PowerPoint) or helping folks out on IM, I
don’t want to have to load up a VM just to verify some scripts. Sure I
can use the excellent references,
but I like to test things actually work (no really). Running SharePoint
on Windows 7 is a great way to do this without the burden and delay of
firing up a VM or a bunch ....

Click here to visit the original site

Sharepoint Permissions Manager

Abstracts:

Project Description


Managing permissions in SharePoint is a complex and often difficult to understand by end users. In addition, features for managing permissions on a site are splitted on several screens and must access on each item to finely manage the associated rights. When the site is important, it quickly becomes difficult to obtain an overview of permissions and each change creates a lot of work.

This version works with MOSS 2007 and WSS 3.0

Functions

This tool aims to bring together on one screen, most of management capabilities of permissions for an entire site:
- Overall display permissions for groups on the Sharepoint libraries and website pages
- Adding, modifying, deleting permissions with a few clicks without having to go through a lot of screens
- Export as an Excel table permissions
- Copy permissions between lists and pages

SharePoint 2010 Data : Access using .NET Client Object Model

On MSDN, a new article along with video is now available for "Accessing SharePoint 2010 Data with the .NET Client
Object Model" provided by Andrew Connell.

abstract of the original article:

With each release of Microsoft SharePoint, developers ask for  additional web services to simplify reading and writing SharePoint site  data from custom code not on the server that is running SharePoint.  Instead of building more and more web services, Microsoft introduced in  SharePoint 2010 the client object model,  which contains a familiar  subset of frequently used objects. The client object model is very  similar to the SharePoint server object model. This SharePoint Visual  How To demonstrates how to use the SharePoint 2010 .NET client object model.

SharePoint : What a Good Consultant Should Know!

Everyone who can spell SharePoint
        o What is Sharepoint?
Sharepoint is the portal. It is developed by Microsoft. This is used to create Content Management System web sites. We can develop individual sites, team sites and enterprise portals.
o What is the difference between Sharepoint Portal Server and Windows Sharepoint Services?
Sharepoint Portal Server features are very high. Search portal and navigations are most important features of the Sharepoint Portal Server.
Windows Sharepoint Services are used to create CMS Web sites and blogs, Forums and document sharing Libraries.
o What is a document library?
To share a document that referenced in news, articles published site.
o What is a meeting workspace?
Meeting workspace is used to store information about particular organization employees work related tasks meetings (related information). And also place the minutes of the meeting and each person task details.
o What is a document workspace?
To share a document with others, we create a document workspace site. We can easily share documents and some other files. We can give each and every file permissions.
o What is a web part?
WSS 3.0 has a new infrastructure called Web Part. The WSS Web part classes are derived from ASP.Net Web Part Class. It is supported by Widows Sharepoint Services 3.0. We can also create connectable web parts. The connectable web part is connected to any other related web part. These two connected web parts are has some programs.
Mid-level SharePoint Consultant
o What is the difference between a document library and a form library?
Document Library has documents and content, which gets stored in the Sharepoint content database.
Form Library has an Info path XML forms. When submitting with InfoPath Form Services, the submitted data is generated as XML which refers the original form template .XSN. The XML files are stored in Document Library.
o What is a web part zone? 

Web Parts are displayed by using Web Part Zone. The WebPartZone class derived from WebZone and WebPartZoneBase classes. A Web Part zone is a WebPart container that can be configured to control the organization and format of the Web Parts contained in it.
o How is security managed in SharePoint?
Sharepoint using three types of user authentications. There are Windows, Form and Single Sign On.
Security Socket Layer (SSL) is also used for authentication in Sharepoint. Authorization, Authentication and Impersonation these are configured by config file.
o How are web parts developed?
WebParts developed by using Visual Studio .Net 2005. It offers many Sharepoint templates like Site Definition, Web Part etc. And also using Widows Class Library.
o What is a site definition?
A Site Definition is a group of files that used to define a unique type of Sharepoint Site. Example, one site definition defines the Team Site, Blank Site, and Document Workspace templates, and another site definition defines the Basic Meeting Workspace, Blank Meeting Workspace, Decision Meeting Workspace, Social Meeting Workspace, and Multipage Meeting Workspace templates.
o What is a template?
Templates are built-in solutions for applications, business portals, Design and Look & Feel. Sharepoint has a some pre-build templates. The templates are customizing and deploying in to the server.
o How do you install web parts?

Click here to visit the site.


If you find the above link useful, let us know your feedback, it will help us to improve our posting(s). or You can send your feedback linkOblast.
Report Broken Link

Set Up Document Sets in SharePoint 2010

One of the OOTB method for managing, editing or downloading documents together in a set under a document library.

Abstracts:
But of course, they are more than that. See why:
  • Document sets can share the same metadata.
  • Versioning the document set instead of the separated documents.
  • Initiate workflows for the whole document set.
  • Document set level permission management.
  • Download all documents of a document set compressed into a ZIP file.
  • Customizable Welcome Page for all document set.
Sounds good, right?
...
...


Single SignOn (SSO) : Pluggable provider

I was looking for  "How to implement SSO between SharePoint and ASP.NET site".

After spending a little time I found a very useful link for the same:

Abstracts:
By default, Microsoft Office SharePoint Server 2007 provides the
Microsoft Single Sign-On (SSO) service for storage and mapping of
credentials for use in connecting with third-party or back-end systems.
Many companies already have developed an in-house credential storage
system or use a solution other than the Microsoft Single Sign-On
service. As an alternative to maintaining credential mapping in two
places, Office SharePoint Server 2007 provides a mechanism called
pluggable SSO. This feature allows you to specify an alternate SSO
provider to the standard SSO provider in Office SharePoint Server 2007

click here to visit the original site.


PageViewer WebPart > Connect

A good link I found related to Page Viewer Webpart connection.

Normally the OOB page viewer webpart doesn't support the connection to another webpart.
But as per the implementation listed in below link, you can do the connection for that webpart.

Link
http://www.toddbaginski.com/blog/archive/2007/08/16/connected-page-viewer-web-part.aspx

How To: SharePoint 2010 - Configure PDF iFilter for search server 2010

abstracts:

I have recently installed and configured Search Server 2010 Express
on my VMware machine for evaluation purposes. Once I configured basic
steps to configure Search Centre site and necessary settings, I decided
to install PDF iFilter (x64). Last year, I posted similar article on how
to install and configure PDF iFilter for SharePoint 2007 (64bit), which
can be found at: http://www.mossgurus.com/adnan/Lists/Posts/Post.aspx?ID=9.
I didn't find any single decent article on Google, which clearly
explain the process of installing and configuring PDF iFilter for
SharePoint Server 2010 or Search Server 2010 Express edition. So I
decided to follow my own article and I was hoping that it should be
straight forward to install and configure PDF iFilter for SharePoint
2010. Apart from updating the registry settings required to update GUID
for .pdf, remaining steps are similar.


Follow steps below to install and configure PDF iFilter on SharePoint
Server 2010 or Search Server Express 2010.


  1. Install PDF iFilter 9.0 (64 bit) from http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025
  2. Download PDF icon file from pdf16.gif
    and copy at C:\Program Files\Common Files\Microsoft Shared\Web Server
    Extensions\14\TEMPLATE\IMAGES\

  3. Add the following entry in docIcon.xml file, which can be found at:
    C:\Program Files\Common Files\Microsoft Shared\Web Server
    Extensions\14\TEMPLATE\XML

    <Mapping Key="pdf" Value="pdf16.gif" />

  4. Add pdf file type on the Manage File Type page under Search Service
    Application.
  5. Open registry by executing regedit on the Start
    --> Run.

  6. Navigate to the following location:

    \\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office
    Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension

  7. Right-click Extension, a menu will appear.

  8. Click New--> Key to create a new key for .pdf.
    See screen shot below.

Click here to visit the original link.