troubleshooting Question

Error in IFrame using IE7. Works ok in Firefox

Avatar of inewman
inewman asked on
Web BrowsersHTML
14 Comments1 Solution1575 ViewsLast Modified:
I have a very simple web page that has an external url in an Iframe.  While running the external web page a request is made to enter an email address and Password.    When the viewer enters the password and click Log-in the page fails when using IE7.  The page works OK with Firefox. Attached is the error.

Following the error is my code.
Object reference not set to an instance of an object. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
 
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
 
Source Error: 
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
 
Stack Trace: 
 
 
[NullReferenceException: Object reference not set to an instance of an object.]
   BWWIBOWebspaceFormBase.showDream() +41
   IBO_Webspace_dream.Page_Load(Object sender, EventArgs e) +10
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   BWWFormBase.OnLoad(EventArgs e) +310
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
HTML CODE
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
</head>
<body>
<center><table>
<tr>
<td >At the login screen enter your email address. The Password is Freedom.
</td>
</tr>
 
 
</table></center>
<iframe src="http://www.newmanintl.com/business-options.aspx" width="100%" height="1000 px"  />
</body>
</html>
ASKER CERTIFIED SOLUTION
b0lsc0tt
IT Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros