Server Error in '/' Application.

Invalid object name 'bc_online_enrol_courses1920'.

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.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: Invalid object name 'bc_online_enrol_courses1920'.

Source Error:


Line 241:        
Line 242:        public DataAccessService.DataTableClass GetDataTable(string query) {
Line 243:            return base.Channel.GetDataTable(query);
Line 244:        }
Line 245:        

Source File: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\24235ff8\fc614e23\App_WebReferences.kttvtbn0.0.cs    Line: 243

Stack Trace:


[FaultException`1: Invalid object name 'bc_online_enrol_courses1920'.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +4520880
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +1364
   DataAccessService.IDataAccessService.GetDataTable(String query) +0
   DataAccessService.DataAccessServiceClient.GetDataTable(String query) in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\24235ff8\fc614e23\App_WebReferences.kttvtbn0.0.cs:243
   MyApplication1.PopulateCoursesList(String uio_id) in C:\MISLearnerPortal\MyApplication\MyApplication1.aspx.cs:852
   MyApplication1.Page_Load(Object sender, EventArgs e) in C:\MISLearnerPortal\MyApplication\MyApplication1.aspx.cs:207
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1602


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.9224.0