Click here to Skip to main content
11,701,461 members (67,770 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 OriginalGriff 324
1 Maciej Los 275
2 Sergey Alexandrovich Kryukov 250
3 Mika Wendelius 189
4 CHill60 110
0 OriginalGriff 8,274
1 Sergey Alexandrovich Kryukov 7,317
2 CPallini 4,912
3 Maciej Los 4,146
4 Mika Wendelius 3,556

Advertise | Privacy | Mobile
Web03 | 2.8.150819.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