EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB19226: 'Command line error' or 'Cannot open "mstrwebparts.cab": no such file or folder' error occurs when installing the Web portlet (Web Part) for integration with a Microsoft SharePoint Portal 2003


Community Admin

• Strategy


SYMPTOM:
In order to integrate a Microsoft SharePoint Portal 2003 with Strategy Web 8.1.x, one of the requisites is to install the Strategy portlet (Web Part). As described in the Strategy Developer Library (MSDL), the installation procedure involves running an executable to copy necessary files, contained in a .cab file. To install the Strategy portlet from this .cab file, Administrators must run 'stsadm.exe' from the command line using the following syntax:
 
cd $your_local_drive$\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN
stsadm.exe -o addwppack -filename $your_location_of_cab_file$\MSTRWebParts.CAB
After running the second command, the following errors may be returned (in this example, $your_location_of_cab_file$ is the default path C:\Program Files\Strategy\SDK\DevelopmentKits\PortalIntegration\Portlets\MicrosoftSharePoint):
 

ka04W000000Og6eQAC_0EM440000002Gxl.jpeg

Command line error.

ka04W000000Og6eQAC_0EM440000002Gxn.jpeg

Cannot open "mstrwebparts.cab": no such file or folder.
CAUSE:
The program "stsadm.exe" only accepts a syntax in which $your_location_of_cab_file$ is either a variable, or a path previously defined in the Windows PATH.
 
ACTION:
In order to successfully deploy the Web Pars, place the $your_location_of_cab_file$ path plus the MSTRWebParts.CAB file name between double quotes, as shown below:
 

ka04W000000Og6eQAC_0EM440000002Gxr.jpeg

stsadm.exe -o addwppack -filename "C:\Program Files\Strategy\SDK\DevelopmentKits\PortalIntegration\Portlets\MicrosoftSharePoint\MSTRWebParts.CAB"
Third Party Software Installation:
WARNING:
The third-party product(s) discussed in this technical note is manufactured by vendors independent of Strategy. Strategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 23, 2017

Last Updated:

June 23, 2017