Step 2: Configuring security for the MicroStrategy Web Part:
To configure the security either you can elevate the permission level to ‘Full Trust’ in the web.config file, which is neither a good practice nor secure, or you can use Trust level as WSS_minimal” and modify the appropriate policy configuration file which is located at “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Config\wss_minimaltrust.config” and make an entry for MSTRWebParts.dll in the <CodeGroup> section. You can read more about it over the net. There are many good articles explaining “Custom CAS policy for SharePoint”. You can also follow this Microsoft documentation.
Step 3: Enabling HTTP Session State in SharePoint
The MicroStrategy Web Part for the SharePoint Portal requires the HTTP Session State to be enabled. However, by default, HTTP Session State is disabled by the SharePoint Portal Server. To enable the HTTP Session State in SharePoint Portal 2010, you must modify the web.config file for SharePoint (located by default under C:\Inetpub\wwwroot\wss\VirtualDirectories\ and SharePoint Admin (located by default under C:\Inetpub\wwwroot\wss\VirtualDirectories\.
Note: It is a good practice to make a backup of important configuration files, such as the web.config file, before making changes.
To enable HTTP Session State, use any text editor to make the following changes to the web.config files in the locations described above:
- Enable the SessionStateModule:
After:
<httpModules>
<add name=”Session” />
</httpModules>
-
- Enable the SessionState:
Find the node beneath . Set the enableSessionState attribute to “true”.
- Add the session state module to the IIS (Internet Information Services) 7 managed pipeline for MicroStrategy Web.
- Open IIS 7 Manager and find SharePoint.
- Double-click Modules in the IIS section.
- Click Add Managed Module … in the right-hand pane.
- On the Add Managed Module dialog, enter a name such as “SessionState” and choose System.Web.SessionState.SessionStateModule from the dropdown.
- Restart IIS for the changes to take effect.
Step 4: Creating User Profiles for MicroStrategy Credentials and Locals:
To set user credentials and locales for a MicroStrategy Web Part, you must add the necessary user profile properties on the SharePoint Portal Server. To set these properties, do the following:
- Open SharePoint Central Administration, click Manage Service Applications under Applications and then click on User Profile Service Application. On the page that opens, click on Manage User Properties under People and then click on New Property
- In the Property Settings textboxes, add the properties listed below, using the values provided or indicated. If you want to give users the ability to change credentials or set locales, choose “Allow users to edit values for this property” in the Edit Settings options.
PropertySettingsNameDataLocaleDisplayLocaleMSTR-UIDMSTR-PWDMetadataLocaleDisplay nameData LocaleDisplay LocaleMicroStrategy UserMicroStrategyPasswordMetadata LocaleTypeintegerintegerstringstringstringintegerSub-type of ProfileMake sure that the checkbox for “Default User Profile Sub-type” is checkedPolicy SettingsSelect “Optional”, rather than “Required” (which is the default selection)Edit SettingsSelect “Allow users to edit values for this property”When you make these property settings, you must use the exact property names and types shown in the table above, but you can use different display names if you want.
You can choose whether or not to let user see or edit these settings. To give users the ability to change credentials or set locales in a MicroStrategy Web Part, you must add the necessary user profile properties on the SharePoint Portal Server.
If you don’t want Web Part users to be able to change the data locale or display locale, the DisplayLocale and DataLocale profile properties are optional. In this case, the SharePoint Portal user’s language setting will be used for these two locales. If you use only Windows Authentication or Guest Authentication, the MSTR-UID and MSTR-PWD profile properties are also optional.
If you don’t want to allow Web Part users to change the values for any of their user profile properties (DataLocale, DisplayLocale, MSTR-UID, or MSTR-PWD) on the edit pane, you should not change Edit Settings to “Allow Users to edit values for this property”. When this setting is not made, only portal server administrators can assign and change the values for these profile properties in the Shared Services Administration page.
That’s it. You are good to go now. Go to the page>Edit Page and add “MicroStrategy Web Part” to it and configure all its values. If you have proper permissions to your MicroStrategy environment then you should be able to see the report that you have configured in the web part settings.
[This blog may not be relevant]
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home1/microoat/public_html/blog/wp-includes/formatting.php on line 3964
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home1/microoat/public_html/blog/wp-includes/formatting.php on line 3964
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home1/microoat/public_html/blog/wp-includes/formatting.php on line 3964