Wednesday, October 1, 2008

Users still can see target audience items

Target audience not working/ Users still can see target audience items

solution:
  1. Enable audience targeting on the list or library
    1.1. Click the list or library that contains the item you want to target.
    1.2. On the list toolbar, click Settings, and then click List Settings or Document Library Settings.
    1.3. Under General Settings, click Audience targeting settings.
    1.4. Select the Enable audience targeting check box.
  2. Specify the target audience on the items
    2.1. Click the arrow next to the name of an item in the list or library, and then click Edit Properties.
    2.1. In the Target Audiences list, add one or more audiences.
  3. Display the item in a Web Part (this step is missing in the course materials 5061A)
    3.1. On the page where you want to display the item, on the Site Actions menu, click Edit Page.
    3.2. Click Add a Web Part, and then under Default, click Content Query Web Part.
    3.3. Click Add.
    3.4. Click Edit and then click Modify Shared Web Part to open the tool pane (tool pane: A task pane on a Web Part Page used to browse, search for, and import Web Parts from Web Part galleries, and to modify custom and common Web Part properties.) for the Web Part.
    3.5. In the tool pane, under Query, click Show items from the following list and then specify the location of the list.
    3.6. Under List Type, choose the type of list that the item is a member of. In this example, click Document Library. Only items in the list type that you choose are processed by the query.
    3.7. Under Audience Targeting, do the following.
ToDo this

Display the list items to the target audience that you specified in Step 2: Specify the target audience on the items, when the current user is a member of the audience.

Select the Apply Audience Filtering check box. This is required for the query to work properly.


Also display the items in the list that do not have a target audience specified. These items are displayed to everyone.

Select the Include items that are not targeted check box. This is optional.

Saturday, September 27, 2008

You do not have the rights to perform this operation configure single sign on (SSO)

you receive: You do not have the rights to perform this operation configure single sign on while configuring Single Sign-On services on sharepoint 2007

solution:

1.Be sure that you are logged on "Manage Settings for Single Sign-On" under operations using the same domain\username that you specified to run the service "Microsoft Single Sign-On" under windows services.
2. The administrator account that used to manage "Single Sign-On" service and the enterprise administrator accounts must match the account that used to run "Microsoft Single Sign-On" service under windows services.

Saturday, September 20, 2008

Shared Services Provider creation failed

SSP provisioning will be retried periodically. If you correct the error that caused this failure, provisioning will subsequently succeed. To stop provisioning from being retired, delete the SSP

solution: from Microsoft TechNet

1. go to administrative tools
2.Component Services
3. expand My Computer (left Panel Tree) then expand "DCOM Config"
4. go through DCOMs tell you get "OSearch" right click and select Properties
5. Security tab, in the "Launch and Activation Permissions" group box, select Customize then click Edit, add the Network user that you assigned during the creation for SSP and grant permissions Local Launch and Local Activation
6.restart IIS then go to SSP creation/ Configuration page, its working now.



"Could not load user profile" after creating sharepoint 2007 personalization site

solution: from Microsoft TechNet

you have to create SSP (Shared Services Provider) for your web application as following:

  1. On the SharePoint Central Administration home page, click the Application Management tab on the top navigation bar.

  2. On the Application Management page, in the Office SharePoint Server Shared Services section, click Create or configure this farm's shared services.

  3. On the Manage this Farm's Shared Services page, click New SSP.

  4. On the New Shared Services Provider page, click Create a new Web application.

  5. On the Create New Web Application page, in the IIS Web Site section, click Create a new IIS web site , and do not modify the default settings in this section.

  6. In the Security Configuration section, under Authentication provider, select the appropriate option for your environment, and do not modify the default settings in the remainder of this section.

  7. In the Load Balanced URL section, do not modify the default settings.

  8. In the Application Pool section, click Create new application pool.

  9. In Application pool name, enter the name of your application pool or use the default name.

  10. Click Configurable, and in User name and Password, type the user name and password for the user account that you want to act as the application pool identity for your SSP Web application.

    The user account must be a domain user account, but the user account does not have to be a member of any particular security group. It is recommended that you use the principle of least privilege and select a unique user account that does not have administrative rights on your front-end servers or on your back-end database servers. You can use the user account that you specified as the Microsoft Office SharePoint Server 2007 service account; however, if that user account is a member of a security group that has administrative rights on your front-end servers or your back-end database servers, you will not be following the principle of least privilege. The user name must be in the format DOMAIN\username.

  11. In the Database Name and Authentication section, verify the database information and make sure that Windows Authentication (recommended) is selected.

  12. In the Search Server section, do not modify the default settings.

  13. Click OK.

    Upon successful creation of the Web application, the New Shared Services Provider page appears.

  14. In the SSP Name section, in Web Application , select the Web application that you created for the SSP, and do not modify any of the default settings in this section.

  15. In My Site Location section, choose the correct Web application.

  16. In the SSP Service Credentials section, in User name and Password, type the user name and password for the user account under which you want the SSP to run.

    The user account must be a domain user account, but the user account does not have to be a member of any particular security group. It is recommended that you use the principle of least privilege and select a unique user account that does not have administrative rights on your front-end servers or on your back-end database servers. You can use the user account that you specified as the Office SharePoint Server 2007 service account; however, if that user account is a member of a security group that has administrative rights on your front-end servers or your back-end database servers, you will not be following the principle of least privilege. The user name must be in the format DOMAIN\username.

  17. In the SSP Database section, you can either accept the default settings (recommended), or specify your own settings for the database server, the database name, or the SQL authentication credentials.

  18. In the Search Database section, you can either accept the default settings (recommended), or specify your own settings for the search database server, the database name, or the SQL Server authentication credentials.

  19. In the Index Server section, in Index Server , click the server on which you configured the Search service.

    If there is no index server listed in the Index Server section, then no server in your farm has been assigned the index server role. To assign the index server role to a server in your farm, follow the instructions in Configure a dedicated front-end Web server for crawling (Office SharePoint Server 2007).

  20. In the SSL for Web Services section, click No.

  21. Click OK .

    Upon successful creation of the SSP, the Success page appears.

  22. On the Success page, click OK to return to the Manage this Farm's Core Services page.

  1. In a Web browser, open the Central Administration page for your farm.
  2. On the top navigation bar, click Application Management.

  3. On the Application Management page, under Office SharePoint Server Shared Services, click Create or configure this farm's shared services.

  4. On the Manage this Farm's Shared Services page, on the top navigation bar, click New SSP.

  5. In the SSP Name section, specify a unique, descriptive name for this SSP. This name will be used to identify the SSP in administration pages.

  6. In the My Site location section, select the Web application for this SSP.

  7. In the SSP Service Credentials section, specify the credentials which will be used by SSP Web services for inter-server communication and for the SSP timer service to run jobs.

  8. In the SSP Database section, specify the database server and database name for storing session data. Use of the default database server and database name is recommended for most cases.

  9. In the Index Server section, select the index server which will crawl content in all Web applications associated with this SSP. You may also specify the path on the index server where the indexes will be located if you do not want to use the default path.

  10. In the SSL for Web Services section, choose whether or not to use SSL to protect communications to and from Web services.

  11. Click OK to create the SSP.

Associate an SSP with a Web application

A Web application may be associated with only one SSP, but each SSP may be associated with multiple Web applications.

To associate an SSP with a Web application:

  1. On the taskbar, click Start, point to Administrative Tools, and then click SharePoint 3.0 Central Administration.

  2. In the Quick Launch, click Shared Services Administration.

  3. On the Manage this Farm's Shared Services page, on the top navigation bar, click Change Associations.

  4. On the Change Association between Web Applications and SSPs page, under Shared Services Provider, select the SSP you want to configure.

  5. In the Web applications section, select the Web applications you want to associate with the SSP.

  6. Click OK to associate the SSP with the selected Web applications.

Wednesday, September 17, 2008

An exception occurred while provisioning Shared Service Provider 'SharedServices1'

An exception occurred while provisioning Shared Service Provider 'SharedServices1'. System.Data.SqlClient.SqlException: Cannot open database "SharedServices1_Search_DB_5812d9cd-dc2f-4ffc-b49c-6a3bff86293d" requested by the login. The login failed.
Login failed for user 'Domain Name\Administrator'

solution:
1. go to Microsoft SQL Server Management Studio
2. connect to your SQL server then expand right panel.
3. in security folder, be sure that Domain Name/Administrator is added to your SQL server, then right click and select Properties
4. in the popup window select "User Mapping" in the left panel, in right panel select "mater" database and in the membership role grid check "Public" and "db_owner".
5. run sharepoint Products and Technologies configuration wizard
6. run sharepoint 3.0 central administration

Note: its recommended to restart the server after you finish from step 5



Monday, September 15, 2008

A new window opens when you try to view a 2007 Microsoft Office program document in Windows Internet Explorer 7

from Microsoft KB

Follow these steps:
1. Start Notepad.
2. Copy and then paste the following text to Notepad:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8]
"BrowserFlags"=dword:80000024

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.RTF.8]
"BrowserFlags"=dword:80000024

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.12]
"BrowserFlags"=dword:80000024

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.DocumentMacroEnabled.12]
"BrowserFlags"=dword:80000024

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Sheet.8]
"BrowserFlags"=dword:80000A00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.Sheet.12]
"BrowserFlags"=dword:80000A00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.SheetMacroEnabled.12]
"BrowserFlags"=dword:80000A00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Excel.SheetBinaryMacroEnabled.12]
"BrowserFlags"=dword:80000A00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PowerPoint.Show.8]
"BrowserFlags"=dword:800000A0

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PowerPoint.Show.12]
"BrowserFlags"=dword:800000A0

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PowerPoint.ShowMacroEnabled.12]
"BrowserFlags"=dword:800000A0

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PowerPoint.SlideShow.8]
"BrowserFlags"=dword:800000A0

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PowerPoint.SlideShow.12]
"BrowserFlags"=dword:800000A0

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PowerPoint.SlideShowMacroEnabled.12]
"BrowserFlags"=dword:800000A0


3. Save the file as FileName.reg.
4. Double-click FileName.reg to run this registry script.
5. Start Internet Explorer 7.