25 April, 2010

SharePoint Mobile Views !!

Windows SharePoint Services 3.0 as well as Microsoft Office SharePoint Server 2007 provides in-built support for mobile access to SharePoint list data. Mobile devices access a site through URL that simply adds an "m" folder to the regular URL. http://Server/sites/SiteCollection/Site/m/, with "m" appended to the regular Web site URL, they are redirected to a mobile default.aspx page.

As soon as we enters the above URL in the browser then it will redirects to this URL: http://Server/sites/SiteCollection/Site/_layouts/mobile/mbllists.aspx. which is a actual mobile home page (mbllists.aspx) to display the list of contents.

After digging out more and little RnD on my Sharepoint Server, Found out an internal mechanism that supports Mobile Views. Basically, there are 2-main components that supports mobile views or you will get your mobile aspx page.
1. Templates:The Template which is used for Mobile views is called as "MobileDefaultTemplates.ascx"
You can find the same from this location: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES directory.

2. Features:
The Feature for redirecting users to the mobile home page is located in the following directory:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\MobilityRedirect
Note: As per Microsoft recommendations/ Best Practices--Modifying the contents of the MobileDefaultTemplates.ascx file is not supported..
Please let me know in case of any queries !! I hope the above information will helps you to get some insight regarding Mobile Views,Thanks !!

19 April, 2010

Explorer View Problems: SharePoint 2010

http://site_name is not accessible. Either this location does not exist or you might not have permission to use this network resource.

Your client does not support opening this list with Windows Explorer.

Whenever we face such kind of issues, one thing should be important that you have already installed a valid copy of Office application on your client machine becuase Explorer view is windows feature provided by means of sharepoint that uses client functionalty i.e. Office 2010

-As per the SP 2010 functionality, ensure you have Office Professional PLUS installed on your client machine.
-Integration features of Office client Applications and SharePoint uses WebClient service running on the client machine.

The problem where i faced this problem was belongs to OS-Windows Server 2008 R2. So i started searching for this WebClient Service to see if it was running or not. I went to Start
->Administrative Tools->Services i browsed through all the services but could not find it.

Generally, we found this service in services console but the mystery became complicated and i started exploring the features of Windows Server 2008 R2......n yes, i got it !!

The name of the feature which supports this functionality called as Desktop Experience.
Note: The WebClient service is installed only when you install the Desktop Experience feature on you Server 2008 machine.

Here are the steps that i have taken to resolve this issue:

1) Go to Start->Administrative Tools->Server Manager
2)In Server manager Click on Features and the click Add Features
3)Select the Desktop Experience Feature and install it. Then Restart the Server (Required for installation of the feature)
4)Go to Start->Administrative Tools->Services
5)Select the Web Client Service and Start it.

I hope, the above information will helps you to resolve your issues...
Please let me know in case of any issues,Thanks !!

SharePoint Management Shell

One of the most important feature present in sharepoint 2010 is called as "sharepoint Management shell/sharepoint Powershell " Which contains the Powershell cmdlets for SharePoint, by using this we control and manage the SharePoint operations like we done in STSADM command.

It will take some time to understand but start rolling with all new 652 power shell cmdlets in SharePoint 2010 as compared to STSADM based 182 commands in SharePoint 2007.


To Install feature,
PS> Install -SPFeature

To activate the feature for the site,
PS> Enable -SPFeature -Url http://server/site_name

I hope the above information will helps you to gain some insight of Sharepoint management shell. Please let me know in case of any queries,Thanks !!

SharePoint 2010 Site Templates

Site templates are a great feature in SharePoint that allow us to build a Web Site, customise it then save it as a template so that you can use the same template for other Sites. It is continued in this new feature also i.e. SP2010 but little bit in different manner !!

There are still Site Template in SharePoint 2010, but they're no longer .STP files. Instead, they're bundeled in the form of .WSP files just like web parts and features.

To create a Site Template, browse to the Site you want to create from.
->Go to Site Actions
–>Site Settings
–>Save site as template (under the Site Actions heading).
->Give your template a name, and don't forget to check the "Include Content" box if you want to include library and list content in the template.

This will create a new site template in your Solutions Gallery, which you can then use when creating new sites. You can also download directly from the Solutions Gallery to a .WSP file.

To upload a Site Template to the Solutions Gallery,
->go to Site Actions
–>Site Settings
–>Solutions Gallery (under the Galleries heading).
->On the Solutions tab of the ribbon, click "Upload Solution".
Before you close that dialog, you'll need to click "Activate" to activate it if you want your Site Template to appear in the "New Site" dialog later.

To use the Site Template, go to Site Actions –> New Site. You'll find your Site Template in the list of Installed Items, in the All Categories or Blank & Custom filters.

I hope the above the information will helps you to clear your doubts between the templates present in SP2007 & SP2010.
Please let me know in case of any queries,Thanks !!

18 April, 2010

SharePoint 2010 Products Configuration Wizard Errors

While running the SharePoint 2010 Products Configuration Wizard you may experience the errors:

Error 1: An exception of type Microsoft.Office.Server.UserProfiles.UserProfileException was thrown. Additional exception information: Unrecognized attribute 'allowInsecureTransport'. Note that attribute names are case-sensitive. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebClients\Profile\client.config line 56).

To resolve the issue you can perform the following steps:

Download and install KB976462 from http://support.microsoft.com/kb/976462 for Windows Server 2008 R2 or

KB971831 from http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=KB971831&DownloadId=7285 for Windows Server 2008

Now,Run the SharePoint 2010 Products Configuration Wizard and your issue will be resolved !! Thanks !!

Error 2:Failed to register SharePoint services.
An exception of type System.ServiceProcess.TimeoutException was thrown. Additional exception information: Time out has expired and the operation has not been completed.

System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)

Run Setup.exe when the steps above have been completed.

To resolve the issue you can perform the following steps:

Download and install KB976462 from http://support.microsoft.com/kb/976462 for Windows Server 2008 R2 or KB971831 from http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=KB971831&DownloadId=7285 for Windows Server 2008

Now,Run the SharePoint 2010 Products Configuration Wizard and your issue will be resolved !!

Please let me know in case of any issues,Thanks !!