This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
sajjarapu  
#1 Posted : Wednesday, April 15, 2009 7:53:05 AM(UTC)
sajjarapu

Rank: Newbie

Groups: Guest
Joined: 6/3/2008(UTC)
Posts: 7

Hi,

We need to use the Photo Editor in a IFRAME. However, the editor only works in Firefox. It does not work in IE. We get "Access is Denied" error. Can this be fixed? Please advise

Thanks

Sri

Dmitry  
#2 Posted : Monday, April 20, 2009 3:20:46 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Guest
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello Sri,

Strange, we just tried to create an aspx page and add our standard sample in iframe. It works okay. Please, check the attached page.

File Attachment(s):
IFrame.zip (1kb) downloaded 39 time(s).
Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

sajjarapu  
#3 Posted : Tuesday, April 21, 2009 1:33:20 AM(UTC)
sajjarapu

Rank: Newbie

Groups: Guest
Joined: 6/3/2008(UTC)
Posts: 7

Hi Dmitry,

Some additional info about our setup:

We set up the Photo editor as a separate application with its sub domain (for ex: photos.domain.com). The parent page will be served from www.domain.com with a Iframe which points to photos.domain.com. Do you think the domain is causing the issue? Please note that the setup works in Firefox. We only get this is IE browsers (6.0 and above). Please advise

Thanks

Sri

Dmitry  
#4 Posted : Thursday, April 23, 2009 3:05:14 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Guest
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Sorry for delay with answer.

The problem is in ASP.NET Ajax 1.0. This framework contains a function Sys.UI.getLocation used by Photo Editor, it tries to obtain property values of the parent window. If you are using subdomains it is not working with iframes and gets "access denied" error. The detailed information on this problem can be found in the How to work around the access denied cross-domain frame issue in ASP.NET Ajax 1.0 post.

This way you have two options:

1. Modify the code of Sys.UI.getLocation function as it is suggested in the post.

2. Migrate your site to Framework 3.5 and update version of System.Web.Extensions.dll and System.Web.Extensions.Design.dll assemblies to 3.5 in references of Photo Editor. This way will work if you purchased Photo Editor and downloaded full version of the product.

Edited by user Thursday, April 23, 2009 3:06:53 PM(UTC)  | Reason: Not specified

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.