OSCARnet Error
Unexpected error has occured. We are sorry for the inconvenience.
Detailed error info:
Date: 2019-06-24 15:00:09.521
Server: UKOSCWEB02
Url: http://ncs-ltd.opnet.co.uk/Ad.aspx?amp;PageFileName=home_news.aspx&BannerID=171&DealerID=252
User: 3235/-1/-1
OSCARnetEntity.EntityException: Could not invoke method Banner.AddLog ---> System.Exception: Cluster name is DefaultCluster
Could not invoke stored procedure osp_Banner_AddLog
Exec osp_Banner_AddLog @pDealerID=252,@pBannerID=171,@pFrontEndPageID=-1 ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_otBannerLog_otFrontEndPages#FrontEndPageID". The conflict occurred in database "OSCARnet2", table "dbo.otFrontEndPages", column 'FrontEndPageID'.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
   at OSCARnetEntity.DatabaseProxy.Invoke(Boolean useDataSet) in D:\Temp\OSCARnet\Release_UK\Sources\Entity Layer\DatabaseProxy.vb:line 180
   --- End of inner exception stack trace ---
   at OSCARnetEntity.DatabaseProxy.Invoke(Boolean useDataSet) in D:\Temp\OSCARnet\Release_UK\Sources\Entity Layer\DatabaseProxy.vb:line 232
   at OSCARnetEntity.Proxy.Run(ParameterSet parameters) in D:\Temp\OSCARnet\Release_UK\Sources\Entity Layer\Proxy.vb:line 54
   at OSCARnetEntity.DatabaseProxy.Run(ParameterSet parameters) in D:\Temp\OSCARnet\Release_UK\Sources\Entity Layer\DatabaseProxy.vb:line 88
   at OSCARnetEntity.Processor.Execute(String methodName, ParameterSet parameters, SqlTransaction transaction) in D:\Temp\OSCARnet\Release_UK\Sources\Entity Layer\Processor.vb:line 227
   --- End of inner exception stack trace ---
   at OSCARnetEntity.Processor.Execute(String methodName, ParameterSet parameters, SqlTransaction transaction) in D:\Temp\OSCARnet\Release_UK\Sources\Entity Layer\Processor.vb:line 241
   at OSCARnet.DefaultSite.ad.Page_Load(Object sender, EventArgs e) in D:\Temp\OSCARnet\Release_UK\Sources\DefaultSite\ad.aspx.vb:line 14
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at OSCARnet.AbstractPage.OnLoad(EventArgs e) in D:\Temp\OSCARnet\Release_UK\Sources\DefaultSite\PageTemplates\AbstractPage.vb:line 468
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Back