Microsoft KB Archive/280431

= How to Enable Commerce Server 2000 OLAP Reports Over HTTPS with SQL Server 2000 =

Article ID: 280431

Article Last Modified on 6/28/2004

-

APPLIES TO


 * Microsoft Commerce Server 2000 Standard Edition
 * Microsoft SQL Server 2000 Enterprise Edition

-



This article was previously published under Q280431



SUMMARY
This article describes how to enable Commerce Server 2000 OLAP reports over HTTP. Although OLAP reports cannot be run across the Internet because of the connection method used by the PivotTable Service, you can change the connection method to use HTTP rather than the default Integrated Authentication.

To deploy this solution, your OLAP server must be running the Enterprise Analysis Services Edition of SQL Server 2000.

There following two hotfixes are also necessary for this solution:

290638 Cannot Access Business Desk Analysis Services Over Domains

291563 FIX: Analysis Serv HTTPS Connections Slower Than HTTP and TCP/IP



MORE INFORMATION
The following steps use SSL to protect report data over the wire. Microsoft recommends using SSL when you are passing sensitive data over the Internet.

Platform Configuration
 Use the recommended build procedure for Commerce Server 2000, which is located at:

http://support.microsoft.com/support/commerceserver/2000/install

 Use SQL Server 2000 Enterprise Edition (Required). Install Commerce Server 2000 using the Complete Install option. Create a new IIS Web site with the following properties:

Description: Retail Site

Path: C:\Inetpub\RetailRoot

This site will be used to unpackage the Retail solution site. Install an SSL certificate on the Retail Site.

Configuring the Server
 Unpackage the Retail solution site to the Retail Site IIS Web site.</li> From the SQL Server Enterprise Manager, connect to the database server, and then expand the MSCS_Admin database.</li> Click Tables.</li> Right-click the ResourceProps table, highlight Open Tables, and then click Return all rows.</li> Under the s_PropertyName='connstr_OLAP' column, change the value under s_value &quot;data source=server&quot; to use data source=https://www.server.com (where https://www.server.com will browse to the root of the Retail Site).</li> Add &quot;;User ID=domain\username;password=password;&quot; to the end of the connection string that you edited in step 5.

NOTE: The users needs to have Read access to the cubes in Analysis Services.</li> Copy the Msolap.asp file from the C:\Program Files\Microsoft Analysis Services\Bin folder to C:\Inetpub\RetailRoot.</li> Open the Internet Services Manager.</li> In the console tree, expand the server you are administering, and then open the property sheet for the Retail Site.</li> In the Details pane, right-click Msolap.asp, and then click Properties.</li> On the File tab, click to select the Read option, and then click Apply and close the dialog box.</li> On the File Security tab, under IP address and domain name restrictions, click Edit.</li> Select the Denied Access radio buttons, allow access only to authorized IP ranges, and then click OK.</li> Under Anonymous access and authentication control, click Edit.</li> Verify that the Basic authentication check box is selected, and the Anonymous access check box is NOT selected.</li> Under Security Communications, click Edit.</li> <li>Verify that the Require Secure Channel (SSL) check box is selected.</li> <li>Install the following hot fix on the Commerce Server Server:

290638 Cannot Access Business Desk Analysis Services Over Domains

</li></ol>

Enabling Static OLAP Reports
When the server has been configured, you must modify the report definitions for the Static OLAP reports. These report definitions are contained in the Data Warehouse database for your site (for example, Retail_DW). The report definition contains a connection string fragment that enforces SQL Server integrated authentication. This fragment must be removed for the Static OLAP reports to run.

Paste the following code into Notepad, save it as a .vbs file, modify the connection string so that it points to the correct server and database, and then run the .vbs file from the command line to make the necessary changes to the report definitions: set cxn = CreateObject(&quot;ADODB.Connection&quot;) Set rst = CreateObject(&quot;ADODB.RecordSet&quot;) strConn = &quot;Provider=SQLOLEDB;Data Source=MyServer;&quot; & _ &quot;Initial Catalog=Retail_DW;User ID= ;Password= ;&quot; sql = &quot;Select XMLData FROM report&quot; cxn.Open strConn rst.Open sql, cxn, 1, 3 strFind = &quot;<x:ConnectionString>Provider=SQLOLEDB;Integrated Security=SSPI;&quot; strReplace = &quot;<x:ConnectionString>Provider=SQLOLEDB;&quot; While Not rst.EOF xmlData = rst.Fields(&quot;xmldata&quot;).value If instr(xmlData, strFind) > 0 Then rst.Fields(&quot;xmldata&quot;).value = replace(xmlData, strFind, strReplace) rst.Update End If  rst.MoveNext Wend rst.Close cxn.Close set cxn = nothing Set rst = nothing

Running the Reports
When the platform and server have been configured, you must install the Analysis Services Components of Microsoft SQL Server 2000 Service Pack 2 or later on each Business Desk client computer:

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

Additional query words: cs2k com2k sql olap reports

Keywords: kbinfo KB280431

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.