Content Error: 500 Internal Server Error(Error Detail)
Object reference not set to an instance of an object.
Server Error in '/Photos' Application.
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:
Line 73: c.Attributes("align") = "Right"
Line 74: c.Attributes("NAME") = "test1"
Line 75: c.Controls.Add(New LiteralControl(aImages(x).ToString))
Line 76: r.Cells.Add(c)
Line 77: Dim c2 As New TableCell()
|
Source File: E:\ImageManipulator\HotOrNot2.aspx.vb Line: 75
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
HotOrNot.Page_Load(Object sender, EventArgs e) in E:\ImageManipulator\HotOrNot2.aspx.vb:75
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
|
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3614
|