I have a couple of web pages say Deafault.aspx and docPage.aspx. I have deployed that web application at local IIS. When I browse it load the Default.aspx and from that page I can call the docPage.aspx, so far so good.
Now, I configured the web application winthin an IFRAME on Order form. It loads the Default.aspx but when I clicked to open docPage.aspx it throws an exception.
Exception:
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.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Default2.Page_Load(Object sender, EventArgs e) +60
System.Web.UI.Control.OnLoad(EventArgs e) +108
System.Web.UI.Control.LoadRecursive() +67
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4497