:: Forum >>

Permission Denied

I'm evaluating ActiveWidgets for an implementqtion within my company to display stock market data on my company intranet.

I modified the basic grid data csv text file to pull data from Yahoo finance: http://finance.yahoo.com/d/quotes.csv?s=INDU,NDAQ,YHOO,MSFT,&f=sl1c1v

This works in IE6, but doesn't work in IE7. In IE7, I get a Permission Denied error message.

Based on other comments in the forum, it looks like a cross-domain security issue. has anyone figured out a work-around for this issue?
Eric P
Thursday, June 12, 2008
The only 'workaround' for cross-domain security restrictions is to setup a proxy on your webserver, so the data request will go to your server and your server will request it from the external source and return back to the webpage.
Alex (ActiveWidgets)
Thursday, June 12, 2008
Any chance it's a case of : ??
http://support.microsoft.com/kb/926046/en-us/
http://support.microsoft.com/kb/908356/en-us/
http://support.microsoft.com/kb/884430/en-us/
Carlos
Thursday, June 12, 2008
Alex and Carlos:
Thanks for all of the information. I was able to get it to work in IE7 by changing Access Data Sources Across Domains to Enable.

This is a very cool tool, I hope my finance people will like it as well!
Eric P
Friday, June 13, 2008
Hi Alex
We are having the same issue with the grid, but the data is all embedded in the page as a Javascript array - no external source. The issue occurs on certain machines using IE 6 and 7. The only difference is slightly slower connectivity. In some cases the combo only returns the first item in the list and not the full list. The error given is a "permission denied", but it appears to be a timing issue. The problem is the inconsistency with the error. Is there potential for a timing issue on slower connections?
Thanks in advance.
Gavin
Tuesday, June 24, 2008
http://www.activewidgets.com/javascript.forum.20006.9/popup-issue-for-combo-box.html
Tuesday, June 24, 2008
Are you using AW.Templates.Combo as a cell template? If yes, try this patch -

if (AW.ie) {

    function unregisterPopupDoc(){
        try {
            if (AW.$popup){
                var popup = AW.$popup.$popup;

                if (popup && popup.isOpen){
                    popup.hide();
                }

                if (popup){
                    var i, docs = AW.docs;
                    for(i=0; i<docs.length; i++) {
                        if (docs[i].body==popup.document.body){
                            docs.splice(i, 1);
                            break;
                        }
                    }
                }
            }
        }
        catch(err){
            // ignore errors
        }
    }

    new AW.Templates.Combo;
    var combo = AW.Templates.Combo.prototype;

    if (!combo.hasPopupFix) {

        var oldHidePopup = combo.hidePopup;
        combo.hidePopup = function(){
            unregisterPopupDoc();
            oldHidePopup.call(this);
        };

        var oldShowPopup = combo.showPopup;
        combo.showPopup = function(){
            unregisterPopupDoc();
            oldShowPopup.call(this);
        };

        combo.hasPopupFix = true;
    }
}
Alex (ActiveWidgets)
Tuesday, June 24, 2008
Thanks Alex - you are a star!!! Permission denied error gone, however there is still an issue that seems to be specific to IE7 and the web app being hosted on IIS on Server 2003. Dropdown works fine in Firefox and IE6. In IE7 with only a few (3) options in dropdown, the list does not show more than one row at a time - appears to be cut off by next row in grid. As said above - it works fine outside of the IE7/Server 2003 environment.

Thanks a million for an excellent product - it really saved us on an extremely complex high performance solution. We turfed software that cost us over $1500 and replaced it with ActiveWidgets suite. We have never looked back.
Gavin
Monday, June 30, 2008
Fixed in AW 2.5.2.

http://www.activewidgets.com/general.bugs/2-5-2.html
Alex (ActiveWidgets)
Thursday, July 3, 2008

This topic is archived.


Back to support forum

Forum search