Click here to Skip to main content
11,930,449 members (52,990 online)
Rate this:
Please Sign up or sign in to vote.

Unable to access a website in iframe in click event,


the above string is prepended to the requested url

res://ieframe.dll/dnserrordiagoff.htm# ,

'm trying to open in iframe using href

working fine in local host, but when placed in server, it is not working,

any suggestion is appreciated.
Posted 7-Jan-13 23:10pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It is a dns error. It means that from the server, the you are trying to open in your iframe doesn't resolve. Check the hosts file on your local machine and see if you have an entgry for this url. If you do, then you'll need to use the IP address specified in the hosts file or add the hosts file entry into your server.
shabari7 8-Jan-13 23:01pm
Thank you, I tried some other way,its working fine , just added this url to intranet sites in IE properties. Is it okay?Or do I need to follow what u have told?
shabari7 8-Jan-13 23:27pm
I tried this, but no luck.what would be the cause>?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 8 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100