Click here to Skip to main content
11,639,126 members (64,082 online)
Rate this: bad
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 22: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 at 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 at 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
0 Suvendu Shekhar Giri 280
1 Sergey Alexandrovich Kryukov 279
2 Richard Deeming 200
3 CPallini 187
4 PIEBALDconsult 175
0 OriginalGriff 9,081
1 Sergey Alexandrovich Kryukov 8,812
2 Mika Wendelius 7,027
3 Suvendu Shekhar Giri 2,600
4 F-ES Sitecore 2,548

Advertise | Privacy | Mobile
Web01 | 2.8.150728.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