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

KB47928: ‘Access denied - The following privilege is required to access the resource you requested: WebExportToHTML (4)’ message is displayed when exporting a report to HTML using URL API in MicroStrategy 9.4.x


Community Admin

• Strategy


This article explains what to do when an ‘Access denied’ error message is displayed when exporting a report to HTML via URL API.

SYMPTOM: 
In Strategy Web 9.4.x, an ‘Access denied’ error message is displayed when exporting a report to HTML via URL API:

ka04W000000OdG2QAK_0EM440000002GUF.png

 


Access denied

The following privilege is required to access the resource you requested: WebExportToHTML (4)

 
STEPS TO REPRODUCE:
Run the report using the following URL API:

http://localhost/MicroStrategy/asp/Main.aspx?server=SERVERNAME
&Project=Strategy+Tutorial
&Port=0
&uid=Administrator
&pwd=
&src=mstrWeb.3012&evt=3012
&reportID=EB3CD5D14F4C8C77782AC0882C986B8D
&exportFormatGrids=htmlGrids 

 
CAUSE:
The syntax required for Strategy 9 includes additional parameters.
 
ACTION:
Option_1:
Use the session state instead of uid parameter, as shown below:

http://localhost/MicroStrategy/asp/Main.aspx?server=SERVERNAME
&Project=Strategy+Tutorial
&Port=0
&src=mstrWeb.3012&evt=3012
&reportID=EB3CD5D14F4C8C77782AC0882C986B8D
&exportFormatGrids=htmlGrids
&usrSmgr=0.000000011209eb04d3689335e915ec8983b16...

 
Option_2:
Use the event ID 3067, as shown below:

http://localhost/MicroStrategy/asp/Main.aspx?server=SERVERNAME
&Project=Strategy+Tutorial
&Port=0
&uid=Administrator
&pwd=
&src=mstrWeb.3067&evt=3067
&group=export&fastExport=true
&reportID=EB3CD5D14F4C8C77782AC0882C986B8D
&reportViewMode=1&showOptionsPage=false&defaultRunMode=htmlGrids

 
For Report Service documents, the event ID 3130 is used:

http://localhost/MicroStrategy/asp/Main.aspx?server=SERVERNAME
&Project=Strategy+Tutorial
&Port=0
&uid=Administrator
&pwd=
&src=mstrWeb.3130&evt=3130
&documentID=D9F2A9404C2626D3C92EDF826EEF0B7A

 
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 22, 2017

Last Updated:

June 22, 2017