Power BI Iframe: Issue with IE and Edge - iframe

We have an Application Developed in ASP.NET inside which we have added an embedded Power Bi Dashboard using iFrame.
The Dashboard is working as expected in Chrome but facing the following issues with IE and Edge.
On IE the Dashboard is not being Displayed when viewed from the Embedded Application and upon clicking the power bi Sign-In button (shown within the Iframe), the application as a whole gets redirected to app.Powerbi.com/.... When you click the back button and refresh, still the sign-in prompt is shown in the iframe.
On Edge, the behavior is same as in IE, except that you click the back button from the app.powerbi.com website and then refresh the page, then the report renders correctly within the Iframe.
I tried clearing the Cache and Cookies, tried adding *.microsoft.com site and *app.powerbi.com to trusted sites list(per power bi forums) but still not working.

I suggest you check for the latest Windows updates and try to install it. Then after again try to test this issue on your side.
If the issue persists then hard refresh the page. Clear all the data for that site and again try to load the page.
I tested the issue with IE 11.1.18362.0 and Microsoft Edge 44.18362.1.0. As per my testing results, both browsers display the Power BI dashboard in ASP.NET site without any issue.
Output in IE 11:
Output in MS Edge:
If the issue persists then try to check the console to see whether there is any error or warning message. It can help to narrow down the issue.

Related

404 error - File or directory not found. This is happening with certain pages when using Chrome Web Browser

I've been hired into a company that uses ASP.NET for all of their external and internal sites. I'm not too familiar with ASP.NET.
I'm currently working on a external site that runs perfectly in Internet Explorer.
When using the site on chrome, I have certain pages that give me the 404 - File or directory not found.
What can I do to help prevent this error code from showing up when using this site the chrome?
From your description, I understand that your site is a legacy site that is compatible with the IE browser but it is not working properly with modern browsers.
The 404 error information generally informs us that something is not found but if the site works fine in the IE browser then it could be possible that the issue is something else. In that case, this is too little information to predict the cause of the issue.
You may need to provide detailed information about which exact piece of code has the issue. Which version of the Asp.Net project and which kind of project(Web application, web API, etc.) it is. You may need to modify your code or project to make it work with modern browsers including Google Chrome.
At present, if you don't want to make any changes in your code then you could try to use the IE mode in the MS Edge browser to load your legacy site.
You could configure the IE mode manually or using the group policy.
To quickly check it, Launch the Edge browser. Paste edge://settings/defaultBrowser in the address bar and press the Enter key. Add your page to the Internet Explorer mode pages. Visit your site, it should load properly in the IE mode in the Edge browser.

Google Embedded Iframe Calendar Not Displaying Events Consistently [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I've made up an intranet for the company I work with. The intranet requires the user to log in with their Google account to get access. As such, I've also set up an embed code for Google Calendars using the default iframe embed and used a little php to swap out the calendar to look at the user's email to show the appropriate calendar to them (ex: logging in as joe#gmail.com will populate the calendar with joe#gmail.com's address while logging in as jill#gmail.com will populate the calendar with jill#gmail.com's address).
This has worked well for most people, but there are some troubles we are running into with certain browsers and the errors are very inconsistent, which has made troubleshooting difficult. Also, when I check the source code, the correct email is showing up in the iframe so the php swapping is likely not the issue.
Example 1: I log in with Firefox on Windows 10. The calendar works as expected.
Example 2: I log in with Chrome on Windows 10. The calendar shows, but events do not display. No errors are given.
Example 3: Co-worker #1 logs in with Chrome on Windows 10. The calendar works as expected.
Example 4: Co-worker #2 logs in with Chrome on Windows 10. He gets a "You do not have permission to view one or more calendars" error despite the source code clearly pointing to only his personal calendar, which he undoubtedly has access to (He is also logged into his Google account on Google itself, so it's not a conflict there either).
Example 5: I log in with Chrome on Windows 10 in Incognito Mode. The calendar works as expected.
Example 6: I log in with Edge on Windows 10. The calendar works on the initial log in, but the moment I navigate to another page, the calendar still displays but all events disappear with no errors displayed. This persists until I log in again.
Example 7: Co-worker #3 logs in with Chrome on Mac OSX. The calendar works on the initial log in, but the moment she navigates to another page, the calendar still displays but all events disappear with no errors displayed. This persists until she logs in again. (This is consistent across any browser she uses)
Example 8: Co-worker #4 logs in with Chrome on Mac OSX. The calendar works as expected.
Ultimately I'm just lost on where to start with searching for these errors and narrowing down what the cause is. Clearing caches only seems to work sometimes, and other times even causes a different error to start popping up. Does anyone have any idea what could be causing these inconsistent errors and where to start looking for fixing this issue?
This is still an intermitttent issue when using embedded Iframe calendar with a different browser.
Here are some suggested solutions for this issue:
Clearing the cache and cookies
Before integrating the calendar, click the Customize button from the Google Calendar Settings on how to embed on your website then try to explore.
From this github post, rullzer suggest an idea of a cleaner approach to handle cookies on IFRAME to migrate to lax samesite cookies for all cookies.
This only makes the cookies more secure. Plus it makes sure that if
you embed some public page somewhere everbody will see the exact same
thing. (as the IFRAME won't send any cookies then resulting in a true
'publicpage' rendering).

Report Viewer Print Button in IE 11

I am using Report Viewer to remotely generate reports and I wish to have the print control button in the report header using IE 11.
This question is similar to the following:
Print button not available in ReportViewer using IE11
I have not been able to solve this issue. I have upgraded Report Viewer 2012 Runtime to 11.1.3452.0 and SQL Server 2008 R2 to SP2.
I am using Windows Server 2008 R2 and .NET framework 4.5.1 on the server. IIS is version 7.
I can see print buttons in all previous versions of IE (10,9,8,....)
I've also tried forcing the user agent to IE10 using this line:
meta http-equiv="X-UA-Compatible" content="IE=10"
According to the answers to the above question, I should have the print button. Any other suggestions besides compatibility mode or creating my own print button?
ReportViewer client printing feature relies on ActiveX which is not
supported by any browser except IE 9 (or earlier), that's why you do
not get print button when Chrome, Firefox or IE10/11 browser is
involved. For printing, you should export to PDF and let the user to
print it.
http://forums.asp.net/t/1962293.aspx?+Report+Viewer+print+Button+missing+from+browser
IE needs an add-on, RSClient, for the print button to work. Normally, the first time a user loads a report on IE, you'll see a prompt to download and install the add-on. Unfortunately, a lot of things can interfere with this. I'm not sure this will help you, but security settings were an issue for us.
Try this:
Remove the RSClientPrint add-on if it's installed. (Open the Control Panel, Internet Properties. Click the Programs tab and Manage Add-Ons.)
Click the Security tab, select the Trusted Sites zone, and then click the Sites button.
Add your web site to the zone and save your changes.
Open IE and navigate to your web site and the report. Hopefully, you'll see the prompt to download and install RSClientPrint and everything will work well. If it doesn't try to download, I would focus on the server.

.net localhost website consistently making get arterySignalR/poll?transport=longPolling&connectionToken= calls

I created a new VS 2013 project and viewed the default.aspx page with the Firefox browser. When I check the net calls it has made, I see it making constant calls to:
http://localhost:50682/6a663a78019845d5ade4a328cad09cc2/arterySignalR/poll?transport=longPolling&connectionToken=AQAAANCMnd8BFdERjHoAwE%2FCl%2BsBAAAAOBmDwPWa2ky2MAZXFHBMVAAAAAACAAAAAAAQZgAAAAEAACAAAADSADQXBVKiKczflJ0OzUjOLduFTJE4zd%2FLHWGpDfXnuAAAAAAOgAAAAAIAACAAAACyEX81VwilygfphPoEKCYQ6ZwrkzExoKfZzEMkqBKqqzAAAADG%2BDJbrEFOfsNm9OKhqacnGseQvrwy5kmyZnI5YJiZbjYFgzMELXHfwA7Sxjj4osJAAAAAvQvoG4N0nn8eB9FRaJaZyqaUDF%2F9ypvGN%2B%2BVefnx8U1Fq6P9HXO9vEC%2BfA2s8R4jik58rD4IcFMjM4P8l5kv6g%3D%3D&messageId=d-F1180A0E-W%2C0%7Cl%2C4%7Cm%2C0&requestUrl=http%3A%2F%2Flocalhost%3A50656%2Fdefaulttest&browserName=Firefox&tid=4&_=1384207744328
Why is it doing that?
How do I stop those calls?
I see an infinite number of calls made to the above URL every 6 seconds.
Please help me understand this and fix this.
This is working as intended. Artery aka BrowserLink is a real-time connection from Visual Studio to all browsers running your code. It essentially allows Visual Studio to interact with every browser.
For instance if you have IE, Opera, Chrome and Firefox all running your code and you're trying to ensure cross browser correctness; instead of going to each browser and hitting f5 to refresh you can just click the browser link refresh button which will auto-refresh all of the pages for you.
Not everyone wants or needs to have this functionality so if you do want to disable it, as Gustavo Armenta said you can disable it by following the steps here: How can I disable __vwd/js/artery in VS.NET 2013?
I would recommend you to read this post first Browser Link feature in Visual Studio Preview 2013 to understand about this new feature that comes in with VS 2013.
And then to disable this, simply uncheck the "Enable browser link" option.
You can hide the polling requests from the Chrome developer tools Network tab so that the requests you are actually interested in become visible. You can hide the polling requests by adding a negative filter:
On the Network tab, click the filter button to open the filter options
Enter "-poll" without the quotes to hide the polling requests.
Example:
Had issues with that on site running with KnockoutJS framework. Pages were freezing for 10 seconds until "BrowserLink" external scripts were loading (using Chrome browser).
Issue solved by disabling "Browser link" feature in VS 2013
Steps How to disable "Browser link" (thanks to Gustavo Armenta for leaving comment with link in question)

Using Chrome Developer Tools to Get Favicon

When I try to hit my test webpage, I get a 503 error.
In the browser tab, the icon associated with my page. However, when I use Chrome Developer Tools, I don't see how that image is appearing.
I cleared my cache prior to hitting the page. Also, I had looked at the HTML and Network tabs, but do not see how the file is getting retrieved.
It is still an issue. See here. It has been pushed off for some time.

Resources