Mohammed Riyaz Ali khan@ WordPress

Even though Microsoft has done a great job on improving the user interface in SharePoint 2007, some things are still buried and require a little “black magic” to get done. In this entry I’ll show you how to enable anonymous access on your site.

First, you need to enable anonymous on the IIS web site (called a Web Application in SharePoint land). This can be done by:

  • Launching Internet Information Services Manager from the Start -> Administration Tools menu
  • Select the web site, right click and select Properties
  • Click on the Directory Security tab
  • Click on Edit in the Authentication and access control section

Instead we’ll do it SharePoint style using the Central Administration section:

  • First get to your portal. Then under “My Links” look for “Central Administration” and select it.
  • In the Central Administration site select “Application Management” either in the Quick Launch or across the top tabs
  • Select “Authentication Providers” in the “Application Security” section
  • Click on the “Default” zone (or whatever zone you want to enable anonymous access for)
  • Under “Anonymous Access” click the check box to enable it and click “Save”

NOTE: Make sure the “Web Application” in the menu at the top right is your portal/site and not the admin site.

You can confirm that anonymous access is enabled by going back into the IIS console and checking the Directory Security properties.

Now the second part is to enable anonymous access in the site.

  • Return to your sites home page and navigate to the site settings page. In MOSS, this is under Site ActionsSite SettingsModify All Site Settings. In WSS it’s under Site ActionsSite Settings.
  • Under the “Users and Permissions” section click on “Advanced permissions”
  • On the “Settings” drop down menu (on the toolbar) select “Anonymous Access”
  • Select the option you want anonymous users to have (full access or documents and lists only)

Now users without logging in will get whatever option you allowed them.

A couple of notes about anonymous access:

  • You will need to set up the 2nd part for all sites unless you have permission inheritance turned on
  • If you don’t see the “Anonymous Access” menu option in the “Settings” menu, it might not be turned on in Central Admin/IIS. You can manually navigate to “_layouts/setanon.aspx” if you want, but the options will be grayed out if it hasn’t been enabled in IIS
  • You must do both setups to enable anonymous access for users, one in IIS and the other in each site

Hope that helps!


Hi All

Secondary data sources in Microsoft Office InfoPath are XML files, databases, SharePoint lists, or web services that have been linked to an InfoPath form, but for which no data is persisted in the form itself.  Therefore, any changes made to the data of a secondary data source are lost upon closing the form, unless these changes have been saved back to the underlying data store of the secondary data source.

This article discusses the use of Asynchronous JavaScript and XML, better known as AJAX, to permanently update data in a secondary data source for which the underlying source is a database table in Microsoft SQL Server.


In fusioncharts if you give numbersuffix=’%’ alone, it will not work. You need to give numbersuffix=’%25′ to display ‘%’ as suffix.


Add the  showPercentageValues=’1′

The Code is to get the current path where the application/project resides

Syntax: HttpContext.Current.Request.PhysicalApplicationPath

Example: StreamReader(HttpContext.Current.Request.PhysicalApplicationPath + @”\DataBase\riyaz_db.sql“);


i was facing a similar issue when he created a Sql Server integration service project the error was Failed to save package file …. with error 0x8002801D “Library not registered.” The solution is we need to call “regsvr32 msxml6.dll”, to register the library.


Mohamed Riyaz Ali Khan


You can download free Master page samples for SharePoint from Microsoft website.

Click to view the download page

The Link also has the instructions to setup.

Mohamed Riyaz Ali Khan

Hi All

I’ve recently faced a problem, on accessing my SharePoint web Site.

The default website is accessed e.g. at http://sharepoint/. This URL is working fine internally.

When we try to access from outside the organization, it’s not accessible.


To access the site internally as well outside the organization. We need to follow the Following Steps

1)      Go to Central Administration

2)      You will find “OPERATION” Section. Click It.


3)      Under Operation Tab Go to Global Configuration

Global Configuration



4)      Under Global Configuration Section you will find Alternate Access Mappings. Click It

Access Mapping



5)     Under Alternate Access Mappings you will find all web application or SharePoint Site Listed



6)      Click Add Internal URL

Internal URL


a)      Select  a site for  Alternate Access Mapping Collection  Section

b)      Add Internal URL

c)       Select Zone à internet for Global Access

d)  Click Save



Hope you like this Post.







  • None