Server Error in '/' 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 366:
Line 367:    Private Function CheckRedirection(ByVal url As String) As Boolean
Line 368:        Dim video_url As String = objVid.URL
Line 369:        'url = Request.Url.Host & url
Line 370:        Dim Is_Debug_mode As Boolean

Source File: D:\Webroot\td2k8r2-64\tdcpreview.dytelworld.com\video.aspx.vb    Line: 368

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   videocardlist.VideoURL(Int64 vId, String sVideoName) +7
   video.get_URL() +16
   video_view.CheckRedirection(String url) in D:\Webroot\td2k8r2-64\tdcpreview.dytelworld.com\video.aspx.vb:368
   video_view.Page_Load(Object sender, EventArgs e) in D:\Webroot\td2k8r2-64\tdcpreview.dytelworld.com\video.aspx.vb:766
   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.5485; ASP.NET Version:2.0.50727.5491