Wednesday, 8 December 2010

Disable "The Web site wants to run the following add-on: 'Name ActiveX Control'" Message

Consider the following scenario. You use Windows Internet Explorer 7 to browse to a Microsoft Windows SharePoint Services 3.0 site or to a Microsoft Office SharePoint Server 2007 site. The SharePoint site is located in the Internet zone. Additionally, the SharePoint site has online presence enabled. When you browse to the SharePoint site, you receive the following message in the Information bar in Internet Explorer 7:
The Web site wants to run the following add-on: 'Name ActiveX Control' from 'Microsoft Corporation'. If you trust the Web site and the add-on and want to allow it to run, click here...

This issue occurs if the Name ActiveX control (Name.dll) is not added to the list of preapproved controls in Internet Explorer 7. The Name ActiveX control is included in the 2007 Microsoft Office system.

Configure the master page of the SharePoint site on the front-end Web server
loadTOCNode(3, 'workaround');

If the SharePoint site does not require online presence for anonymous users, configure the master page of the SharePoint site to use a new InitNoPresence.js file. Note: Disabling this control can also disable the Multiple Document Upload control for the affected audience which is why it is recommended to target the change below to anonymous users only. To do this, follow these steps:
Create the InitNoPresence.js file. To do this, follow these steps:
Start Notepad and create a InitNoPresence.js file on the front-end Web server in the same file folder as Init.js.Note The Init.js file is located in the Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Layouts\1033 folder.
In the InitNoPresence.js file, add the following lines of code.
function ProcessImn()
if (typeof(ctx)=="undefined") return;
if (ctx.CurrentUserId == -1) return;
if (EnsureIMNControl() && IMNControlObj.PresenceEnabled)
Save the InitNoPresence.js file.
Configure the master page of the SharePoint site to use the InitNoPresence.js file. To do this, follow these steps:
Start Microsoft Office SharePoint Designer 2007. Then, open the a copy of the master page for the SharePoint site.
In the copy of the master page, locate the following line of code.

Below the line that you located in the step 2b, add the following line of code.

Save the new copy of the master page and set it as the new default master page.Note Microsoft does not support making changes directly in the Init.js file. By adding a new file to override the function the customization will not be removed by an update. By using a new master page the customization can be easily removed for testing by restoring the original default.master page.

To fix this issue follow the instruction from the link below:

Friday, 4 June 2010

Installing Team Foundation Server 2010 on Windows Server 2008 R2

How to Install TFS 2010

1) Install IIS (add role)
2) Add feature .net framework 3.5.1
you must have .NET Framework 3.5 installed. On Windows Server 2008 R2, you can install .NET Framework 3.5 by using the Add Features Wizard from Server Manager.
3)restart your server
4)Install SQL Server 2008
You will get known compatability issue but continue. But after Installed you must install SP1.

To run Team Foundation Server, you must install both the Database Engine and Full text search on the same instance of SQL Server And Client Tools Connectivity (required if no other SQL Server components are installed on the server that is running Team Foundation Server.)

5)Install SQL SP1

6)Install TFS2010
7)Configure TFS2010

Team Foundation Installation Guide for Visual Studio 2010 can be found under

This installing guide is really helpful.

How to Connect TFS2010 from VS 2008

Connect Team Foundation Server TFS 2010 from Visual Studio 2008

1) Install or use allready installed Visual Studio 2008

2)Install Visual Studio Team System 2008 Team Explorer (if you haven't installed before)

2)Install Visual Studio SP1

3- Install Visual Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation Server 2010 (Installer)

You must Install this (3) other wise you will get this error
Possible reasons for failure include:
The Team Foundation Server name, port number or protocol is incorrect.
The Team Foundation Server is offline.
Password is expired or incorrect.

4) When you connect to TFS server specify the full url including port number
e.g ) http://yourTFSserver:8080/tfs/yourcollection


Monday, 19 April 2010

RSS Viewer Web Part- Access external feeds like BBC through proxy server

if you want to use the RSS viewer web part to access the external feeds like bbc,cnn, Quotes of the Day and etc through proxy server , you must do few config changes. Otherwise you will get few errors like.

Most common error: An unexpected error occured processing your request. Check the logs for details and correct the problem. If you check the log file it wont help you much.

ProtocolError occured trying to complete the request. The server returned a status code of : ProxyAuthenticationRequired and the status description is : "Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )"

To resolve

1) Change NTLM to Enable Kerberos
2) Webconfig changes

useDefaultCredentials="true" is very important!


Thursday, 15 April 2010

Configure Advanced Usage Analysis Processing - 403 Forbidden Error

Usage reporting is a service that enables site administrators, site collection administrators, and Shared Services Provider (SSP) administrators to monitor statistics about the use of their sites. Usage reporting also includes usage reporting for search queries that can be viewed by SSP administrators for search and site collection administrators.

To configure usage reporting, a farm administrator must first enable Windows SharePoint Services usage logging for the farm that hosts the Web application containing the SSP. The SSP administrator enables and configures the usage reporting service. Then, site collection administrators can activate the reporting feature to enable usage reports on the site collection.

I got the forbidden error when I tried to enable the "Enable advanced usage analysis processing" under SSP, eventhough I am a sitecollection /farm admin.

To fix it.

go to SharedServices --->"Personalization services permissions" under "User Profiles and My Sites"
Add yourself with "Manage usage analytics" permission.

Done! Now you should be able to enable it.

If you want to know how to Configure usage reporting go to:

Configure usage reporting

Thursday, 8 April 2010

Content Deployment in SharePoint Server 2010

This model describes the content deployment feature in Microsoft SharePoint Server 2010

Content Deployment in SharePoint Server 2010