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:


[No relevant source lines]

Source File: App_Code.9n2mmwxd.3.cs    Line: 2547

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   pressclubTableAdapters.newsTableAdapter.InitConnection() in App_Code.9n2mmwxd.3.cs:2547
   pressclubTableAdapters.newsTableAdapter.get_Connection() in App_Code.9n2mmwxd.3.cs:2457
   pressclubTableAdapters.newsTableAdapter.InitAdapter() in App_Code.9n2mmwxd.3.cs:2515
   pressclubTableAdapters.newsTableAdapter.get_Adapter() in App_Code.9n2mmwxd.3.cs:2447
   pressclubTableAdapters.newsTableAdapter.GetDataBynews_id(Int32 news_id) in App_Code.9n2mmwxd.3.cs:2638
   newsdetail.Page_Load(Object sender, EventArgs e) in D:\INETPUB\VHOSTS\cmoharidwar.org\httpdocs\newsdetail.aspx.vb:8
   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.9174; ASP.NET Version:2.0.50727.9175