Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
FaizRahman
Frequent Visitor

The Web.Page function requires Active Scripting to be enabled in Internet Explorer

I have a webquery and Analysis services which I am using to bring in the data. The refresh is working fine when configured using my personal gateway, but when I try to refresh it using the enterprise gateway, I get the below error:

 

 

Underlying error message: The Web.Page function requires Active Scripting to be enabled in Internet Explorer options. See https://go.microsoft.com/fwlink/?LinkId=506565 for details on how to enable Active Scripting.

DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259
Microsoft.Data.Mashup.ValueError.Reason: DataSource.Error

 


I have checked and Active Scripting is enabled on the machine where enterprise gateway is hosted. Can you please help me sort this out.

1 ACCEPTED SOLUTION

Thanks, It worked for us as well, though we used a different approach. The issues was Local Group Policy was blocking the service user(pbiegwservice) to use Active Scripting.

* From the Windows Server Start menu, open the Local Group Policy Editor (gpedit.msc).
* Under Local Computer Policy, expand Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page > Internet Zone.
* Right-click Allow active scripting and click Edit.
* In the Allow active scripting dialog, click Enabled.
* In the Options area, select Enable from the list.

View solution in original post

7 REPLIES 7
Marc1979
Advocate I
Advocate I

We are eperiencing the same problem.

 

Last refresh failed: Mon Mar 04 2019 10:33:27 GMT+0100 (Central European Standard Time)
Unable to connect to the data source undefined.

 

Underlying error code:-2147467259 Table: ExchangeRate.
Underlying error message:The Web.Page function requires Active Scripting to be enabled in Internet Explorer options. See for details on how to enable Active Scripting.
DM_ErrorDetailNameCode_UnderlyingHResult:-2147467259
Microsoft.Data.Mashup.ValueError.Reason:DataSource.Error
Cluster URI:WABI-NORTH-EUROPE-redirect.analysis.windows.net
Activity ID: 
Request ID: 
Time:2019-03-04 09:33:27Z

 

We added the url and enabled Active Scripting on the server running Enterprise Gateway.

Also upgraded Enterprise Gateway to the latest version.

 

Do let me know if you find any solution, I have been struggling with it from couple of days with no results

I will give an update if I have any news, could it be related to the fact that setting Active Scripting in internet explorer is related to the user profile? So you should activate it for the account the enterprise gateway uses to run?

We contacted support and applied the following steps:

 

1. Enterprise gateway was running using a local service account, we changed this to a domain user (to change the account you need the restore key of the enteprise gateway)

2. Login as the domain user and set active scripting to true

3. Restart internet explorer

4. Restart the enterprise gateway

5. Refresh dataset

 

This worked for us.

Thanks, It worked for us as well, though we used a different approach. The issues was Local Group Policy was blocking the service user(pbiegwservice) to use Active Scripting.

* From the Windows Server Start menu, open the Local Group Policy Editor (gpedit.msc).
* Under Local Computer Policy, expand Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page > Internet Zone.
* Right-click Allow active scripting and click Edit.
* In the Allow active scripting dialog, click Enabled.
* In the Options area, select Enable from the list.

Hi mate,

 

I don't use windows server but I still see the issue. Not sure how I can fix this.

 

Can you please help me out? Active Scripting on my internet settings is already enabled.

 

Appreciate your help.

 

Cheers,

Vijay


@FaizRahman wrote:

Thanks, It worked for us as well, though we used a different approach. The issues was Local Group Policy was blocking the service user(pbiegwservice) to use Active Scripting.

* From the Windows Server Start menu, open the Local Group Policy Editor (gpedit.msc).
* Under Local Computer Policy, expand Computer Configuration > Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page > Internet Zone.
* Right-click Allow active scripting and click Edit.
* In the Allow active scripting dialog, click Enabled.
* In the Options area, select Enable from the list.


@FaizRahman 

The same issue puzzled me for the past 2 days. I had already enabled scripting on IE internet options but it did not help. The procedure above is the solution, can't give enough kudos for that Smiley Very Happy

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.