2024-04-30 00:25:53.752 +05:30 cc70adb0-b8c1-4b9d-9015-410dce6fef53 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 08:20:40.069 +05:30 d23dbfae-d21d-45d5-9928-44510fe2e407 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 08:20:40.555 +05:30 e2f80753-ec36-4fb9-8235-2c48115075de ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 08:20:40.937 +05:30 557decc0-53f4-40b0-bd20-b1db838a3e37 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 08:20:41.319 +05:30 1b38d222-5d46-46de-91d9-51dd7e2e456b ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 08:21:59.885 +05:30 b88c4f49-c7ea-4df4-9603-557af500e503 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:21:59.888 +05:30 b88c4f49-c7ea-4df4-9603-557af500e503 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:21:59.888 +05:30 b88c4f49-c7ea-4df4-9603-557af500e503 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:21:59.895 +05:30 b88c4f49-c7ea-4df4-9603-557af500e503 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6ccb7da6-d315-4de9-a307-a077ab837391 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 08:22:32.648 +05:30 6c6df56f-0e6e-4eb9-8484-a04df290801b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:32.649 +05:30 6c6df56f-0e6e-4eb9-8484-a04df290801b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:32.649 +05:30 6c6df56f-0e6e-4eb9-8484-a04df290801b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:32.651 +05:30 6c6df56f-0e6e-4eb9-8484-a04df290801b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6ccb7da6-d315-4de9-a307-a077ab837391 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 08:22:33.948 +05:30 f1924914-9b51-4d1f-a47e-9cceeeec8231 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:33.949 +05:30 f1924914-9b51-4d1f-a47e-9cceeeec8231 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:33.949 +05:30 f1924914-9b51-4d1f-a47e-9cceeeec8231 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:33.951 +05:30 f1924914-9b51-4d1f-a47e-9cceeeec8231 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6ccb7da6-d315-4de9-a307-a077ab837391 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 08:22:36.883 +05:30 020dcc1d-9ca6-4bc6-a564-e12136d1d184 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:36.884 +05:30 020dcc1d-9ca6-4bc6-a564-e12136d1d184 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:36.884 +05:30 020dcc1d-9ca6-4bc6-a564-e12136d1d184 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:36.885 +05:30 020dcc1d-9ca6-4bc6-a564-e12136d1d184 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6ccb7da6-d315-4de9-a307-a077ab837391 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 08:22:38.751 +05:30 8bbfc610-fa4e-488c-beb2-56dae69c9043 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:38.752 +05:30 8bbfc610-fa4e-488c-beb2-56dae69c9043 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:38.752 +05:30 8bbfc610-fa4e-488c-beb2-56dae69c9043 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:22:38.753 +05:30 8bbfc610-fa4e-488c-beb2-56dae69c9043 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6ccb7da6-d315-4de9-a307-a077ab837391 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 08:27:43.567 +05:30 f2bde0ac-c0f4-43c1-b90e-b6a22a136545 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:27:43.570 +05:30 f2bde0ac-c0f4-43c1-b90e-b6a22a136545 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:27:43.571 +05:30 f2bde0ac-c0f4-43c1-b90e-b6a22a136545 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:27:43.577 +05:30 f2bde0ac-c0f4-43c1-b90e-b6a22a136545 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b6bdb27f-c69f-40bf-9615-7d06b295ea3f Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 08:29:43.279 +05:30 64fe2ec9-9f16-474f-b3f9-e7cb69692ac2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:29:43.280 +05:30 64fe2ec9-9f16-474f-b3f9-e7cb69692ac2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:29:43.280 +05:30 64fe2ec9-9f16-474f-b3f9-e7cb69692ac2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:29:43.282 +05:30 64fe2ec9-9f16-474f-b3f9-e7cb69692ac2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:81b34858-dced-4d80-853f-7b5466652e73 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 08:29:53.431 +05:30 bac02bb4-70ed-4e09-a43e-ce82fbcbd3b4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:29:53.432 +05:30 bac02bb4-70ed-4e09-a43e-ce82fbcbd3b4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:29:53.433 +05:30 bac02bb4-70ed-4e09-a43e-ce82fbcbd3b4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:29:53.436 +05:30 bac02bb4-70ed-4e09-a43e-ce82fbcbd3b4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b6bdb27f-c69f-40bf-9615-7d06b295ea3f Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 08:30:41.301 +05:30 48aca6e5-fbda-4cf0-907d-df0482d8757f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:30:41.302 +05:30 48aca6e5-fbda-4cf0-907d-df0482d8757f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:30:41.302 +05:30 48aca6e5-fbda-4cf0-907d-df0482d8757f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 08:30:41.304 +05:30 48aca6e5-fbda-4cf0-907d-df0482d8757f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:81b34858-dced-4d80-853f-7b5466652e73 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 09:06:57.163 +05:30 e5e3cffc-cf50-4293-bb5e-3319aee511bb ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 09:06:57.507 +05:30 bd9229b8-47a3-454e-98b5-775c1d7f3fb5 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 09:06:57.832 +05:30 626c98be-1908-48f3-b739-0b4d4583948c ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 09:06:58.222 +05:30 ee0f9ab3-9a16-4d20-b99b-7e772cc88039 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 10:24:35.492 +05:30 6ce93675-4ff3-4830-8430-f5adedbcab46 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 10:24:35.875 +05:30 32a01ba5-051b-4105-84c9-66c27031f56a ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 10:24:36.197 +05:30 b80b395a-ccb6-4027-9fec-23eaf6f11512 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 10:24:36.487 +05:30 0a5613ac-99eb-45e2-8be0-238e66937495 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 10:25:27.800 +05:30 2dca7ca2-d7f0-49e8-86a8-77186f239a99 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:25:27.804 +05:30 2dca7ca2-d7f0-49e8-86a8-77186f239a99 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:25:27.805 +05:30 2dca7ca2-d7f0-49e8-86a8-77186f239a99 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:25:27.813 +05:30 2dca7ca2-d7f0-49e8-86a8-77186f239a99 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite, String method) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:800a46e2-be4a-4c35-8d6c-b0dc3aeccccf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:25:29.550 +05:30 ba50b278-ab6d-4ba3-aa41-dce7644c48c4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:25:29.553 +05:30 ba50b278-ab6d-4ba3-aa41-dce7644c48c4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:25:29.553 +05:30 ba50b278-ab6d-4ba3-aa41-dce7644c48c4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:25:29.556 +05:30 ba50b278-ab6d-4ba3-aa41-dce7644c48c4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:800a46e2-be4a-4c35-8d6c-b0dc3aeccccf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:25:46.285 +05:30 507c8eca-e6cc-47ca-a1f8-c87fd85a99e1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:25:46.295 +05:30 507c8eca-e6cc-47ca-a1f8-c87fd85a99e1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:25:46.295 +05:30 507c8eca-e6cc-47ca-a1f8-c87fd85a99e1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:25:46.298 +05:30 507c8eca-e6cc-47ca-a1f8-c87fd85a99e1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:800a46e2-be4a-4c35-8d6c-b0dc3aeccccf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:26:09.771 +05:30 d4186c29-818c-461a-b3e0-ad07fd1634a3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:26:09.772 +05:30 d4186c29-818c-461a-b3e0-ad07fd1634a3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:26:09.773 +05:30 d4186c29-818c-461a-b3e0-ad07fd1634a3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:26:09.775 +05:30 d4186c29-818c-461a-b3e0-ad07fd1634a3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:800a46e2-be4a-4c35-8d6c-b0dc3aeccccf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:26:14.398 +05:30 b36e6a16-64ac-4a70-9d1e-d274d2e97711 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:26:14.402 +05:30 b36e6a16-64ac-4a70-9d1e-d274d2e97711 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:26:14.402 +05:30 b36e6a16-64ac-4a70-9d1e-d274d2e97711 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:26:14.404 +05:30 b36e6a16-64ac-4a70-9d1e-d274d2e97711 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:27d068c3-c491-42b3-a94f-1e1d93735abd Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:27:03.241 +05:30 496fb8a4-a625-4d9f-b464-3afe34b3dc85 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:03.243 +05:30 496fb8a4-a625-4d9f-b464-3afe34b3dc85 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:03.243 +05:30 496fb8a4-a625-4d9f-b464-3afe34b3dc85 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:03.246 +05:30 496fb8a4-a625-4d9f-b464-3afe34b3dc85 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:27d068c3-c491-42b3-a94f-1e1d93735abd Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:27:07.558 +05:30 114174dc-7a20-4f83-adfd-181173e2e9e9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:07.560 +05:30 114174dc-7a20-4f83-adfd-181173e2e9e9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:07.560 +05:30 114174dc-7a20-4f83-adfd-181173e2e9e9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:07.562 +05:30 114174dc-7a20-4f83-adfd-181173e2e9e9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:27d068c3-c491-42b3-a94f-1e1d93735abd Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:27:19.814 +05:30 36830812-2586-4027-b744-635d209451d4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:19.815 +05:30 36830812-2586-4027-b744-635d209451d4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:19.815 +05:30 36830812-2586-4027-b744-635d209451d4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:19.817 +05:30 36830812-2586-4027-b744-635d209451d4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b8f32bb9-60d5-4aec-b765-3b4e6d5ca78a Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:27:26.465 +05:30 e38ac198-0e68-42aa-9698-3f54662c275b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:26.467 +05:30 e38ac198-0e68-42aa-9698-3f54662c275b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:26.468 +05:30 e38ac198-0e68-42aa-9698-3f54662c275b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:26.469 +05:30 e38ac198-0e68-42aa-9698-3f54662c275b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b8f32bb9-60d5-4aec-b765-3b4e6d5ca78a Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:27:39.078 +05:30 0406f2b4-d06e-4380-82c8-2538e631ddd1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:39.088 +05:30 0406f2b4-d06e-4380-82c8-2538e631ddd1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:39.088 +05:30 0406f2b4-d06e-4380-82c8-2538e631ddd1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:27:39.090 +05:30 0406f2b4-d06e-4380-82c8-2538e631ddd1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b8f32bb9-60d5-4aec-b765-3b4e6d5ca78a Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:28:29.570 +05:30 e9ecafff-87b0-455a-9b60-7b427f8745b3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:28:29.572 +05:30 e9ecafff-87b0-455a-9b60-7b427f8745b3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:28:29.573 +05:30 e9ecafff-87b0-455a-9b60-7b427f8745b3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:28:29.577 +05:30 e9ecafff-87b0-455a-9b60-7b427f8745b3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:800a46e2-be4a-4c35-8d6c-b0dc3aeccccf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:28:52.503 +05:30 3501255a-f941-47e5-8add-dbbcd2b309c5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:28:52.504 +05:30 3501255a-f941-47e5-8add-dbbcd2b309c5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:28:52.505 +05:30 3501255a-f941-47e5-8add-dbbcd2b309c5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:28:52.506 +05:30 3501255a-f941-47e5-8add-dbbcd2b309c5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:7545c9fc-2ef0-4a47-8526-56566a2ae1bf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:29:34.166 +05:30 95ab6fdd-65dc-4f44-8677-0949bb78f102 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:29:34.167 +05:30 95ab6fdd-65dc-4f44-8677-0949bb78f102 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:29:34.167 +05:30 95ab6fdd-65dc-4f44-8677-0949bb78f102 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:29:34.170 +05:30 95ab6fdd-65dc-4f44-8677-0949bb78f102 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:7545c9fc-2ef0-4a47-8526-56566a2ae1bf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:30:36.105 +05:30 bca933ec-c9aa-466f-83e9-c4a62f754dba ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:30:36.106 +05:30 bca933ec-c9aa-466f-83e9-c4a62f754dba ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:30:36.107 +05:30 bca933ec-c9aa-466f-83e9-c4a62f754dba ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:30:36.109 +05:30 bca933ec-c9aa-466f-83e9-c4a62f754dba ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:7545c9fc-2ef0-4a47-8526-56566a2ae1bf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:31:36.746 +05:30 8fc1c244-8aa9-4e0e-9743-d16c3ee4d7ea ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:31:36.747 +05:30 8fc1c244-8aa9-4e0e-9743-d16c3ee4d7ea ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:31:36.748 +05:30 8fc1c244-8aa9-4e0e-9743-d16c3ee4d7ea ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:31:36.751 +05:30 8fc1c244-8aa9-4e0e-9743-d16c3ee4d7ea ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:320419a9-a2ef-42f5-bf1f-cbdb5055c620 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:33:01.740 +05:30 444a0498-d72d-420a-a609-6bd7cc13d4b6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:33:01.742 +05:30 444a0498-d72d-420a-a609-6bd7cc13d4b6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:33:01.742 +05:30 444a0498-d72d-420a-a609-6bd7cc13d4b6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:33:01.745 +05:30 444a0498-d72d-420a-a609-6bd7cc13d4b6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:7545c9fc-2ef0-4a47-8526-56566a2ae1bf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:35:04.538 +05:30 d5bb9dd9-3354-49b9-9f1b-dfc27e214fe9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:35:04.541 +05:30 d5bb9dd9-3354-49b9-9f1b-dfc27e214fe9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:35:04.541 +05:30 d5bb9dd9-3354-49b9-9f1b-dfc27e214fe9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:35:04.544 +05:30 d5bb9dd9-3354-49b9-9f1b-dfc27e214fe9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:f77fcfb5-b7b6-4360-8a06-a536f33da3ed Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:35:23.048 +05:30 48d0ba22-08b9-4b5c-894f-b97be2db2928 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:35:23.054 +05:30 48d0ba22-08b9-4b5c-894f-b97be2db2928 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:35:23.055 +05:30 48d0ba22-08b9-4b5c-894f-b97be2db2928 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:35:23.058 +05:30 48d0ba22-08b9-4b5c-894f-b97be2db2928 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:f77fcfb5-b7b6-4360-8a06-a536f33da3ed Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:36:05.185 +05:30 467a918c-66b8-4cb8-adb2-d12c1136b5da ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:05.187 +05:30 467a918c-66b8-4cb8-adb2-d12c1136b5da ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:05.187 +05:30 467a918c-66b8-4cb8-adb2-d12c1136b5da ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:05.190 +05:30 467a918c-66b8-4cb8-adb2-d12c1136b5da ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:320419a9-a2ef-42f5-bf1f-cbdb5055c620 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:36:07.554 +05:30 f7863bca-37c1-40e0-8e87-fb515f8a0cd3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:07.558 +05:30 f7863bca-37c1-40e0-8e87-fb515f8a0cd3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:07.559 +05:30 f7863bca-37c1-40e0-8e87-fb515f8a0cd3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:07.561 +05:30 f7863bca-37c1-40e0-8e87-fb515f8a0cd3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:320419a9-a2ef-42f5-bf1f-cbdb5055c620 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:36:12.979 +05:30 a6fe206c-a911-4ab7-b310-4db4220a7d4e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:12.981 +05:30 a6fe206c-a911-4ab7-b310-4db4220a7d4e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:12.981 +05:30 a6fe206c-a911-4ab7-b310-4db4220a7d4e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:12.986 +05:30 a6fe206c-a911-4ab7-b310-4db4220a7d4e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:320419a9-a2ef-42f5-bf1f-cbdb5055c620 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:36:19.000 +05:30 a30d34d3-0687-4e54-9ee0-834216b9ae02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:19.001 +05:30 a30d34d3-0687-4e54-9ee0-834216b9ae02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:19.001 +05:30 a30d34d3-0687-4e54-9ee0-834216b9ae02 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:36:19.003 +05:30 a30d34d3-0687-4e54-9ee0-834216b9ae02 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:320419a9-a2ef-42f5-bf1f-cbdb5055c620 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:37:13.470 +05:30 90e25ec7-a04f-4053-bef3-d0da41e4569b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:37:13.470 +05:30 90e25ec7-a04f-4053-bef3-d0da41e4569b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:37:13.471 +05:30 90e25ec7-a04f-4053-bef3-d0da41e4569b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:37:13.473 +05:30 90e25ec7-a04f-4053-bef3-d0da41e4569b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:f77fcfb5-b7b6-4360-8a06-a536f33da3ed Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:37:42.046 +05:30 0e56a76f-5568-4fa5-a057-ea6221a2ee72 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:37:42.047 +05:30 0e56a76f-5568-4fa5-a057-ea6221a2ee72 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:37:42.047 +05:30 0e56a76f-5568-4fa5-a057-ea6221a2ee72 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:37:42.049 +05:30 0e56a76f-5568-4fa5-a057-ea6221a2ee72 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:435fc549-0e05-4f42-bfeb-cb1ccb20f477 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:37:59.046 +05:30 5fc2d150-5a3b-43c3-96cf-b07215282284 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:37:59.048 +05:30 5fc2d150-5a3b-43c3-96cf-b07215282284 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:37:59.048 +05:30 5fc2d150-5a3b-43c3-96cf-b07215282284 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:37:59.051 +05:30 5fc2d150-5a3b-43c3-96cf-b07215282284 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:435fc549-0e05-4f42-bfeb-cb1ccb20f477 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:38:20.206 +05:30 132fb120-3a78-4a6a-92c2-618a06a874dd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:38:20.207 +05:30 132fb120-3a78-4a6a-92c2-618a06a874dd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:38:20.207 +05:30 132fb120-3a78-4a6a-92c2-618a06a874dd ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:38:20.210 +05:30 132fb120-3a78-4a6a-92c2-618a06a874dd ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:435fc549-0e05-4f42-bfeb-cb1ccb20f477 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:40:09.920 +05:30 cd0ab44d-a61b-4e9d-845a-56dbc3c6b3b6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:40:09.925 +05:30 cd0ab44d-a61b-4e9d-845a-56dbc3c6b3b6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:40:09.926 +05:30 cd0ab44d-a61b-4e9d-845a-56dbc3c6b3b6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:40:09.955 +05:30 cd0ab44d-a61b-4e9d-845a-56dbc3c6b3b6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:435fc549-0e05-4f42-bfeb-cb1ccb20f477 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:42:57.936 +05:30 64ef5cbc-5fd8-43ab-b252-c8eec1d2066d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:42:57.937 +05:30 64ef5cbc-5fd8-43ab-b252-c8eec1d2066d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:42:57.937 +05:30 64ef5cbc-5fd8-43ab-b252-c8eec1d2066d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:42:57.940 +05:30 64ef5cbc-5fd8-43ab-b252-c8eec1d2066d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:f77fcfb5-b7b6-4360-8a06-a536f33da3ed Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:43:15.727 +05:30 7967130e-cf97-4006-9d61-9d303cab8ef7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:43:15.727 +05:30 7967130e-cf97-4006-9d61-9d303cab8ef7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:43:15.728 +05:30 7967130e-cf97-4006-9d61-9d303cab8ef7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:43:15.729 +05:30 7967130e-cf97-4006-9d61-9d303cab8ef7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:f77fcfb5-b7b6-4360-8a06-a536f33da3ed Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:44:55.101 +05:30 475b488d-fe8a-412d-bb30-7a90e6dbaa7f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:44:55.102 +05:30 475b488d-fe8a-412d-bb30-7a90e6dbaa7f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:44:55.103 +05:30 475b488d-fe8a-412d-bb30-7a90e6dbaa7f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:44:55.107 +05:30 475b488d-fe8a-412d-bb30-7a90e6dbaa7f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:435fc549-0e05-4f42-bfeb-cb1ccb20f477 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:45:04.707 +05:30 62865afe-1e0e-424f-92dc-149db12fae3d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:04.710 +05:30 62865afe-1e0e-424f-92dc-149db12fae3d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:04.711 +05:30 62865afe-1e0e-424f-92dc-149db12fae3d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:04.713 +05:30 62865afe-1e0e-424f-92dc-149db12fae3d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:435fc549-0e05-4f42-bfeb-cb1ccb20f477 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:45:08.820 +05:30 da949eb4-051e-4483-b67f-7fe5621282fe ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:08.821 +05:30 da949eb4-051e-4483-b67f-7fe5621282fe ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:08.821 +05:30 da949eb4-051e-4483-b67f-7fe5621282fe ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:08.824 +05:30 da949eb4-051e-4483-b67f-7fe5621282fe ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:435fc549-0e05-4f42-bfeb-cb1ccb20f477 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:45:19.333 +05:30 bba8ffb1-2dae-45d6-88d8-dd6cf88e3665 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:19.334 +05:30 bba8ffb1-2dae-45d6-88d8-dd6cf88e3665 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:19.334 +05:30 bba8ffb1-2dae-45d6-88d8-dd6cf88e3665 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:19.336 +05:30 bba8ffb1-2dae-45d6-88d8-dd6cf88e3665 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:320419a9-a2ef-42f5-bf1f-cbdb5055c620 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:45:56.276 +05:30 aac1ad4f-6289-490b-bb55-7e9e974a6dc4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:56.277 +05:30 aac1ad4f-6289-490b-bb55-7e9e974a6dc4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:56.277 +05:30 aac1ad4f-6289-490b-bb55-7e9e974a6dc4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:45:56.279 +05:30 aac1ad4f-6289-490b-bb55-7e9e974a6dc4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:435fc549-0e05-4f42-bfeb-cb1ccb20f477 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:47:08.915 +05:30 6e4afbbe-e261-45f1-8017-5788cafb3da6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:47:08.917 +05:30 6e4afbbe-e261-45f1-8017-5788cafb3da6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:47:08.917 +05:30 6e4afbbe-e261-45f1-8017-5788cafb3da6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:47:08.920 +05:30 6e4afbbe-e261-45f1-8017-5788cafb3da6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:435fc549-0e05-4f42-bfeb-cb1ccb20f477 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:47:56.062 +05:30 ca8fc0e9-9168-4c06-8f15-5f8294087001 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:47:56.062 +05:30 ca8fc0e9-9168-4c06-8f15-5f8294087001 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:47:56.063 +05:30 ca8fc0e9-9168-4c06-8f15-5f8294087001 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:47:56.065 +05:30 ca8fc0e9-9168-4c06-8f15-5f8294087001 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:800a46e2-be4a-4c35-8d6c-b0dc3aeccccf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:53:07.833 +05:30 f024f5a3-0995-4934-a5e8-81cd6c3022dc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:53:07.834 +05:30 f024f5a3-0995-4934-a5e8-81cd6c3022dc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:53:07.835 +05:30 f024f5a3-0995-4934-a5e8-81cd6c3022dc ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:53:07.837 +05:30 f024f5a3-0995-4934-a5e8-81cd6c3022dc ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:800a46e2-be4a-4c35-8d6c-b0dc3aeccccf Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 10:53:26.054 +05:30 e0c52040-0c5d-4352-9524-45f1e4493654 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:53:26.054 +05:30 e0c52040-0c5d-4352-9524-45f1e4493654 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:53:26.055 +05:30 e0c52040-0c5d-4352-9524-45f1e4493654 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 10:53:26.057 +05:30 e0c52040-0c5d-4352-9524-45f1e4493654 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c7632aae-35da-4ab8-a752-fbfe4ca27213 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 11:01:11.966 +05:30 5ffceb57-38fb-48d7-85c5-f51a1d307170 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 11:01:12.167 +05:30 69cfb1fa-ce52-474f-8064-d73fee37dfc5 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 11:01:12.469 +05:30 05ed1f20-18f8-4349-88c7-d1f882f60e82 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 11:01:12.781 +05:30 743e68ad-c095-46bf-8cc9-0be01e583860 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 11:13:08.975 +05:30 e2e481d6-e36f-4f2b-98b9-287e579b294b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:13:08.976 +05:30 e2e481d6-e36f-4f2b-98b9-287e579b294b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:13:08.977 +05:30 e2e481d6-e36f-4f2b-98b9-287e579b294b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:13:08.980 +05:30 e2e481d6-e36f-4f2b-98b9-287e579b294b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:3aaf315b-d366-4ae9-8919-ae7428d98ff4 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 11:18:53.959 +05:30 92245d3a-c78e-4f47-bb70-c53e1084fc13 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:18:53.960 +05:30 92245d3a-c78e-4f47-bb70-c53e1084fc13 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:18:53.960 +05:30 92245d3a-c78e-4f47-bb70-c53e1084fc13 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:18:53.963 +05:30 92245d3a-c78e-4f47-bb70-c53e1084fc13 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:65b71569-20d4-4fda-93c4-18695e1df556 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 11:51:05.545 +05:30 6e44712b-da5d-491d-b512-853026fb43bd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:51:05.550 +05:30 6e44712b-da5d-491d-b512-853026fb43bd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:51:05.550 +05:30 6e44712b-da5d-491d-b512-853026fb43bd ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:51:05.554 +05:30 6e44712b-da5d-491d-b512-853026fb43bd ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:a63cb7f9-69f9-494b-ad01-95d7d7d978fa Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 11:52:55.723 +05:30 36f65624-7e45-4565-a5e7-963eef789719 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:52:55.726 +05:30 36f65624-7e45-4565-a5e7-963eef789719 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:52:55.727 +05:30 36f65624-7e45-4565-a5e7-963eef789719 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:52:55.730 +05:30 36f65624-7e45-4565-a5e7-963eef789719 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:a63cb7f9-69f9-494b-ad01-95d7d7d978fa Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 11:53:01.912 +05:30 0e8fd424-c36d-41fb-8bce-ee12d3c1a772 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:53:01.915 +05:30 0e8fd424-c36d-41fb-8bce-ee12d3c1a772 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:53:01.916 +05:30 0e8fd424-c36d-41fb-8bce-ee12d3c1a772 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:53:01.917 +05:30 0e8fd424-c36d-41fb-8bce-ee12d3c1a772 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:27968ce4-7aab-44e5-9902-78a53daf270e Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 11:53:05.275 +05:30 196388d5-078d-447a-bcfa-86bd7830307e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:53:05.276 +05:30 196388d5-078d-447a-bcfa-86bd7830307e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:53:05.276 +05:30 196388d5-078d-447a-bcfa-86bd7830307e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:53:05.278 +05:30 196388d5-078d-447a-bcfa-86bd7830307e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:27968ce4-7aab-44e5-9902-78a53daf270e Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 11:53:06.098 +05:30 4a70cd53-933b-407c-9783-9fabbd33ded3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:53:06.098 +05:30 4a70cd53-933b-407c-9783-9fabbd33ded3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:53:06.099 +05:30 4a70cd53-933b-407c-9783-9fabbd33ded3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:53:06.101 +05:30 4a70cd53-933b-407c-9783-9fabbd33ded3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:cc33d9b2-7d9d-4d0e-87ed-481daa555df5 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 11:58:49.198 +05:30 35d3fad9-5134-4397-9686-ba1a12815b18 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:58:49.233 +05:30 35d3fad9-5134-4397-9686-ba1a12815b18 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:58:49.233 +05:30 35d3fad9-5134-4397-9686-ba1a12815b18 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 11:58:49.238 +05:30 35d3fad9-5134-4397-9686-ba1a12815b18 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:a63cb7f9-69f9-494b-ad01-95d7d7d978fa Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 12:00:10.934 +05:30 8c061eb7-ba9e-46e3-a403-4150735c1e6c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:00:10.940 +05:30 8c061eb7-ba9e-46e3-a403-4150735c1e6c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:00:10.941 +05:30 8c061eb7-ba9e-46e3-a403-4150735c1e6c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:00:10.944 +05:30 8c061eb7-ba9e-46e3-a403-4150735c1e6c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:27968ce4-7aab-44e5-9902-78a53daf270e Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 12:00:14.965 +05:30 09c169cd-a7d7-4c55-8b9c-daac18581ef1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:00:14.969 +05:30 09c169cd-a7d7-4c55-8b9c-daac18581ef1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:00:14.970 +05:30 09c169cd-a7d7-4c55-8b9c-daac18581ef1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:00:14.975 +05:30 09c169cd-a7d7-4c55-8b9c-daac18581ef1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:27968ce4-7aab-44e5-9902-78a53daf270e Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 12:00:27.679 +05:30 a6223ed6-30c2-4216-ba20-048389d0ecbe ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:00:27.680 +05:30 a6223ed6-30c2-4216-ba20-048389d0ecbe ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:00:27.680 +05:30 a6223ed6-30c2-4216-ba20-048389d0ecbe ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:00:27.683 +05:30 a6223ed6-30c2-4216-ba20-048389d0ecbe ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:27968ce4-7aab-44e5-9902-78a53daf270e Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 12:17:20.044 +05:30 cd6fcff9-9819-47e7-8a8f-e2e58236da4d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:17:20.051 +05:30 cd6fcff9-9819-47e7-8a8f-e2e58236da4d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:17:20.052 +05:30 cd6fcff9-9819-47e7-8a8f-e2e58236da4d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:17:20.055 +05:30 cd6fcff9-9819-47e7-8a8f-e2e58236da4d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:325a1217-6a4a-41e3-b1cc-af1c46f54e88 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 12:25:56.346 +05:30 128d6c7b-20a5-4e1f-9304-43ef6c97118e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:25:56.347 +05:30 128d6c7b-20a5-4e1f-9304-43ef6c97118e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:25:56.347 +05:30 128d6c7b-20a5-4e1f-9304-43ef6c97118e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:25:56.351 +05:30 128d6c7b-20a5-4e1f-9304-43ef6c97118e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:325a1217-6a4a-41e3-b1cc-af1c46f54e88 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 12:26:38.160 +05:30 c5a9bd87-f690-44f3-9b3d-6bda12738c4e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:26:38.171 +05:30 c5a9bd87-f690-44f3-9b3d-6bda12738c4e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:26:38.172 +05:30 c5a9bd87-f690-44f3-9b3d-6bda12738c4e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:26:38.177 +05:30 c5a9bd87-f690-44f3-9b3d-6bda12738c4e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:325a1217-6a4a-41e3-b1cc-af1c46f54e88 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 12:39:00.480 +05:30 5be06a6a-0513-49de-99d3-eeb82cf326e2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:39:00.489 +05:30 5be06a6a-0513-49de-99d3-eeb82cf326e2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:39:00.489 +05:30 5be06a6a-0513-49de-99d3-eeb82cf326e2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:39:00.493 +05:30 5be06a6a-0513-49de-99d3-eeb82cf326e2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:30e3733a-d850-4a5a-9181-0f5aff2d44fd Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 12:42:19.113 +05:30 20d18a9c-959b-4595-a537-38d45a8f08ed ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:42:19.114 +05:30 20d18a9c-959b-4595-a537-38d45a8f08ed ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:42:19.114 +05:30 20d18a9c-959b-4595-a537-38d45a8f08ed ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:42:19.118 +05:30 20d18a9c-959b-4595-a537-38d45a8f08ed ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6c4ec7af-4ddd-40cb-9b77-d1fa515af0e7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 12:55:25.219 +05:30 0e6a9774-a0f6-4a04-ba5d-77fa4490e84c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:55:25.219 +05:30 0e6a9774-a0f6-4a04-ba5d-77fa4490e84c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:55:25.220 +05:30 0e6a9774-a0f6-4a04-ba5d-77fa4490e84c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 12:55:25.223 +05:30 0e6a9774-a0f6-4a04-ba5d-77fa4490e84c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 260 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:59a5bae0-d1ae-4782-806e-b23c8eed79e4 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 13:36:29.237 +05:30 60b3a8b9-9205-47d1-af47-c7e7abeb1ec1 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 13:36:29.462 +05:30 20907b99-f49e-41f4-b1d7-df9d52a1ba0a ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 13:36:29.575 +05:30 4ea0a3e8-e8fc-4f65-a009-c7bf60cb3565 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 13:36:29.701 +05:30 4983b116-6fdc-4623-9282-0083f2e55f75 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 13:49:12.120 +05:30 14910203-6742-42b8-9a47-b47ec7d24c98 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 13:49:12.161 +05:30 14910203-6742-42b8-9a47-b47ec7d24c98 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 13:49:12.162 +05:30 14910203-6742-42b8-9a47-b47ec7d24c98 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 13:49:12.180 +05:30 14910203-6742-42b8-9a47-b47ec7d24c98 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:e05157e6-a792-4751-9933-669730fc3f9e Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 13:57:17.327 +05:30 b8ed7e50-0c06-414c-a8b0-6f758a08abdb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 13:57:17.330 +05:30 b8ed7e50-0c06-414c-a8b0-6f758a08abdb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 13:57:17.331 +05:30 b8ed7e50-0c06-414c-a8b0-6f758a08abdb ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 13:57:17.341 +05:30 b8ed7e50-0c06-414c-a8b0-6f758a08abdb ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:525d2749-f251-46a5-85ad-d82a5a7f6f9e Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 13:58:10.983 +05:30 e699ef4f-9a84-4331-ae35-3d119f4cbd36 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 13:58:10.986 +05:30 e699ef4f-9a84-4331-ae35-3d119f4cbd36 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 13:58:10.987 +05:30 e699ef4f-9a84-4331-ae35-3d119f4cbd36 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 13:58:10.993 +05:30 e699ef4f-9a84-4331-ae35-3d119f4cbd36 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:525d2749-f251-46a5-85ad-d82a5a7f6f9e Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 14:17:50.421 +05:30 1a49113c-f8db-4c33-a7ab-3acf6adc5809 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 14:39:52.453 +05:30 5f6ba391-d556-4b07-830d-904944fcc28d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 14:39:52.463 +05:30 5f6ba391-d556-4b07-830d-904944fcc28d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 14:39:52.464 +05:30 5f6ba391-d556-4b07-830d-904944fcc28d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 14:39:52.469 +05:30 5f6ba391-d556-4b07-830d-904944fcc28d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:d2ab578e-f27a-4209-95ce-c6b08a21f7bb Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 14:50:45.245 +05:30 06f6ab55-ff30-464c-951f-e1f87407ef4e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 14:50:45.248 +05:30 06f6ab55-ff30-464c-951f-e1f87407ef4e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 14:50:45.248 +05:30 06f6ab55-ff30-464c-951f-e1f87407ef4e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 14:50:45.254 +05:30 06f6ab55-ff30-464c-951f-e1f87407ef4e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:2cc4d301-6e52-4bfb-bdfa-dfc0283663d3 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 15:11:36.011 +05:30 177b0ca5-869b-4460-8e59-31696673a757 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 15:20:46.524 +05:30 a8e0779f-5ec1-4623-8634-db69ebd574ca ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:20:46.528 +05:30 a8e0779f-5ec1-4623-8634-db69ebd574ca ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:20:46.528 +05:30 a8e0779f-5ec1-4623-8634-db69ebd574ca ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:20:46.541 +05:30 a8e0779f-5ec1-4623-8634-db69ebd574ca ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:3b52970d-b28a-4dc3-b02d-76c1314e98c3 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 15:22:56.996 +05:30 cf15eb27-e435-4af9-bbb8-e511e797912e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:22:56.998 +05:30 cf15eb27-e435-4af9-bbb8-e511e797912e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:22:56.998 +05:30 cf15eb27-e435-4af9-bbb8-e511e797912e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:22:57.001 +05:30 cf15eb27-e435-4af9-bbb8-e511e797912e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6f174946-e7a8-4005-ad5c-081b16f2d2c3 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 15:31:00.102 +05:30 f1aab09a-6efd-4f56-a4b3-b71affcd57ec ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:31:00.105 +05:30 f1aab09a-6efd-4f56-a4b3-b71affcd57ec ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:31:00.107 +05:30 f1aab09a-6efd-4f56-a4b3-b71affcd57ec ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:31:00.111 +05:30 f1aab09a-6efd-4f56-a4b3-b71affcd57ec ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:517e4fb3-9358-4e66-8c24-b0b62235c2b9 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 15:34:07.047 +05:30 3a260d55-b2ce-4bcf-938b-9cbfcbe6f2ad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:34:07.049 +05:30 3a260d55-b2ce-4bcf-938b-9cbfcbe6f2ad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:34:07.050 +05:30 3a260d55-b2ce-4bcf-938b-9cbfcbe6f2ad ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:34:07.054 +05:30 3a260d55-b2ce-4bcf-938b-9cbfcbe6f2ad ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:517e4fb3-9358-4e66-8c24-b0b62235c2b9 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 15:35:11.252 +05:30 4d23abf5-0348-4fc9-992f-a270602ed287 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:35:11.255 +05:30 4d23abf5-0348-4fc9-992f-a270602ed287 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:35:11.256 +05:30 4d23abf5-0348-4fc9-992f-a270602ed287 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:35:11.260 +05:30 4d23abf5-0348-4fc9-992f-a270602ed287 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:98de6cac-88fe-4cf8-b5ed-3e02937cf857 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 15:36:51.098 +05:30 84666e69-b90c-4d80-9acc-53a71db100e5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:36:51.100 +05:30 84666e69-b90c-4d80-9acc-53a71db100e5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:36:51.100 +05:30 84666e69-b90c-4d80-9acc-53a71db100e5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:36:51.103 +05:30 84666e69-b90c-4d80-9acc-53a71db100e5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:517e4fb3-9358-4e66-8c24-b0b62235c2b9 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 15:48:56.553 +05:30 08a887f0-b0fc-4d81-94e4-f72897d41549 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:48:56.557 +05:30 08a887f0-b0fc-4d81-94e4-f72897d41549 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:48:56.558 +05:30 08a887f0-b0fc-4d81-94e4-f72897d41549 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:48:56.561 +05:30 08a887f0-b0fc-4d81-94e4-f72897d41549 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:27bf295f-7b65-4bc0-b075-ba27b038aad9 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 15:52:11.776 +05:30 a5d092de-b4b9-4ace-a7cf-859686a93ce6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:52:11.778 +05:30 a5d092de-b4b9-4ace-a7cf-859686a93ce6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:52:11.779 +05:30 a5d092de-b4b9-4ace-a7cf-859686a93ce6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 15:52:11.781 +05:30 a5d092de-b4b9-4ace-a7cf-859686a93ce6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6f174946-e7a8-4005-ad5c-081b16f2d2c3 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:35:13.592 +05:30 9f8d8467-032c-49e5-bacf-e6be59c8e5ae ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:13.607 +05:30 9f8d8467-032c-49e5-bacf-e6be59c8e5ae ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:13.608 +05:30 9f8d8467-032c-49e5-bacf-e6be59c8e5ae ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:13.614 +05:30 9f8d8467-032c-49e5-bacf-e6be59c8e5ae ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:803b1d10-47b7-4fd1-b0d9-a52a4f034d40 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:35:19.307 +05:30 cc22eaa6-985e-4f5e-b8e7-e5d80055d160 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:19.309 +05:30 cc22eaa6-985e-4f5e-b8e7-e5d80055d160 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:19.310 +05:30 cc22eaa6-985e-4f5e-b8e7-e5d80055d160 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:19.312 +05:30 cc22eaa6-985e-4f5e-b8e7-e5d80055d160 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:01eab468-aff5-42f1-bfca-2f6a3d9f7962 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:35:21.206 +05:30 7804134f-5219-4068-a373-e74e3d046ca9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:21.211 +05:30 7804134f-5219-4068-a373-e74e3d046ca9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:21.212 +05:30 7804134f-5219-4068-a373-e74e3d046ca9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:21.213 +05:30 7804134f-5219-4068-a373-e74e3d046ca9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:803b1d10-47b7-4fd1-b0d9-a52a4f034d40 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:35:22.460 +05:30 84dd5096-2f5a-427b-b28a-88835b30e38d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:22.464 +05:30 84dd5096-2f5a-427b-b28a-88835b30e38d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:22.465 +05:30 84dd5096-2f5a-427b-b28a-88835b30e38d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:22.466 +05:30 84dd5096-2f5a-427b-b28a-88835b30e38d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:803b1d10-47b7-4fd1-b0d9-a52a4f034d40 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:35:25.042 +05:30 be590e7a-416b-4728-baf8-3262cbe113b1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:25.043 +05:30 be590e7a-416b-4728-baf8-3262cbe113b1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:25.043 +05:30 be590e7a-416b-4728-baf8-3262cbe113b1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:25.045 +05:30 be590e7a-416b-4728-baf8-3262cbe113b1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:01eab468-aff5-42f1-bfca-2f6a3d9f7962 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:35:28.709 +05:30 0affde98-8143-4a1e-b71a-8a69d7acf652 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:28.717 +05:30 0affde98-8143-4a1e-b71a-8a69d7acf652 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:28.718 +05:30 0affde98-8143-4a1e-b71a-8a69d7acf652 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:28.719 +05:30 0affde98-8143-4a1e-b71a-8a69d7acf652 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c6e04b80-6f3b-4fa4-bbdd-29436d2a2005 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:35:30.685 +05:30 5b775817-d342-4611-87e5-f5f89c2659a2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:30.686 +05:30 5b775817-d342-4611-87e5-f5f89c2659a2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:30.686 +05:30 5b775817-d342-4611-87e5-f5f89c2659a2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:30.688 +05:30 5b775817-d342-4611-87e5-f5f89c2659a2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:01eab468-aff5-42f1-bfca-2f6a3d9f7962 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:35:31.681 +05:30 c6dc2c77-826c-44e8-97c7-fe264dfb078a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:31.687 +05:30 c6dc2c77-826c-44e8-97c7-fe264dfb078a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:31.688 +05:30 c6dc2c77-826c-44e8-97c7-fe264dfb078a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:31.689 +05:30 c6dc2c77-826c-44e8-97c7-fe264dfb078a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c6e04b80-6f3b-4fa4-bbdd-29436d2a2005 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:35:33.336 +05:30 486b9565-73cb-4193-b7ca-e3975f0e3fe8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:33.337 +05:30 486b9565-73cb-4193-b7ca-e3975f0e3fe8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:33.337 +05:30 486b9565-73cb-4193-b7ca-e3975f0e3fe8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:35:33.338 +05:30 486b9565-73cb-4193-b7ca-e3975f0e3fe8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c6e04b80-6f3b-4fa4-bbdd-29436d2a2005 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:47:58.595 +05:30 b77ba21d-c55a-4d25-9206-ae404e69a963 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 16:47:58.778 +05:30 cb4d6f15-49be-4edb-a862-800d369c17d5 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 16:47:58.862 +05:30 d9d5fb0b-d52a-4d63-be3e-323d4a719b7f ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 16:56:17.730 +05:30 37275d97-1305-4b76-b4a7-dbb4f78cdd8c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:56:17.733 +05:30 37275d97-1305-4b76-b4a7-dbb4f78cdd8c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:56:17.733 +05:30 37275d97-1305-4b76-b4a7-dbb4f78cdd8c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:56:17.744 +05:30 37275d97-1305-4b76-b4a7-dbb4f78cdd8c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:1b8212e6-56a6-4ad3-83c3-08198e432390 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:56:47.123 +05:30 4a9095c3-3fb1-454c-a31d-dbe88c2c3fd6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:56:47.125 +05:30 4a9095c3-3fb1-454c-a31d-dbe88c2c3fd6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:56:47.126 +05:30 4a9095c3-3fb1-454c-a31d-dbe88c2c3fd6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:56:47.131 +05:30 4a9095c3-3fb1-454c-a31d-dbe88c2c3fd6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:1b8212e6-56a6-4ad3-83c3-08198e432390 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 16:56:49.785 +05:30 c94902c5-f5a8-4ab0-b235-6956c9cc582a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:56:49.848 +05:30 c94902c5-f5a8-4ab0-b235-6956c9cc582a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:56:49.848 +05:30 c94902c5-f5a8-4ab0-b235-6956c9cc582a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 16:56:49.850 +05:30 c94902c5-f5a8-4ab0-b235-6956c9cc582a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ea0e521d-8eaf-4397-894d-b95ef2bc01dc Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:16:08.162 +05:30 7b7c6640-7bae-415a-9839-67f85d6ab899 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:16:08.166 +05:30 7b7c6640-7bae-415a-9839-67f85d6ab899 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:16:08.167 +05:30 7b7c6640-7bae-415a-9839-67f85d6ab899 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:16:08.173 +05:30 7b7c6640-7bae-415a-9839-67f85d6ab899 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:24:15.678 +05:30 1878bc75-5d2c-4670-bdfa-cf7f366fd1fb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:24:15.698 +05:30 1878bc75-5d2c-4670-bdfa-cf7f366fd1fb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:24:15.699 +05:30 1878bc75-5d2c-4670-bdfa-cf7f366fd1fb ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:24:15.702 +05:30 1878bc75-5d2c-4670-bdfa-cf7f366fd1fb ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:49.848 +05:30 3e9cd794-54a3-4720-8cb1-4b5f5e969602 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:49.851 +05:30 3e9cd794-54a3-4720-8cb1-4b5f5e969602 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:49.852 +05:30 3e9cd794-54a3-4720-8cb1-4b5f5e969602 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:49.855 +05:30 3e9cd794-54a3-4720-8cb1-4b5f5e969602 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:50.278 +05:30 a9d0fefd-1aee-43c9-b9a3-8bd4010fbb96 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.279 +05:30 a9d0fefd-1aee-43c9-b9a3-8bd4010fbb96 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.279 +05:30 a9d0fefd-1aee-43c9-b9a3-8bd4010fbb96 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.281 +05:30 a9d0fefd-1aee-43c9-b9a3-8bd4010fbb96 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:50.449 +05:30 0d2bfd9f-f11f-4f95-8c2e-0a1c9e24f755 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.455 +05:30 0d2bfd9f-f11f-4f95-8c2e-0a1c9e24f755 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.456 +05:30 0d2bfd9f-f11f-4f95-8c2e-0a1c9e24f755 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.458 +05:30 0d2bfd9f-f11f-4f95-8c2e-0a1c9e24f755 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:50.558 +05:30 aeab01af-6b72-426b-8327-effdab328073 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.567 +05:30 aeab01af-6b72-426b-8327-effdab328073 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.567 +05:30 aeab01af-6b72-426b-8327-effdab328073 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.569 +05:30 aeab01af-6b72-426b-8327-effdab328073 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:50.713 +05:30 ae2662d3-6a40-4f28-baea-a90f87618c30 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.714 +05:30 ae2662d3-6a40-4f28-baea-a90f87618c30 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.714 +05:30 ae2662d3-6a40-4f28-baea-a90f87618c30 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.716 +05:30 ae2662d3-6a40-4f28-baea-a90f87618c30 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:50.872 +05:30 1858065d-3ed7-48dc-857b-824a9e0334b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.884 +05:30 1858065d-3ed7-48dc-857b-824a9e0334b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.885 +05:30 1858065d-3ed7-48dc-857b-824a9e0334b5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.887 +05:30 1858065d-3ed7-48dc-857b-824a9e0334b5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:50.967 +05:30 8c28d178-e539-40b8-a735-e29f498db551 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.975 +05:30 8c28d178-e539-40b8-a735-e29f498db551 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.976 +05:30 8c28d178-e539-40b8-a735-e29f498db551 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:50.977 +05:30 8c28d178-e539-40b8-a735-e29f498db551 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.064 +05:30 8d219468-a281-44cf-9149-98106f45dcf6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.075 +05:30 8d219468-a281-44cf-9149-98106f45dcf6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.076 +05:30 8d219468-a281-44cf-9149-98106f45dcf6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.077 +05:30 8d219468-a281-44cf-9149-98106f45dcf6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.187 +05:30 707377ef-0ca6-479a-9a4e-6d8a408d47da ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.188 +05:30 707377ef-0ca6-479a-9a4e-6d8a408d47da ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.188 +05:30 707377ef-0ca6-479a-9a4e-6d8a408d47da ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.189 +05:30 707377ef-0ca6-479a-9a4e-6d8a408d47da ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.269 +05:30 6ae3504c-6257-489d-b14e-c88ff5d929fa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.270 +05:30 6ae3504c-6257-489d-b14e-c88ff5d929fa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.270 +05:30 6ae3504c-6257-489d-b14e-c88ff5d929fa ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.271 +05:30 6ae3504c-6257-489d-b14e-c88ff5d929fa ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.375 +05:30 084ee2bf-8b91-43a4-92fd-9192278ed71b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.382 +05:30 084ee2bf-8b91-43a4-92fd-9192278ed71b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.383 +05:30 084ee2bf-8b91-43a4-92fd-9192278ed71b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.384 +05:30 084ee2bf-8b91-43a4-92fd-9192278ed71b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.479 +05:30 f66f0c50-2a24-4fea-8d49-dce49a5da9ab ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.479 +05:30 f66f0c50-2a24-4fea-8d49-dce49a5da9ab ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.479 +05:30 f66f0c50-2a24-4fea-8d49-dce49a5da9ab ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.481 +05:30 f66f0c50-2a24-4fea-8d49-dce49a5da9ab ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.588 +05:30 12f32821-a69e-4446-a7bd-b68d829f22f4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.594 +05:30 12f32821-a69e-4446-a7bd-b68d829f22f4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.594 +05:30 12f32821-a69e-4446-a7bd-b68d829f22f4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.595 +05:30 12f32821-a69e-4446-a7bd-b68d829f22f4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.685 +05:30 1b26efbb-d06d-4c2e-8f5c-a07c959b72b0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.691 +05:30 1b26efbb-d06d-4c2e-8f5c-a07c959b72b0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.691 +05:30 1b26efbb-d06d-4c2e-8f5c-a07c959b72b0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.693 +05:30 1b26efbb-d06d-4c2e-8f5c-a07c959b72b0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.782 +05:30 4c269f83-6409-419b-9983-1cb8eb62a5b6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.787 +05:30 4c269f83-6409-419b-9983-1cb8eb62a5b6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.788 +05:30 4c269f83-6409-419b-9983-1cb8eb62a5b6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.789 +05:30 4c269f83-6409-419b-9983-1cb8eb62a5b6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.892 +05:30 6e9804c4-f2fa-45b0-b350-22fe1240ebc6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.893 +05:30 6e9804c4-f2fa-45b0-b350-22fe1240ebc6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.893 +05:30 6e9804c4-f2fa-45b0-b350-22fe1240ebc6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.895 +05:30 6e9804c4-f2fa-45b0-b350-22fe1240ebc6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:51.993 +05:30 30213643-48bd-48f6-a1d9-00f8f7d82e69 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.994 +05:30 30213643-48bd-48f6-a1d9-00f8f7d82e69 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.994 +05:30 30213643-48bd-48f6-a1d9-00f8f7d82e69 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:51.995 +05:30 30213643-48bd-48f6-a1d9-00f8f7d82e69 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.085 +05:30 fea0b901-ae24-49ae-b034-223595bdc3ed ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.088 +05:30 fea0b901-ae24-49ae-b034-223595bdc3ed ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.088 +05:30 fea0b901-ae24-49ae-b034-223595bdc3ed ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.090 +05:30 fea0b901-ae24-49ae-b034-223595bdc3ed ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.202 +05:30 b9837214-63cc-4214-9f81-5aa4250b0d1b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.204 +05:30 b9837214-63cc-4214-9f81-5aa4250b0d1b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.204 +05:30 b9837214-63cc-4214-9f81-5aa4250b0d1b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.205 +05:30 b9837214-63cc-4214-9f81-5aa4250b0d1b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.297 +05:30 f1aa2105-df92-44a5-a117-f1585ebfac29 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.297 +05:30 f1aa2105-df92-44a5-a117-f1585ebfac29 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.298 +05:30 f1aa2105-df92-44a5-a117-f1585ebfac29 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.299 +05:30 f1aa2105-df92-44a5-a117-f1585ebfac29 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.399 +05:30 0fd85b4c-4e8c-4a96-bb9b-328f415870a2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.406 +05:30 0fd85b4c-4e8c-4a96-bb9b-328f415870a2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.407 +05:30 0fd85b4c-4e8c-4a96-bb9b-328f415870a2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.408 +05:30 0fd85b4c-4e8c-4a96-bb9b-328f415870a2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.528 +05:30 76cb3c61-f1c0-4b1c-bc43-28f94bf7a212 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.529 +05:30 76cb3c61-f1c0-4b1c-bc43-28f94bf7a212 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.529 +05:30 76cb3c61-f1c0-4b1c-bc43-28f94bf7a212 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.531 +05:30 76cb3c61-f1c0-4b1c-bc43-28f94bf7a212 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.601 +05:30 081b1e0f-05f1-4ff7-a497-ce0c943826a2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.602 +05:30 081b1e0f-05f1-4ff7-a497-ce0c943826a2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.602 +05:30 081b1e0f-05f1-4ff7-a497-ce0c943826a2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.603 +05:30 081b1e0f-05f1-4ff7-a497-ce0c943826a2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.652 +05:30 7b4736a4-74c9-46d1-aeee-34779df498f4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.652 +05:30 7b4736a4-74c9-46d1-aeee-34779df498f4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.652 +05:30 7b4736a4-74c9-46d1-aeee-34779df498f4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.653 +05:30 7b4736a4-74c9-46d1-aeee-34779df498f4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.706 +05:30 2b879edd-12c6-4537-8b9a-a86ced4ba4f2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.715 +05:30 2b879edd-12c6-4537-8b9a-a86ced4ba4f2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.715 +05:30 2b879edd-12c6-4537-8b9a-a86ced4ba4f2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.716 +05:30 2b879edd-12c6-4537-8b9a-a86ced4ba4f2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.810 +05:30 d6f5b4dc-ebca-4f09-b5af-d32bc2dc0dd1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.814 +05:30 d6f5b4dc-ebca-4f09-b5af-d32bc2dc0dd1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.815 +05:30 d6f5b4dc-ebca-4f09-b5af-d32bc2dc0dd1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.817 +05:30 d6f5b4dc-ebca-4f09-b5af-d32bc2dc0dd1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:52.886 +05:30 a140dce2-db95-4439-b36b-828696c0a6e2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.888 +05:30 a140dce2-db95-4439-b36b-828696c0a6e2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.888 +05:30 a140dce2-db95-4439-b36b-828696c0a6e2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:52.889 +05:30 a140dce2-db95-4439-b36b-828696c0a6e2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:53.017 +05:30 884cade5-7bc6-46e3-b5cb-769a564aeca0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.026 +05:30 884cade5-7bc6-46e3-b5cb-769a564aeca0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.027 +05:30 884cade5-7bc6-46e3-b5cb-769a564aeca0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.028 +05:30 884cade5-7bc6-46e3-b5cb-769a564aeca0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:53.115 +05:30 b5de66f1-16d0-4ec0-a9b4-a765011c03e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.116 +05:30 b5de66f1-16d0-4ec0-a9b4-a765011c03e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.116 +05:30 b5de66f1-16d0-4ec0-a9b4-a765011c03e6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.117 +05:30 b5de66f1-16d0-4ec0-a9b4-a765011c03e6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:53.220 +05:30 fd0ab6ce-e156-4b50-93e4-b44583f4f63e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.235 +05:30 fd0ab6ce-e156-4b50-93e4-b44583f4f63e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.236 +05:30 fd0ab6ce-e156-4b50-93e4-b44583f4f63e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.237 +05:30 fd0ab6ce-e156-4b50-93e4-b44583f4f63e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:53.321 +05:30 c084085a-0091-4290-9861-00ad07d34d47 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.322 +05:30 c084085a-0091-4290-9861-00ad07d34d47 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.322 +05:30 c084085a-0091-4290-9861-00ad07d34d47 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.323 +05:30 c084085a-0091-4290-9861-00ad07d34d47 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:53.427 +05:30 8fb26948-826d-457c-925e-08f9b1c45b88 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.452 +05:30 8fb26948-826d-457c-925e-08f9b1c45b88 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.453 +05:30 8fb26948-826d-457c-925e-08f9b1c45b88 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.455 +05:30 8fb26948-826d-457c-925e-08f9b1c45b88 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:53.586 +05:30 4108fe7a-25c7-4d4e-a742-b8ab625fde45 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.587 +05:30 4108fe7a-25c7-4d4e-a742-b8ab625fde45 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.587 +05:30 4108fe7a-25c7-4d4e-a742-b8ab625fde45 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.588 +05:30 4108fe7a-25c7-4d4e-a742-b8ab625fde45 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:53.731 +05:30 5b4912e3-f3e0-4cd0-a5b1-716b58214ceb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.736 +05:30 5b4912e3-f3e0-4cd0-a5b1-716b58214ceb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.737 +05:30 5b4912e3-f3e0-4cd0-a5b1-716b58214ceb ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.738 +05:30 5b4912e3-f3e0-4cd0-a5b1-716b58214ceb ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:53.838 +05:30 2c43614d-030f-40a1-8d4e-8928147e1685 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.838 +05:30 2c43614d-030f-40a1-8d4e-8928147e1685 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.838 +05:30 2c43614d-030f-40a1-8d4e-8928147e1685 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.839 +05:30 2c43614d-030f-40a1-8d4e-8928147e1685 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:53.933 +05:30 68a1d45b-600a-4559-a020-218b10b26dc1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.934 +05:30 68a1d45b-600a-4559-a020-218b10b26dc1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.934 +05:30 68a1d45b-600a-4559-a020-218b10b26dc1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:53.935 +05:30 68a1d45b-600a-4559-a020-218b10b26dc1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.035 +05:30 0c491d5b-f8a6-46cb-8a57-927ca7c04168 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.041 +05:30 0c491d5b-f8a6-46cb-8a57-927ca7c04168 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.042 +05:30 0c491d5b-f8a6-46cb-8a57-927ca7c04168 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.043 +05:30 0c491d5b-f8a6-46cb-8a57-927ca7c04168 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.147 +05:30 b9a18d39-fddf-4833-b1ed-072f6299a154 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.148 +05:30 b9a18d39-fddf-4833-b1ed-072f6299a154 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.148 +05:30 b9a18d39-fddf-4833-b1ed-072f6299a154 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.149 +05:30 b9a18d39-fddf-4833-b1ed-072f6299a154 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.238 +05:30 45501d86-5bb5-4843-b4bf-24ccf0e020a2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.238 +05:30 45501d86-5bb5-4843-b4bf-24ccf0e020a2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.238 +05:30 45501d86-5bb5-4843-b4bf-24ccf0e020a2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.239 +05:30 45501d86-5bb5-4843-b4bf-24ccf0e020a2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.324 +05:30 fc49dcee-1182-411d-8ed2-db8e8ec77b97 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.331 +05:30 fc49dcee-1182-411d-8ed2-db8e8ec77b97 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.331 +05:30 fc49dcee-1182-411d-8ed2-db8e8ec77b97 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.332 +05:30 fc49dcee-1182-411d-8ed2-db8e8ec77b97 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.446 +05:30 b2538929-4819-4434-92f9-d2fffddea655 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.447 +05:30 b2538929-4819-4434-92f9-d2fffddea655 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.447 +05:30 b2538929-4819-4434-92f9-d2fffddea655 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.449 +05:30 b2538929-4819-4434-92f9-d2fffddea655 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.559 +05:30 22c4385f-3826-4db3-9bf6-5fbecde1b609 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.560 +05:30 22c4385f-3826-4db3-9bf6-5fbecde1b609 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.560 +05:30 22c4385f-3826-4db3-9bf6-5fbecde1b609 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.561 +05:30 22c4385f-3826-4db3-9bf6-5fbecde1b609 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.698 +05:30 00b623ed-259f-4863-9f06-bb8c7d9d5e9a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.699 +05:30 00b623ed-259f-4863-9f06-bb8c7d9d5e9a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.699 +05:30 00b623ed-259f-4863-9f06-bb8c7d9d5e9a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.700 +05:30 00b623ed-259f-4863-9f06-bb8c7d9d5e9a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.765 +05:30 9aeb0e08-4bb2-4ce3-9858-5cdcef8380f3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.766 +05:30 9aeb0e08-4bb2-4ce3-9858-5cdcef8380f3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.766 +05:30 9aeb0e08-4bb2-4ce3-9858-5cdcef8380f3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.767 +05:30 9aeb0e08-4bb2-4ce3-9858-5cdcef8380f3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.855 +05:30 58cc96f9-ab3a-43e7-9ef6-4f6e98933419 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.861 +05:30 58cc96f9-ab3a-43e7-9ef6-4f6e98933419 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.862 +05:30 58cc96f9-ab3a-43e7-9ef6-4f6e98933419 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.863 +05:30 58cc96f9-ab3a-43e7-9ef6-4f6e98933419 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:54.962 +05:30 88c7f15b-eb1d-4254-95a2-0499e8cada94 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.963 +05:30 88c7f15b-eb1d-4254-95a2-0499e8cada94 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.963 +05:30 88c7f15b-eb1d-4254-95a2-0499e8cada94 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:54.964 +05:30 88c7f15b-eb1d-4254-95a2-0499e8cada94 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:55.057 +05:30 5d6e2ad6-f0ee-46cb-aca2-4761762627c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.061 +05:30 5d6e2ad6-f0ee-46cb-aca2-4761762627c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.062 +05:30 5d6e2ad6-f0ee-46cb-aca2-4761762627c0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.064 +05:30 5d6e2ad6-f0ee-46cb-aca2-4761762627c0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:55.178 +05:30 7d085a10-e69c-410e-bbe7-d4ea02a541c6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.180 +05:30 7d085a10-e69c-410e-bbe7-d4ea02a541c6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.180 +05:30 7d085a10-e69c-410e-bbe7-d4ea02a541c6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.181 +05:30 7d085a10-e69c-410e-bbe7-d4ea02a541c6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:55.267 +05:30 ef570af8-a1e9-4869-974e-564f17d56718 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.268 +05:30 ef570af8-a1e9-4869-974e-564f17d56718 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.268 +05:30 ef570af8-a1e9-4869-974e-564f17d56718 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.269 +05:30 ef570af8-a1e9-4869-974e-564f17d56718 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:55.334 +05:30 04d6e365-451e-41ab-8cbe-fd888011809c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.341 +05:30 04d6e365-451e-41ab-8cbe-fd888011809c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.341 +05:30 04d6e365-451e-41ab-8cbe-fd888011809c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.342 +05:30 04d6e365-451e-41ab-8cbe-fd888011809c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:55.482 +05:30 7566948f-c794-4cfe-a2ed-c5a6ae40b1c8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.482 +05:30 7566948f-c794-4cfe-a2ed-c5a6ae40b1c8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.483 +05:30 7566948f-c794-4cfe-a2ed-c5a6ae40b1c8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.483 +05:30 7566948f-c794-4cfe-a2ed-c5a6ae40b1c8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:55.568 +05:30 b752a144-555c-4f95-80dc-9cdf8d4ab69b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.568 +05:30 b752a144-555c-4f95-80dc-9cdf8d4ab69b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.568 +05:30 b752a144-555c-4f95-80dc-9cdf8d4ab69b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.569 +05:30 b752a144-555c-4f95-80dc-9cdf8d4ab69b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:55.777 +05:30 44bcab98-dd02-4677-b95d-79f9bb39bb55 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.778 +05:30 44bcab98-dd02-4677-b95d-79f9bb39bb55 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.778 +05:30 44bcab98-dd02-4677-b95d-79f9bb39bb55 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:55.779 +05:30 44bcab98-dd02-4677-b95d-79f9bb39bb55 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:57.731 +05:30 32a199da-723e-433c-88b6-3e2cc6c1a53b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:57.732 +05:30 32a199da-723e-433c-88b6-3e2cc6c1a53b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:57.732 +05:30 32a199da-723e-433c-88b6-3e2cc6c1a53b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:57.733 +05:30 32a199da-723e-433c-88b6-3e2cc6c1a53b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:58.945 +05:30 d1879da5-1423-4ebc-aa8d-d48862a938d4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:58.946 +05:30 d1879da5-1423-4ebc-aa8d-d48862a938d4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:58.946 +05:30 d1879da5-1423-4ebc-aa8d-d48862a938d4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:58.948 +05:30 d1879da5-1423-4ebc-aa8d-d48862a938d4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:59.057 +05:30 6bfb1d51-aca4-4b46-b43c-a01a8df9aecf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.065 +05:30 6bfb1d51-aca4-4b46-b43c-a01a8df9aecf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.065 +05:30 6bfb1d51-aca4-4b46-b43c-a01a8df9aecf ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.067 +05:30 6bfb1d51-aca4-4b46-b43c-a01a8df9aecf ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:59.166 +05:30 d2206df1-ee64-4781-bb29-aa34f39f7a4a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.169 +05:30 d2206df1-ee64-4781-bb29-aa34f39f7a4a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.170 +05:30 d2206df1-ee64-4781-bb29-aa34f39f7a4a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.171 +05:30 d2206df1-ee64-4781-bb29-aa34f39f7a4a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:59.288 +05:30 1c7a8b97-0e78-4362-a6c4-127bafb65561 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.297 +05:30 1c7a8b97-0e78-4362-a6c4-127bafb65561 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.297 +05:30 1c7a8b97-0e78-4362-a6c4-127bafb65561 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.298 +05:30 1c7a8b97-0e78-4362-a6c4-127bafb65561 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:59.468 +05:30 1b95fce8-96fb-4a79-ae6b-b83525edfe0a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.472 +05:30 1b95fce8-96fb-4a79-ae6b-b83525edfe0a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.473 +05:30 1b95fce8-96fb-4a79-ae6b-b83525edfe0a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.474 +05:30 1b95fce8-96fb-4a79-ae6b-b83525edfe0a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:59.563 +05:30 f5d7ddd6-2445-4118-bc62-5c3234911355 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.563 +05:30 f5d7ddd6-2445-4118-bc62-5c3234911355 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.564 +05:30 f5d7ddd6-2445-4118-bc62-5c3234911355 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.565 +05:30 f5d7ddd6-2445-4118-bc62-5c3234911355 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:59.684 +05:30 0826c6db-90f3-4866-8c02-0804623c39b6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.685 +05:30 0826c6db-90f3-4866-8c02-0804623c39b6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.685 +05:30 0826c6db-90f3-4866-8c02-0804623c39b6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.686 +05:30 0826c6db-90f3-4866-8c02-0804623c39b6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:59.774 +05:30 d096ff69-2489-4935-ae73-ef4973d699f6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.779 +05:30 d096ff69-2489-4935-ae73-ef4973d699f6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.779 +05:30 d096ff69-2489-4935-ae73-ef4973d699f6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.780 +05:30 d096ff69-2489-4935-ae73-ef4973d699f6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:59.896 +05:30 887e0db5-46e0-4d9c-b556-08d941d246e5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.897 +05:30 887e0db5-46e0-4d9c-b556-08d941d246e5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.897 +05:30 887e0db5-46e0-4d9c-b556-08d941d246e5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.898 +05:30 887e0db5-46e0-4d9c-b556-08d941d246e5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:25:59.993 +05:30 ffeb56af-c5b2-4265-926b-505b0ef36348 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.997 +05:30 ffeb56af-c5b2-4265-926b-505b0ef36348 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.997 +05:30 ffeb56af-c5b2-4265-926b-505b0ef36348 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:25:59.998 +05:30 ffeb56af-c5b2-4265-926b-505b0ef36348 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:00.082 +05:30 e2fbed49-e51a-4e61-be85-7e368d3566ef ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.083 +05:30 e2fbed49-e51a-4e61-be85-7e368d3566ef ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.083 +05:30 e2fbed49-e51a-4e61-be85-7e368d3566ef ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.085 +05:30 e2fbed49-e51a-4e61-be85-7e368d3566ef ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:00.189 +05:30 6b3935a1-68a6-4acb-a3f6-c2e2c09585b7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.197 +05:30 6b3935a1-68a6-4acb-a3f6-c2e2c09585b7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.198 +05:30 6b3935a1-68a6-4acb-a3f6-c2e2c09585b7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.199 +05:30 6b3935a1-68a6-4acb-a3f6-c2e2c09585b7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:00.291 +05:30 f5913605-80d8-4b3e-abcb-5c6a642a8285 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.295 +05:30 f5913605-80d8-4b3e-abcb-5c6a642a8285 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.296 +05:30 f5913605-80d8-4b3e-abcb-5c6a642a8285 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.298 +05:30 f5913605-80d8-4b3e-abcb-5c6a642a8285 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:00.402 +05:30 bdf4b223-a257-44ec-a44c-1d99aeb47473 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.403 +05:30 bdf4b223-a257-44ec-a44c-1d99aeb47473 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.404 +05:30 bdf4b223-a257-44ec-a44c-1d99aeb47473 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.405 +05:30 bdf4b223-a257-44ec-a44c-1d99aeb47473 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:00.494 +05:30 82eaa1e8-a1c1-4858-9859-fc72069630c9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.495 +05:30 82eaa1e8-a1c1-4858-9859-fc72069630c9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.495 +05:30 82eaa1e8-a1c1-4858-9859-fc72069630c9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.496 +05:30 82eaa1e8-a1c1-4858-9859-fc72069630c9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:00.592 +05:30 2d7a157f-84ac-4d4c-9b86-c66541a33594 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.593 +05:30 2d7a157f-84ac-4d4c-9b86-c66541a33594 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.594 +05:30 2d7a157f-84ac-4d4c-9b86-c66541a33594 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.595 +05:30 2d7a157f-84ac-4d4c-9b86-c66541a33594 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:00.781 +05:30 1c7197d4-0cee-4b92-8170-3b91a9c8ef55 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.783 +05:30 1c7197d4-0cee-4b92-8170-3b91a9c8ef55 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.783 +05:30 1c7197d4-0cee-4b92-8170-3b91a9c8ef55 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.784 +05:30 1c7197d4-0cee-4b92-8170-3b91a9c8ef55 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:00.899 +05:30 165a1fe6-c324-48a2-8f68-1ae2f846cfe2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.900 +05:30 165a1fe6-c324-48a2-8f68-1ae2f846cfe2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.901 +05:30 165a1fe6-c324-48a2-8f68-1ae2f846cfe2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:00.902 +05:30 165a1fe6-c324-48a2-8f68-1ae2f846cfe2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:01.004 +05:30 4262d500-de14-4118-9ecc-80958fd233f5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.006 +05:30 4262d500-de14-4118-9ecc-80958fd233f5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.006 +05:30 4262d500-de14-4118-9ecc-80958fd233f5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.008 +05:30 4262d500-de14-4118-9ecc-80958fd233f5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:01.108 +05:30 3941b88a-493f-4c63-b2e1-1d3dcfb707bf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.109 +05:30 3941b88a-493f-4c63-b2e1-1d3dcfb707bf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.109 +05:30 3941b88a-493f-4c63-b2e1-1d3dcfb707bf ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.112 +05:30 3941b88a-493f-4c63-b2e1-1d3dcfb707bf ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:01.244 +05:30 3c3f9fce-9aa6-4751-bfff-ecb4f3e59b15 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.249 +05:30 3c3f9fce-9aa6-4751-bfff-ecb4f3e59b15 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.249 +05:30 3c3f9fce-9aa6-4751-bfff-ecb4f3e59b15 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.250 +05:30 3c3f9fce-9aa6-4751-bfff-ecb4f3e59b15 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:01.417 +05:30 c09c5e05-0a35-4013-ba3b-077208923563 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.421 +05:30 c09c5e05-0a35-4013-ba3b-077208923563 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.421 +05:30 c09c5e05-0a35-4013-ba3b-077208923563 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.422 +05:30 c09c5e05-0a35-4013-ba3b-077208923563 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:01.521 +05:30 b5153001-626f-47bb-8bb1-144195e10586 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.554 +05:30 b5153001-626f-47bb-8bb1-144195e10586 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.554 +05:30 b5153001-626f-47bb-8bb1-144195e10586 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.555 +05:30 b5153001-626f-47bb-8bb1-144195e10586 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:01.913 +05:30 2bef7c96-eb15-4a3b-beca-4f51f1305ae1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.915 +05:30 2bef7c96-eb15-4a3b-beca-4f51f1305ae1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.915 +05:30 2bef7c96-eb15-4a3b-beca-4f51f1305ae1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:01.917 +05:30 2bef7c96-eb15-4a3b-beca-4f51f1305ae1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:02.027 +05:30 7a4fb365-caa5-44a5-a266-c3ec688068e1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.032 +05:30 7a4fb365-caa5-44a5-a266-c3ec688068e1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.033 +05:30 7a4fb365-caa5-44a5-a266-c3ec688068e1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.034 +05:30 7a4fb365-caa5-44a5-a266-c3ec688068e1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:02.147 +05:30 2b05078f-7606-42e0-b570-fe4e1b095f0d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.153 +05:30 2b05078f-7606-42e0-b570-fe4e1b095f0d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.154 +05:30 2b05078f-7606-42e0-b570-fe4e1b095f0d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.155 +05:30 2b05078f-7606-42e0-b570-fe4e1b095f0d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:02.228 +05:30 a463c2d7-8792-424a-9008-2ca4b427fb87 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.234 +05:30 a463c2d7-8792-424a-9008-2ca4b427fb87 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.234 +05:30 a463c2d7-8792-424a-9008-2ca4b427fb87 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.236 +05:30 a463c2d7-8792-424a-9008-2ca4b427fb87 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:02.351 +05:30 2d088858-d6b6-4827-8e79-ee06848cd31c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.352 +05:30 2d088858-d6b6-4827-8e79-ee06848cd31c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.353 +05:30 2d088858-d6b6-4827-8e79-ee06848cd31c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.354 +05:30 2d088858-d6b6-4827-8e79-ee06848cd31c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:02.444 +05:30 34714af9-075b-468c-b16f-4ffd04237bbe ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.445 +05:30 34714af9-075b-468c-b16f-4ffd04237bbe ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.446 +05:30 34714af9-075b-468c-b16f-4ffd04237bbe ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.447 +05:30 34714af9-075b-468c-b16f-4ffd04237bbe ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:02.535 +05:30 83c7dbaf-4cf4-4fb6-a9ff-9dbfff18191e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.536 +05:30 83c7dbaf-4cf4-4fb6-a9ff-9dbfff18191e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.536 +05:30 83c7dbaf-4cf4-4fb6-a9ff-9dbfff18191e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.538 +05:30 83c7dbaf-4cf4-4fb6-a9ff-9dbfff18191e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:02.673 +05:30 8dd9bccf-e655-4827-b771-476b779b1b26 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.674 +05:30 8dd9bccf-e655-4827-b771-476b779b1b26 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.675 +05:30 8dd9bccf-e655-4827-b771-476b779b1b26 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.676 +05:30 8dd9bccf-e655-4827-b771-476b779b1b26 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:02.742 +05:30 ade772d0-70a4-4c01-9aeb-a092b93d7858 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.743 +05:30 ade772d0-70a4-4c01-9aeb-a092b93d7858 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.743 +05:30 ade772d0-70a4-4c01-9aeb-a092b93d7858 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.744 +05:30 ade772d0-70a4-4c01-9aeb-a092b93d7858 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:02.879 +05:30 821cbab8-b58a-4d95-a1ef-924a88988424 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.881 +05:30 821cbab8-b58a-4d95-a1ef-924a88988424 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.881 +05:30 821cbab8-b58a-4d95-a1ef-924a88988424 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:02.882 +05:30 821cbab8-b58a-4d95-a1ef-924a88988424 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:03.156 +05:30 6dd57d5c-6b09-47a9-8078-98b0141a33cb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.156 +05:30 6dd57d5c-6b09-47a9-8078-98b0141a33cb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.157 +05:30 6dd57d5c-6b09-47a9-8078-98b0141a33cb ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.158 +05:30 6dd57d5c-6b09-47a9-8078-98b0141a33cb ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:03.254 +05:30 d1e357e6-7319-4f35-9b3c-fa0012816f3e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.254 +05:30 d1e357e6-7319-4f35-9b3c-fa0012816f3e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.255 +05:30 d1e357e6-7319-4f35-9b3c-fa0012816f3e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.255 +05:30 d1e357e6-7319-4f35-9b3c-fa0012816f3e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:03.358 +05:30 c1d374e2-6da8-4229-9f89-06f74bb02cb1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.362 +05:30 c1d374e2-6da8-4229-9f89-06f74bb02cb1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.362 +05:30 c1d374e2-6da8-4229-9f89-06f74bb02cb1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.363 +05:30 c1d374e2-6da8-4229-9f89-06f74bb02cb1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:03.463 +05:30 a8603707-1792-4540-9e57-e43eca7972c2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.474 +05:30 a8603707-1792-4540-9e57-e43eca7972c2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.475 +05:30 a8603707-1792-4540-9e57-e43eca7972c2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.477 +05:30 a8603707-1792-4540-9e57-e43eca7972c2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:03.557 +05:30 53f3e787-dd99-491f-9505-17be283ac564 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.558 +05:30 53f3e787-dd99-491f-9505-17be283ac564 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.558 +05:30 53f3e787-dd99-491f-9505-17be283ac564 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.559 +05:30 53f3e787-dd99-491f-9505-17be283ac564 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:03.669 +05:30 f6e722b7-5cb1-4a54-a373-113069dfd2fd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.670 +05:30 f6e722b7-5cb1-4a54-a373-113069dfd2fd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.670 +05:30 f6e722b7-5cb1-4a54-a373-113069dfd2fd ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.671 +05:30 f6e722b7-5cb1-4a54-a373-113069dfd2fd ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:03.765 +05:30 e700d720-689a-48b2-8259-d539d9845c28 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.766 +05:30 e700d720-689a-48b2-8259-d539d9845c28 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.766 +05:30 e700d720-689a-48b2-8259-d539d9845c28 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.767 +05:30 e700d720-689a-48b2-8259-d539d9845c28 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:03.874 +05:30 710b3522-4c0b-434e-b00e-89c5ef303838 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.875 +05:30 710b3522-4c0b-434e-b00e-89c5ef303838 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.875 +05:30 710b3522-4c0b-434e-b00e-89c5ef303838 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.876 +05:30 710b3522-4c0b-434e-b00e-89c5ef303838 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:03.970 +05:30 1c7f8abf-8aca-4fe8-afc4-f4ad357819b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.977 +05:30 1c7f8abf-8aca-4fe8-afc4-f4ad357819b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.977 +05:30 1c7f8abf-8aca-4fe8-afc4-f4ad357819b5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:03.978 +05:30 1c7f8abf-8aca-4fe8-afc4-f4ad357819b5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:04.072 +05:30 88548aca-d34a-4a63-984e-ab4679970cfc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.073 +05:30 88548aca-d34a-4a63-984e-ab4679970cfc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.073 +05:30 88548aca-d34a-4a63-984e-ab4679970cfc ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.074 +05:30 88548aca-d34a-4a63-984e-ab4679970cfc ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:04.181 +05:30 1c229d89-27d6-4ce1-9317-992e11c1d4e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.182 +05:30 1c229d89-27d6-4ce1-9317-992e11c1d4e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.182 +05:30 1c229d89-27d6-4ce1-9317-992e11c1d4e6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.182 +05:30 1c229d89-27d6-4ce1-9317-992e11c1d4e6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:04.277 +05:30 34759b15-1d5b-4f1e-8df3-8fce7a75a27b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.277 +05:30 34759b15-1d5b-4f1e-8df3-8fce7a75a27b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.277 +05:30 34759b15-1d5b-4f1e-8df3-8fce7a75a27b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.278 +05:30 34759b15-1d5b-4f1e-8df3-8fce7a75a27b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:04.380 +05:30 c1769d0b-0437-4804-91cc-65d4cd980188 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.380 +05:30 c1769d0b-0437-4804-91cc-65d4cd980188 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.380 +05:30 c1769d0b-0437-4804-91cc-65d4cd980188 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.381 +05:30 c1769d0b-0437-4804-91cc-65d4cd980188 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:04.471 +05:30 c1978295-8f93-4f23-b077-96222e8d4dff ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.472 +05:30 c1978295-8f93-4f23-b077-96222e8d4dff ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.472 +05:30 c1978295-8f93-4f23-b077-96222e8d4dff ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:04.473 +05:30 c1978295-8f93-4f23-b077-96222e8d4dff ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:06.439 +05:30 1d45c5a5-c93d-4826-9cd6-1f59ca97f92a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.440 +05:30 1d45c5a5-c93d-4826-9cd6-1f59ca97f92a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.440 +05:30 1d45c5a5-c93d-4826-9cd6-1f59ca97f92a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.442 +05:30 1d45c5a5-c93d-4826-9cd6-1f59ca97f92a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:06.537 +05:30 6466ea19-bd43-4fe0-9bfa-1f4895cbbbf6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.538 +05:30 6466ea19-bd43-4fe0-9bfa-1f4895cbbbf6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.538 +05:30 6466ea19-bd43-4fe0-9bfa-1f4895cbbbf6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.539 +05:30 6466ea19-bd43-4fe0-9bfa-1f4895cbbbf6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:06.637 +05:30 0662454c-660a-464c-ad53-cd0554ce3f04 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.637 +05:30 0662454c-660a-464c-ad53-cd0554ce3f04 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.638 +05:30 0662454c-660a-464c-ad53-cd0554ce3f04 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.639 +05:30 0662454c-660a-464c-ad53-cd0554ce3f04 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:06.733 +05:30 b3aed46e-6902-4813-af72-5cb30952c8d4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.734 +05:30 b3aed46e-6902-4813-af72-5cb30952c8d4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.734 +05:30 b3aed46e-6902-4813-af72-5cb30952c8d4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.735 +05:30 b3aed46e-6902-4813-af72-5cb30952c8d4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:06.824 +05:30 1e3288bb-e537-46a9-a2d1-a7f7d6daf126 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.824 +05:30 1e3288bb-e537-46a9-a2d1-a7f7d6daf126 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.824 +05:30 1e3288bb-e537-46a9-a2d1-a7f7d6daf126 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.825 +05:30 1e3288bb-e537-46a9-a2d1-a7f7d6daf126 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:06.943 +05:30 af351865-bb00-4bd0-9049-b80476351188 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.944 +05:30 af351865-bb00-4bd0-9049-b80476351188 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.944 +05:30 af351865-bb00-4bd0-9049-b80476351188 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:06.945 +05:30 af351865-bb00-4bd0-9049-b80476351188 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.058 +05:30 c9bbef33-c5bf-4969-8fe5-5ccc09c7fc5f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.060 +05:30 c9bbef33-c5bf-4969-8fe5-5ccc09c7fc5f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.060 +05:30 c9bbef33-c5bf-4969-8fe5-5ccc09c7fc5f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.062 +05:30 c9bbef33-c5bf-4969-8fe5-5ccc09c7fc5f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.147 +05:30 0cd2e52c-0f05-4737-946f-f46d95a22c77 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.148 +05:30 0cd2e52c-0f05-4737-946f-f46d95a22c77 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.148 +05:30 0cd2e52c-0f05-4737-946f-f46d95a22c77 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.149 +05:30 0cd2e52c-0f05-4737-946f-f46d95a22c77 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.245 +05:30 9d97bef9-af49-4439-a1ee-5b7be77f3e8d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.246 +05:30 9d97bef9-af49-4439-a1ee-5b7be77f3e8d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.246 +05:30 9d97bef9-af49-4439-a1ee-5b7be77f3e8d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.247 +05:30 9d97bef9-af49-4439-a1ee-5b7be77f3e8d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.364 +05:30 2836fb25-0564-444c-9f79-8f14c04c1bed ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.365 +05:30 2836fb25-0564-444c-9f79-8f14c04c1bed ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.365 +05:30 2836fb25-0564-444c-9f79-8f14c04c1bed ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.366 +05:30 2836fb25-0564-444c-9f79-8f14c04c1bed ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.454 +05:30 546dd2e5-9fde-49ab-8369-b96624e56b37 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.458 +05:30 546dd2e5-9fde-49ab-8369-b96624e56b37 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.459 +05:30 546dd2e5-9fde-49ab-8369-b96624e56b37 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.460 +05:30 546dd2e5-9fde-49ab-8369-b96624e56b37 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.548 +05:30 26b12c43-2c56-457f-b8b9-cd38e4fcd397 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.549 +05:30 26b12c43-2c56-457f-b8b9-cd38e4fcd397 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.549 +05:30 26b12c43-2c56-457f-b8b9-cd38e4fcd397 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.550 +05:30 26b12c43-2c56-457f-b8b9-cd38e4fcd397 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.669 +05:30 25c23dd1-8ec6-45e7-b20c-807152214463 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.670 +05:30 25c23dd1-8ec6-45e7-b20c-807152214463 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.670 +05:30 25c23dd1-8ec6-45e7-b20c-807152214463 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.671 +05:30 25c23dd1-8ec6-45e7-b20c-807152214463 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.761 +05:30 b6e965af-c7f5-455e-a40d-75e0f6ae58be ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.762 +05:30 b6e965af-c7f5-455e-a40d-75e0f6ae58be ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.763 +05:30 b6e965af-c7f5-455e-a40d-75e0f6ae58be ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.764 +05:30 b6e965af-c7f5-455e-a40d-75e0f6ae58be ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.874 +05:30 433e9c54-fcd2-4a48-91ee-011551ea9ee4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.875 +05:30 433e9c54-fcd2-4a48-91ee-011551ea9ee4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.875 +05:30 433e9c54-fcd2-4a48-91ee-011551ea9ee4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.877 +05:30 433e9c54-fcd2-4a48-91ee-011551ea9ee4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:07.974 +05:30 e7879800-1eb4-4e2c-8dd7-6bf10978afc9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.975 +05:30 e7879800-1eb4-4e2c-8dd7-6bf10978afc9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.975 +05:30 e7879800-1eb4-4e2c-8dd7-6bf10978afc9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:07.977 +05:30 e7879800-1eb4-4e2c-8dd7-6bf10978afc9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:08.084 +05:30 c78f6ffc-4073-4c5f-80fa-affaab709cb9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.098 +05:30 c78f6ffc-4073-4c5f-80fa-affaab709cb9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.098 +05:30 c78f6ffc-4073-4c5f-80fa-affaab709cb9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.099 +05:30 c78f6ffc-4073-4c5f-80fa-affaab709cb9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:08.249 +05:30 6088cd03-daa0-4c2d-b5fc-fd8128ce419f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.257 +05:30 6088cd03-daa0-4c2d-b5fc-fd8128ce419f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.257 +05:30 6088cd03-daa0-4c2d-b5fc-fd8128ce419f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.259 +05:30 6088cd03-daa0-4c2d-b5fc-fd8128ce419f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:08.354 +05:30 c85421b4-f086-4413-b5b7-7aacbe01582d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.362 +05:30 c85421b4-f086-4413-b5b7-7aacbe01582d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.362 +05:30 c85421b4-f086-4413-b5b7-7aacbe01582d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.364 +05:30 c85421b4-f086-4413-b5b7-7aacbe01582d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:08.787 +05:30 fb8a48e3-8ffe-4fb1-adb8-13f6ca0dc9c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.788 +05:30 fb8a48e3-8ffe-4fb1-adb8-13f6ca0dc9c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.789 +05:30 fb8a48e3-8ffe-4fb1-adb8-13f6ca0dc9c0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.791 +05:30 fb8a48e3-8ffe-4fb1-adb8-13f6ca0dc9c0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:08.884 +05:30 7ca90e32-a8fd-4a1e-816c-f3f5f702c145 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.886 +05:30 7ca90e32-a8fd-4a1e-816c-f3f5f702c145 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.886 +05:30 7ca90e32-a8fd-4a1e-816c-f3f5f702c145 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.887 +05:30 7ca90e32-a8fd-4a1e-816c-f3f5f702c145 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:08.993 +05:30 514d5c73-fef2-46fc-af87-488c8f4eff3f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.994 +05:30 514d5c73-fef2-46fc-af87-488c8f4eff3f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.994 +05:30 514d5c73-fef2-46fc-af87-488c8f4eff3f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:08.995 +05:30 514d5c73-fef2-46fc-af87-488c8f4eff3f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:09.095 +05:30 af3c0f92-162c-499f-bcfe-1de5679ea70c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.098 +05:30 af3c0f92-162c-499f-bcfe-1de5679ea70c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.098 +05:30 af3c0f92-162c-499f-bcfe-1de5679ea70c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.099 +05:30 af3c0f92-162c-499f-bcfe-1de5679ea70c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:09.189 +05:30 b6073231-582c-43ae-85b8-f110bd62f0e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.189 +05:30 b6073231-582c-43ae-85b8-f110bd62f0e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.190 +05:30 b6073231-582c-43ae-85b8-f110bd62f0e6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.190 +05:30 b6073231-582c-43ae-85b8-f110bd62f0e6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:09.297 +05:30 9d2bb0bb-f557-4076-8cf2-cb82e27e1212 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.305 +05:30 9d2bb0bb-f557-4076-8cf2-cb82e27e1212 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.306 +05:30 9d2bb0bb-f557-4076-8cf2-cb82e27e1212 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.306 +05:30 9d2bb0bb-f557-4076-8cf2-cb82e27e1212 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:09.391 +05:30 09c22e85-033b-4e0e-9cc9-64e48531f8df ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.393 +05:30 09c22e85-033b-4e0e-9cc9-64e48531f8df ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.393 +05:30 09c22e85-033b-4e0e-9cc9-64e48531f8df ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.394 +05:30 09c22e85-033b-4e0e-9cc9-64e48531f8df ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:09.511 +05:30 3220857c-f244-4e54-b022-4bd9451c3b4f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.512 +05:30 3220857c-f244-4e54-b022-4bd9451c3b4f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.512 +05:30 3220857c-f244-4e54-b022-4bd9451c3b4f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.513 +05:30 3220857c-f244-4e54-b022-4bd9451c3b4f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:09.606 +05:30 26266e96-fc47-4ad0-919c-1f4fa1d76dd3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.610 +05:30 26266e96-fc47-4ad0-919c-1f4fa1d76dd3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.610 +05:30 26266e96-fc47-4ad0-919c-1f4fa1d76dd3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.611 +05:30 26266e96-fc47-4ad0-919c-1f4fa1d76dd3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:09.702 +05:30 91ca5459-8a83-4a13-9c5b-22500581a396 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.709 +05:30 91ca5459-8a83-4a13-9c5b-22500581a396 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.709 +05:30 91ca5459-8a83-4a13-9c5b-22500581a396 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.711 +05:30 91ca5459-8a83-4a13-9c5b-22500581a396 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:09.801 +05:30 3ea3aeeb-0171-4108-a709-86085b8fc712 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.808 +05:30 3ea3aeeb-0171-4108-a709-86085b8fc712 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.809 +05:30 3ea3aeeb-0171-4108-a709-86085b8fc712 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.809 +05:30 3ea3aeeb-0171-4108-a709-86085b8fc712 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:09.905 +05:30 dc5b2aad-37b5-477b-8aeb-e30df04d36d9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.906 +05:30 dc5b2aad-37b5-477b-8aeb-e30df04d36d9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.906 +05:30 dc5b2aad-37b5-477b-8aeb-e30df04d36d9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:09.907 +05:30 dc5b2aad-37b5-477b-8aeb-e30df04d36d9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.015 +05:30 9697d92c-98d3-400c-ab24-d8aee13737a5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.016 +05:30 9697d92c-98d3-400c-ab24-d8aee13737a5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.016 +05:30 9697d92c-98d3-400c-ab24-d8aee13737a5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.017 +05:30 9697d92c-98d3-400c-ab24-d8aee13737a5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.100 +05:30 6f93f72a-b1c8-4a06-b3d5-0ea23a2a0123 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.106 +05:30 6f93f72a-b1c8-4a06-b3d5-0ea23a2a0123 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.106 +05:30 6f93f72a-b1c8-4a06-b3d5-0ea23a2a0123 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.106 +05:30 6f93f72a-b1c8-4a06-b3d5-0ea23a2a0123 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.214 +05:30 e6a8980d-ce96-45cc-b7ba-d31dcebfa0cc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.220 +05:30 e6a8980d-ce96-45cc-b7ba-d31dcebfa0cc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.220 +05:30 e6a8980d-ce96-45cc-b7ba-d31dcebfa0cc ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.221 +05:30 e6a8980d-ce96-45cc-b7ba-d31dcebfa0cc ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.327 +05:30 eece1ec7-27c1-490c-ae29-193f312d555d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.328 +05:30 eece1ec7-27c1-490c-ae29-193f312d555d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.328 +05:30 eece1ec7-27c1-490c-ae29-193f312d555d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.329 +05:30 eece1ec7-27c1-490c-ae29-193f312d555d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.391 +05:30 090f2864-2299-4047-931b-26fac33d9c02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.392 +05:30 090f2864-2299-4047-931b-26fac33d9c02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.392 +05:30 090f2864-2299-4047-931b-26fac33d9c02 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.394 +05:30 090f2864-2299-4047-931b-26fac33d9c02 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.451 +05:30 978bdc32-9b6f-4528-88aa-2ef384cdce86 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.452 +05:30 978bdc32-9b6f-4528-88aa-2ef384cdce86 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.452 +05:30 978bdc32-9b6f-4528-88aa-2ef384cdce86 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.454 +05:30 978bdc32-9b6f-4528-88aa-2ef384cdce86 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.505 +05:30 9541f505-7f19-4c8e-96bd-fa98ef63ce5d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.511 +05:30 9541f505-7f19-4c8e-96bd-fa98ef63ce5d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.511 +05:30 9541f505-7f19-4c8e-96bd-fa98ef63ce5d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.513 +05:30 9541f505-7f19-4c8e-96bd-fa98ef63ce5d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.568 +05:30 6c8b88da-2342-4125-97e1-27bfbdd68199 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.569 +05:30 6c8b88da-2342-4125-97e1-27bfbdd68199 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.569 +05:30 6c8b88da-2342-4125-97e1-27bfbdd68199 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.570 +05:30 6c8b88da-2342-4125-97e1-27bfbdd68199 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.637 +05:30 9e837d04-750b-4a3d-b062-76d7d6167422 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.642 +05:30 9e837d04-750b-4a3d-b062-76d7d6167422 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.642 +05:30 9e837d04-750b-4a3d-b062-76d7d6167422 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.644 +05:30 9e837d04-750b-4a3d-b062-76d7d6167422 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.723 +05:30 ef7091e7-c541-4dd2-a7c8-3c2ad9657724 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.724 +05:30 ef7091e7-c541-4dd2-a7c8-3c2ad9657724 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.725 +05:30 ef7091e7-c541-4dd2-a7c8-3c2ad9657724 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.725 +05:30 ef7091e7-c541-4dd2-a7c8-3c2ad9657724 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.813 +05:30 64526e8d-daa9-49c2-8f84-6980f26e9654 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.818 +05:30 64526e8d-daa9-49c2-8f84-6980f26e9654 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.818 +05:30 64526e8d-daa9-49c2-8f84-6980f26e9654 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.820 +05:30 64526e8d-daa9-49c2-8f84-6980f26e9654 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:10.921 +05:30 19f14be0-1fbc-497c-a855-c3019559fc8e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.925 +05:30 19f14be0-1fbc-497c-a855-c3019559fc8e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.925 +05:30 19f14be0-1fbc-497c-a855-c3019559fc8e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:10.926 +05:30 19f14be0-1fbc-497c-a855-c3019559fc8e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.074 +05:30 97b29dc5-40a3-4495-a933-f2f41682d9f0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.091 +05:30 97b29dc5-40a3-4495-a933-f2f41682d9f0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.092 +05:30 97b29dc5-40a3-4495-a933-f2f41682d9f0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.093 +05:30 97b29dc5-40a3-4495-a933-f2f41682d9f0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.246 +05:30 ea70268f-bdbe-4e3c-96aa-18bbebd291c9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.250 +05:30 ea70268f-bdbe-4e3c-96aa-18bbebd291c9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.251 +05:30 ea70268f-bdbe-4e3c-96aa-18bbebd291c9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.252 +05:30 ea70268f-bdbe-4e3c-96aa-18bbebd291c9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.326 +05:30 25b3658b-afaf-4c8b-a58e-4840e04ef5a1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.326 +05:30 25b3658b-afaf-4c8b-a58e-4840e04ef5a1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.327 +05:30 25b3658b-afaf-4c8b-a58e-4840e04ef5a1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.328 +05:30 25b3658b-afaf-4c8b-a58e-4840e04ef5a1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.384 +05:30 a59dfb78-2d51-4e2f-8dff-9f4cc8fa61d6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.384 +05:30 a59dfb78-2d51-4e2f-8dff-9f4cc8fa61d6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.384 +05:30 a59dfb78-2d51-4e2f-8dff-9f4cc8fa61d6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.385 +05:30 a59dfb78-2d51-4e2f-8dff-9f4cc8fa61d6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.480 +05:30 6f61be42-dc6f-44f5-9188-af539bbd5dc7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.484 +05:30 6f61be42-dc6f-44f5-9188-af539bbd5dc7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.484 +05:30 6f61be42-dc6f-44f5-9188-af539bbd5dc7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.485 +05:30 6f61be42-dc6f-44f5-9188-af539bbd5dc7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.563 +05:30 f3b0a042-f2a3-4a3b-86d5-7b3ecab7e2a4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.564 +05:30 f3b0a042-f2a3-4a3b-86d5-7b3ecab7e2a4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.564 +05:30 f3b0a042-f2a3-4a3b-86d5-7b3ecab7e2a4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.565 +05:30 f3b0a042-f2a3-4a3b-86d5-7b3ecab7e2a4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.678 +05:30 030c3be8-8d35-4e68-a27c-b0a962312b1e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.698 +05:30 030c3be8-8d35-4e68-a27c-b0a962312b1e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.702 +05:30 030c3be8-8d35-4e68-a27c-b0a962312b1e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.703 +05:30 030c3be8-8d35-4e68-a27c-b0a962312b1e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.761 +05:30 e3b60790-c584-4b5f-8db5-1834108180ee ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.762 +05:30 e3b60790-c584-4b5f-8db5-1834108180ee ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.762 +05:30 e3b60790-c584-4b5f-8db5-1834108180ee ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.763 +05:30 e3b60790-c584-4b5f-8db5-1834108180ee ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.864 +05:30 787d46db-0aa7-4270-a4be-b4027f1b4d63 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.866 +05:30 787d46db-0aa7-4270-a4be-b4027f1b4d63 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.866 +05:30 787d46db-0aa7-4270-a4be-b4027f1b4d63 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.868 +05:30 787d46db-0aa7-4270-a4be-b4027f1b4d63 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:11.960 +05:30 fda9349f-7402-4cd9-bef5-462d306a0538 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.964 +05:30 fda9349f-7402-4cd9-bef5-462d306a0538 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.965 +05:30 fda9349f-7402-4cd9-bef5-462d306a0538 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:11.966 +05:30 fda9349f-7402-4cd9-bef5-462d306a0538 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.046 +05:30 927debef-653f-4764-b799-508a9241ecbe ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.047 +05:30 927debef-653f-4764-b799-508a9241ecbe ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.047 +05:30 927debef-653f-4764-b799-508a9241ecbe ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.048 +05:30 927debef-653f-4764-b799-508a9241ecbe ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.106 +05:30 317b6dff-6a92-42b4-bf61-dff9b4327aa2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.107 +05:30 317b6dff-6a92-42b4-bf61-dff9b4327aa2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.107 +05:30 317b6dff-6a92-42b4-bf61-dff9b4327aa2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.108 +05:30 317b6dff-6a92-42b4-bf61-dff9b4327aa2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.168 +05:30 ef1fc68d-f9d5-418f-9ebe-b76459fce663 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.169 +05:30 ef1fc68d-f9d5-418f-9ebe-b76459fce663 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.169 +05:30 ef1fc68d-f9d5-418f-9ebe-b76459fce663 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.170 +05:30 ef1fc68d-f9d5-418f-9ebe-b76459fce663 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.267 +05:30 44a836d3-312a-4aea-b5a7-6a1818acedae ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.269 +05:30 44a836d3-312a-4aea-b5a7-6a1818acedae ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.269 +05:30 44a836d3-312a-4aea-b5a7-6a1818acedae ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.269 +05:30 44a836d3-312a-4aea-b5a7-6a1818acedae ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.369 +05:30 ecf56cf8-63d6-4b75-aedd-0cf55c4e65d1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.370 +05:30 ecf56cf8-63d6-4b75-aedd-0cf55c4e65d1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.370 +05:30 ecf56cf8-63d6-4b75-aedd-0cf55c4e65d1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.371 +05:30 ecf56cf8-63d6-4b75-aedd-0cf55c4e65d1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.472 +05:30 ecb1a188-1912-4028-9b13-6d8dc713ae82 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.479 +05:30 ecb1a188-1912-4028-9b13-6d8dc713ae82 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.479 +05:30 ecb1a188-1912-4028-9b13-6d8dc713ae82 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.481 +05:30 ecb1a188-1912-4028-9b13-6d8dc713ae82 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.580 +05:30 8c80939d-5948-4f36-8a98-6f0609ca0e9f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.584 +05:30 8c80939d-5948-4f36-8a98-6f0609ca0e9f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.584 +05:30 8c80939d-5948-4f36-8a98-6f0609ca0e9f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.585 +05:30 8c80939d-5948-4f36-8a98-6f0609ca0e9f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.673 +05:30 bffe769c-b51e-4768-9c1b-fd7240d87999 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.674 +05:30 bffe769c-b51e-4768-9c1b-fd7240d87999 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.674 +05:30 bffe769c-b51e-4768-9c1b-fd7240d87999 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.675 +05:30 bffe769c-b51e-4768-9c1b-fd7240d87999 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.782 +05:30 eb6f0c6e-868e-44f6-96c1-059733bbc0a3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.786 +05:30 eb6f0c6e-868e-44f6-96c1-059733bbc0a3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.787 +05:30 eb6f0c6e-868e-44f6-96c1-059733bbc0a3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.788 +05:30 eb6f0c6e-868e-44f6-96c1-059733bbc0a3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:12.995 +05:30 5c746e10-555f-4c8d-998a-4d98d708de1c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.996 +05:30 5c746e10-555f-4c8d-998a-4d98d708de1c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.997 +05:30 5c746e10-555f-4c8d-998a-4d98d708de1c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:12.998 +05:30 5c746e10-555f-4c8d-998a-4d98d708de1c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:13.079 +05:30 716cee2f-440d-4592-93ff-3fab337ca08e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.079 +05:30 716cee2f-440d-4592-93ff-3fab337ca08e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.080 +05:30 716cee2f-440d-4592-93ff-3fab337ca08e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.081 +05:30 716cee2f-440d-4592-93ff-3fab337ca08e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:13.183 +05:30 fd4f28e8-cb37-40a2-9593-7fa5b5e11cfa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.189 +05:30 fd4f28e8-cb37-40a2-9593-7fa5b5e11cfa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.189 +05:30 fd4f28e8-cb37-40a2-9593-7fa5b5e11cfa ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.191 +05:30 fd4f28e8-cb37-40a2-9593-7fa5b5e11cfa ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:13.302 +05:30 69672d00-17fa-48a7-ad9d-07e0b5c7dd4d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.303 +05:30 69672d00-17fa-48a7-ad9d-07e0b5c7dd4d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.304 +05:30 69672d00-17fa-48a7-ad9d-07e0b5c7dd4d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.305 +05:30 69672d00-17fa-48a7-ad9d-07e0b5c7dd4d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:13.387 +05:30 0a720b6a-57fb-4537-a40c-1ef903012b62 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.388 +05:30 0a720b6a-57fb-4537-a40c-1ef903012b62 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.389 +05:30 0a720b6a-57fb-4537-a40c-1ef903012b62 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.390 +05:30 0a720b6a-57fb-4537-a40c-1ef903012b62 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:13.502 +05:30 b5bc9c01-4a78-4bbf-b01f-e10bcdbb7a05 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.510 +05:30 b5bc9c01-4a78-4bbf-b01f-e10bcdbb7a05 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.510 +05:30 b5bc9c01-4a78-4bbf-b01f-e10bcdbb7a05 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:13.512 +05:30 b5bc9c01-4a78-4bbf-b01f-e10bcdbb7a05 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.563 +05:30 b569bc7f-72b8-4123-82e2-e6bb2479cbcf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.563 +05:30 ffafcf86-a963-4171-9e90-616fffef351c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.563 +05:30 90258de8-04cb-449d-a388-032acf07b7a5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.564 +05:30 b569bc7f-72b8-4123-82e2-e6bb2479cbcf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.564 +05:30 ffafcf86-a963-4171-9e90-616fffef351c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.564 +05:30 90258de8-04cb-449d-a388-032acf07b7a5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.564 +05:30 b569bc7f-72b8-4123-82e2-e6bb2479cbcf ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.564 +05:30 ffafcf86-a963-4171-9e90-616fffef351c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.564 +05:30 90258de8-04cb-449d-a388-032acf07b7a5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.565 +05:30 90258de8-04cb-449d-a388-032acf07b7a5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.565 +05:30 ffafcf86-a963-4171-9e90-616fffef351c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.565 +05:30 b569bc7f-72b8-4123-82e2-e6bb2479cbcf ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.567 +05:30 9836917e-1574-46fd-945e-b231f7785f6f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.568 +05:30 49d73fb7-4dc8-4adf-994f-dd86da4f89f1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.571 +05:30 9836917e-1574-46fd-945e-b231f7785f6f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.571 +05:30 49d73fb7-4dc8-4adf-994f-dd86da4f89f1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.572 +05:30 9836917e-1574-46fd-945e-b231f7785f6f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.572 +05:30 49d73fb7-4dc8-4adf-994f-dd86da4f89f1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.573 +05:30 9836917e-1574-46fd-945e-b231f7785f6f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.573 +05:30 49d73fb7-4dc8-4adf-994f-dd86da4f89f1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.636 +05:30 2e455a6f-0488-43ee-9bcf-af4009d500de ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.636 +05:30 4211fe83-4132-4313-a420-d2bd74b98c99 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.636 +05:30 5b6836a1-0d87-4ace-81ec-eb265d1c621b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.636 +05:30 553c6df0-f8d9-4bbc-8a83-f601dbddfbee ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.637 +05:30 4211fe83-4132-4313-a420-d2bd74b98c99 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.637 +05:30 5b6836a1-0d87-4ace-81ec-eb265d1c621b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.637 +05:30 2e455a6f-0488-43ee-9bcf-af4009d500de ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.637 +05:30 f5590fa9-26bc-4762-9e7b-992c2c2c5282 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.637 +05:30 4211fe83-4132-4313-a420-d2bd74b98c99 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.637 +05:30 553c6df0-f8d9-4bbc-8a83-f601dbddfbee ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.637 +05:30 2e455a6f-0488-43ee-9bcf-af4009d500de ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.637 +05:30 5b6836a1-0d87-4ace-81ec-eb265d1c621b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.637 +05:30 553c6df0-f8d9-4bbc-8a83-f601dbddfbee ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.638 +05:30 2e455a6f-0488-43ee-9bcf-af4009d500de ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.638 +05:30 4211fe83-4132-4313-a420-d2bd74b98c99 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.638 +05:30 5b6836a1-0d87-4ace-81ec-eb265d1c621b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.639 +05:30 553c6df0-f8d9-4bbc-8a83-f601dbddfbee ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.639 +05:30 f5590fa9-26bc-4762-9e7b-992c2c2c5282 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.639 +05:30 f5590fa9-26bc-4762-9e7b-992c2c2c5282 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.640 +05:30 f5590fa9-26bc-4762-9e7b-992c2c2c5282 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.651 +05:30 ea8a52a4-8465-4eef-b592-c0c4a58aa498 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.652 +05:30 ea8a52a4-8465-4eef-b592-c0c4a58aa498 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.652 +05:30 ea8a52a4-8465-4eef-b592-c0c4a58aa498 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.654 +05:30 ea8a52a4-8465-4eef-b592-c0c4a58aa498 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.686 +05:30 766b86bb-459e-49ea-b647-6bcf48992709 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.687 +05:30 3b7f5aa5-c38f-4897-995f-ac005b67061c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.687 +05:30 766b86bb-459e-49ea-b647-6bcf48992709 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.687 +05:30 766b86bb-459e-49ea-b647-6bcf48992709 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.687 +05:30 3b7f5aa5-c38f-4897-995f-ac005b67061c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.687 +05:30 3b7f5aa5-c38f-4897-995f-ac005b67061c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.688 +05:30 766b86bb-459e-49ea-b647-6bcf48992709 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.688 +05:30 3b7f5aa5-c38f-4897-995f-ac005b67061c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.730 +05:30 390b3c17-db8c-4358-9979-0cc942cabd30 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.735 +05:30 5e8e39ca-06c1-48e4-9913-ef993527eaf1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.735 +05:30 390b3c17-db8c-4358-9979-0cc942cabd30 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.735 +05:30 390b3c17-db8c-4358-9979-0cc942cabd30 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.748 +05:30 3dbb7e0f-c894-4307-b885-565fcc84741a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.748 +05:30 395d0bad-df2f-494e-882f-1dc5d41858e8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.748 +05:30 390b3c17-db8c-4358-9979-0cc942cabd30 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.750 +05:30 3dbb7e0f-c894-4307-b885-565fcc84741a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.750 +05:30 395d0bad-df2f-494e-882f-1dc5d41858e8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.750 +05:30 3dbb7e0f-c894-4307-b885-565fcc84741a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.750 +05:30 395d0bad-df2f-494e-882f-1dc5d41858e8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.751 +05:30 395d0bad-df2f-494e-882f-1dc5d41858e8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.751 +05:30 3dbb7e0f-c894-4307-b885-565fcc84741a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.752 +05:30 5e8e39ca-06c1-48e4-9913-ef993527eaf1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.752 +05:30 5e8e39ca-06c1-48e4-9913-ef993527eaf1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.753 +05:30 5e8e39ca-06c1-48e4-9913-ef993527eaf1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.755 +05:30 2bd4c15c-878b-4cc2-bf0e-8d5d21982f0f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.756 +05:30 2bd4c15c-878b-4cc2-bf0e-8d5d21982f0f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.756 +05:30 2bd4c15c-878b-4cc2-bf0e-8d5d21982f0f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.757 +05:30 2bd4c15c-878b-4cc2-bf0e-8d5d21982f0f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.759 +05:30 6f136a2b-3d04-4919-814d-bb2cead9b674 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.759 +05:30 6f136a2b-3d04-4919-814d-bb2cead9b674 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.759 +05:30 6f136a2b-3d04-4919-814d-bb2cead9b674 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.761 +05:30 6f136a2b-3d04-4919-814d-bb2cead9b674 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.863 +05:30 0d0387f3-97a5-4e2f-992f-d6367ef07898 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.863 +05:30 8552583d-4028-432d-a051-b20185e634aa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.864 +05:30 e204352c-3a0a-425f-b0f1-94752e1c2843 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.864 +05:30 749d4d8c-347c-47ed-8c97-f9a3c2d41cad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.865 +05:30 e5b8b55f-3292-4d77-acdb-2238ffdd3f37 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.865 +05:30 e204352c-3a0a-425f-b0f1-94752e1c2843 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.865 +05:30 0d0387f3-97a5-4e2f-992f-d6367ef07898 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.865 +05:30 749d4d8c-347c-47ed-8c97-f9a3c2d41cad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.865 +05:30 e204352c-3a0a-425f-b0f1-94752e1c2843 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.865 +05:30 0d0387f3-97a5-4e2f-992f-d6367ef07898 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.866 +05:30 749d4d8c-347c-47ed-8c97-f9a3c2d41cad ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.866 +05:30 400e612a-daee-4e3f-8b39-4bd051333e0d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.866 +05:30 e5b8b55f-3292-4d77-acdb-2238ffdd3f37 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.866 +05:30 8552583d-4028-432d-a051-b20185e634aa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.866 +05:30 e5b8b55f-3292-4d77-acdb-2238ffdd3f37 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.867 +05:30 8552583d-4028-432d-a051-b20185e634aa ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.867 +05:30 749d4d8c-347c-47ed-8c97-f9a3c2d41cad ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.867 +05:30 e204352c-3a0a-425f-b0f1-94752e1c2843 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.868 +05:30 e5b8b55f-3292-4d77-acdb-2238ffdd3f37 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.868 +05:30 8552583d-4028-432d-a051-b20185e634aa ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.869 +05:30 0d0387f3-97a5-4e2f-992f-d6367ef07898 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.870 +05:30 400e612a-daee-4e3f-8b39-4bd051333e0d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.870 +05:30 400e612a-daee-4e3f-8b39-4bd051333e0d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.871 +05:30 400e612a-daee-4e3f-8b39-4bd051333e0d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.965 +05:30 e600fc5e-304f-49f7-a935-89f9aac953f3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.965 +05:30 b3caff78-b986-4704-9c9a-1499853b9206 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.966 +05:30 e600fc5e-304f-49f7-a935-89f9aac953f3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.966 +05:30 b3caff78-b986-4704-9c9a-1499853b9206 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.966 +05:30 e600fc5e-304f-49f7-a935-89f9aac953f3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.966 +05:30 b3caff78-b986-4704-9c9a-1499853b9206 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.967 +05:30 5debf5a4-1d4f-4a78-b0eb-570f7828dda3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.967 +05:30 e600fc5e-304f-49f7-a935-89f9aac953f3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.967 +05:30 b3caff78-b986-4704-9c9a-1499853b9206 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.968 +05:30 c3e80ca0-8bb5-4e41-8f49-c1574a11d2f5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.969 +05:30 4e26cb84-e7b1-42ed-9f6a-0ae65c7d010b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.970 +05:30 5debf5a4-1d4f-4a78-b0eb-570f7828dda3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.970 +05:30 63145145-6996-4d0d-91e3-c6222f52bf73 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.970 +05:30 c3e80ca0-8bb5-4e41-8f49-c1574a11d2f5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.970 +05:30 5debf5a4-1d4f-4a78-b0eb-570f7828dda3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.970 +05:30 c3e80ca0-8bb5-4e41-8f49-c1574a11d2f5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.970 +05:30 4e26cb84-e7b1-42ed-9f6a-0ae65c7d010b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.971 +05:30 4e26cb84-e7b1-42ed-9f6a-0ae65c7d010b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.971 +05:30 5debf5a4-1d4f-4a78-b0eb-570f7828dda3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.971 +05:30 c3e80ca0-8bb5-4e41-8f49-c1574a11d2f5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.971 +05:30 4e26cb84-e7b1-42ed-9f6a-0ae65c7d010b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:20.972 +05:30 63145145-6996-4d0d-91e3-c6222f52bf73 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.972 +05:30 63145145-6996-4d0d-91e3-c6222f52bf73 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:20.973 +05:30 63145145-6996-4d0d-91e3-c6222f52bf73 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.073 +05:30 ee23b3c2-e749-42b3-bd8e-8aad08d74072 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.074 +05:30 c6702704-558d-484a-ba6c-4a98010bf665 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.074 +05:30 a42a82e1-f21b-4dcf-a990-36a4814a0792 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.074 +05:30 ee23b3c2-e749-42b3-bd8e-8aad08d74072 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.074 +05:30 c6702704-558d-484a-ba6c-4a98010bf665 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.074 +05:30 ee23b3c2-e749-42b3-bd8e-8aad08d74072 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.074 +05:30 c6702704-558d-484a-ba6c-4a98010bf665 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.075 +05:30 ee23b3c2-e749-42b3-bd8e-8aad08d74072 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.075 +05:30 c6702704-558d-484a-ba6c-4a98010bf665 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.079 +05:30 1db50c9d-a529-4ee7-8f5f-a59a17f9a6d7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.079 +05:30 369a1a40-6ac7-43b8-896d-aa9f54392abb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.080 +05:30 a42a82e1-f21b-4dcf-a990-36a4814a0792 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.080 +05:30 36b1acec-9436-43a0-b54f-00a7f4fdac8b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.080 +05:30 a42a82e1-f21b-4dcf-a990-36a4814a0792 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.081 +05:30 a42a82e1-f21b-4dcf-a990-36a4814a0792 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.082 +05:30 1db50c9d-a529-4ee7-8f5f-a59a17f9a6d7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.082 +05:30 369a1a40-6ac7-43b8-896d-aa9f54392abb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.082 +05:30 36b1acec-9436-43a0-b54f-00a7f4fdac8b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.082 +05:30 369a1a40-6ac7-43b8-896d-aa9f54392abb ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.082 +05:30 36b1acec-9436-43a0-b54f-00a7f4fdac8b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.082 +05:30 1db50c9d-a529-4ee7-8f5f-a59a17f9a6d7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.083 +05:30 36b1acec-9436-43a0-b54f-00a7f4fdac8b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.083 +05:30 1db50c9d-a529-4ee7-8f5f-a59a17f9a6d7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.083 +05:30 369a1a40-6ac7-43b8-896d-aa9f54392abb ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.150 +05:30 b058bf6b-351c-4a58-9ce7-d0e35afb1dd2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.151 +05:30 539e16b2-353f-4a61-aca4-17f40a234a0b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.151 +05:30 070c1ec8-9b54-4431-9b5f-b4e9636783d9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.151 +05:30 840d8e46-d774-4e7b-9689-1cd31938e193 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.151 +05:30 b058bf6b-351c-4a58-9ce7-d0e35afb1dd2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.151 +05:30 539e16b2-353f-4a61-aca4-17f40a234a0b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.151 +05:30 070c1ec8-9b54-4431-9b5f-b4e9636783d9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.152 +05:30 b058bf6b-351c-4a58-9ce7-d0e35afb1dd2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.152 +05:30 539e16b2-353f-4a61-aca4-17f40a234a0b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.152 +05:30 562cae9b-a8e5-4a5e-ae14-3c893eafbb28 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.152 +05:30 070c1ec8-9b54-4431-9b5f-b4e9636783d9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.152 +05:30 840d8e46-d774-4e7b-9689-1cd31938e193 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.152 +05:30 840d8e46-d774-4e7b-9689-1cd31938e193 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.153 +05:30 b058bf6b-351c-4a58-9ce7-d0e35afb1dd2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.153 +05:30 539e16b2-353f-4a61-aca4-17f40a234a0b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.153 +05:30 070c1ec8-9b54-4431-9b5f-b4e9636783d9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.153 +05:30 840d8e46-d774-4e7b-9689-1cd31938e193 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.154 +05:30 562cae9b-a8e5-4a5e-ae14-3c893eafbb28 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.154 +05:30 562cae9b-a8e5-4a5e-ae14-3c893eafbb28 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.155 +05:30 562cae9b-a8e5-4a5e-ae14-3c893eafbb28 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.159 +05:30 c229733e-4ce2-4812-8c61-16d53acacd35 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.160 +05:30 c229733e-4ce2-4812-8c61-16d53acacd35 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.160 +05:30 c229733e-4ce2-4812-8c61-16d53acacd35 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.161 +05:30 c229733e-4ce2-4812-8c61-16d53acacd35 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.286 +05:30 59c4dc2b-6226-48de-9475-56036bb768f6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.287 +05:30 c34dfd25-a995-4efb-bb34-3066854dd471 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.287 +05:30 59c4dc2b-6226-48de-9475-56036bb768f6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.287 +05:30 59c4dc2b-6226-48de-9475-56036bb768f6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.287 +05:30 c34dfd25-a995-4efb-bb34-3066854dd471 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.288 +05:30 c34dfd25-a995-4efb-bb34-3066854dd471 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.288 +05:30 a8272ff6-2e55-4118-995f-6fc71001eda7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.289 +05:30 c34dfd25-a995-4efb-bb34-3066854dd471 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.289 +05:30 59c4dc2b-6226-48de-9475-56036bb768f6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.290 +05:30 1b3d2f64-a451-48ca-b8d8-44ddb95b8e71 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.290 +05:30 210e707a-0d7d-4e52-abb4-8b5846737640 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.291 +05:30 1b3d2f64-a451-48ca-b8d8-44ddb95b8e71 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.291 +05:30 81270dc6-2393-4cb1-b2d3-8676ad630ae6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.291 +05:30 1b3d2f64-a451-48ca-b8d8-44ddb95b8e71 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.291 +05:30 a8272ff6-2e55-4118-995f-6fc71001eda7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.291 +05:30 a8272ff6-2e55-4118-995f-6fc71001eda7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.292 +05:30 a8272ff6-2e55-4118-995f-6fc71001eda7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.292 +05:30 1b3d2f64-a451-48ca-b8d8-44ddb95b8e71 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.293 +05:30 210e707a-0d7d-4e52-abb4-8b5846737640 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.293 +05:30 81270dc6-2393-4cb1-b2d3-8676ad630ae6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.293 +05:30 210e707a-0d7d-4e52-abb4-8b5846737640 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.293 +05:30 81270dc6-2393-4cb1-b2d3-8676ad630ae6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.294 +05:30 81270dc6-2393-4cb1-b2d3-8676ad630ae6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.294 +05:30 210e707a-0d7d-4e52-abb4-8b5846737640 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.342 +05:30 2c6cf48b-2f77-4335-813b-f8188d141ad8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.342 +05:30 ff9b381f-207f-468e-9e54-4e83f574430f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.342 +05:30 2c6cf48b-2f77-4335-813b-f8188d141ad8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.342 +05:30 2c6cf48b-2f77-4335-813b-f8188d141ad8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.343 +05:30 ff9b381f-207f-468e-9e54-4e83f574430f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.343 +05:30 ff9b381f-207f-468e-9e54-4e83f574430f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.343 +05:30 2c6cf48b-2f77-4335-813b-f8188d141ad8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.344 +05:30 ff9b381f-207f-468e-9e54-4e83f574430f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.373 +05:30 57433703-00b4-4eae-8aef-8314f52dcf98 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.373 +05:30 224ca5ae-6213-4d66-8319-94c950f88533 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.374 +05:30 8ae99b2e-b8c9-4904-b5a3-6645dbc88eb0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.374 +05:30 224ca5ae-6213-4d66-8319-94c950f88533 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.374 +05:30 9d96a8c8-4469-46a6-9a09-ca16f68dd210 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.374 +05:30 57433703-00b4-4eae-8aef-8314f52dcf98 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.374 +05:30 8ae99b2e-b8c9-4904-b5a3-6645dbc88eb0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.374 +05:30 57433703-00b4-4eae-8aef-8314f52dcf98 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.374 +05:30 8ae99b2e-b8c9-4904-b5a3-6645dbc88eb0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.374 +05:30 224ca5ae-6213-4d66-8319-94c950f88533 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.375 +05:30 9d96a8c8-4469-46a6-9a09-ca16f68dd210 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.375 +05:30 9d96a8c8-4469-46a6-9a09-ca16f68dd210 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.375 +05:30 57433703-00b4-4eae-8aef-8314f52dcf98 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.375 +05:30 8ae99b2e-b8c9-4904-b5a3-6645dbc88eb0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.375 +05:30 224ca5ae-6213-4d66-8319-94c950f88533 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.376 +05:30 9d96a8c8-4469-46a6-9a09-ca16f68dd210 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.431 +05:30 ddc3b560-f3e0-4f09-b370-d3a4102f284e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.431 +05:30 1e3da305-3940-4d5a-a471-f2db215f9683 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.431 +05:30 161210d2-8f5e-4780-ac3f-41e0d0f67d36 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.431 +05:30 1e3da305-3940-4d5a-a471-f2db215f9683 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.432 +05:30 ddc3b560-f3e0-4f09-b370-d3a4102f284e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.432 +05:30 161210d2-8f5e-4780-ac3f-41e0d0f67d36 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.432 +05:30 1e3da305-3940-4d5a-a471-f2db215f9683 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.432 +05:30 ddc3b560-f3e0-4f09-b370-d3a4102f284e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.432 +05:30 161210d2-8f5e-4780-ac3f-41e0d0f67d36 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.433 +05:30 161210d2-8f5e-4780-ac3f-41e0d0f67d36 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.433 +05:30 ddc3b560-f3e0-4f09-b370-d3a4102f284e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.433 +05:30 1e3da305-3940-4d5a-a471-f2db215f9683 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.438 +05:30 41a79a13-34c2-46e5-b20b-e3a506311f4b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.439 +05:30 41a79a13-34c2-46e5-b20b-e3a506311f4b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.439 +05:30 41a79a13-34c2-46e5-b20b-e3a506311f4b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.440 +05:30 41a79a13-34c2-46e5-b20b-e3a506311f4b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.476 +05:30 be2945fa-8ffb-4386-a76a-5a3ab8ce21fc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.476 +05:30 be2945fa-8ffb-4386-a76a-5a3ab8ce21fc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.476 +05:30 be2945fa-8ffb-4386-a76a-5a3ab8ce21fc ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.477 +05:30 be2945fa-8ffb-4386-a76a-5a3ab8ce21fc ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.480 +05:30 0f6e93f8-74b2-41c8-8f28-1b9c00ece716 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.480 +05:30 0f6e93f8-74b2-41c8-8f28-1b9c00ece716 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.480 +05:30 0f6e93f8-74b2-41c8-8f28-1b9c00ece716 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.481 +05:30 0f6e93f8-74b2-41c8-8f28-1b9c00ece716 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.530 +05:30 2f8deba7-b9a4-4be1-8d38-0194db1cb391 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.534 +05:30 aa6a35cf-ef30-49d0-9b34-1ee3c8591a3b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.535 +05:30 aa6a35cf-ef30-49d0-9b34-1ee3c8591a3b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.535 +05:30 aa6a35cf-ef30-49d0-9b34-1ee3c8591a3b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.536 +05:30 aa6a35cf-ef30-49d0-9b34-1ee3c8591a3b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.539 +05:30 2f8deba7-b9a4-4be1-8d38-0194db1cb391 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.539 +05:30 2f8deba7-b9a4-4be1-8d38-0194db1cb391 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.540 +05:30 2f8deba7-b9a4-4be1-8d38-0194db1cb391 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.543 +05:30 435761e9-9f33-4673-ac4e-3c3d0c7a3ff6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.543 +05:30 f394bef6-d64d-4c18-b414-6148983ae2ef ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.543 +05:30 435761e9-9f33-4673-ac4e-3c3d0c7a3ff6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.544 +05:30 435761e9-9f33-4673-ac4e-3c3d0c7a3ff6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.544 +05:30 f394bef6-d64d-4c18-b414-6148983ae2ef ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.544 +05:30 f394bef6-d64d-4c18-b414-6148983ae2ef ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.545 +05:30 435761e9-9f33-4673-ac4e-3c3d0c7a3ff6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.545 +05:30 f394bef6-d64d-4c18-b414-6148983ae2ef ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.576 +05:30 08f9299e-8626-42f5-bddc-d734e569fb37 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.577 +05:30 446e07a3-0fb1-4a7d-b2a3-2b626a5ac216 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.577 +05:30 08f9299e-8626-42f5-bddc-d734e569fb37 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.577 +05:30 446e07a3-0fb1-4a7d-b2a3-2b626a5ac216 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.577 +05:30 08f9299e-8626-42f5-bddc-d734e569fb37 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.578 +05:30 446e07a3-0fb1-4a7d-b2a3-2b626a5ac216 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.579 +05:30 08f9299e-8626-42f5-bddc-d734e569fb37 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.579 +05:30 446e07a3-0fb1-4a7d-b2a3-2b626a5ac216 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.584 +05:30 8ae5e694-22cb-48fb-a91f-33c7232c958c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.585 +05:30 8ae5e694-22cb-48fb-a91f-33c7232c958c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.585 +05:30 8ae5e694-22cb-48fb-a91f-33c7232c958c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.586 +05:30 8ae5e694-22cb-48fb-a91f-33c7232c958c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.680 +05:30 246f1de0-e3c2-4bd8-b110-89f1ad6e6c6f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.680 +05:30 ebc0a510-715b-4d01-aac0-820ab8c30a09 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.681 +05:30 b8d68bd8-3688-4e29-9c95-1a047c9ed0dd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.681 +05:30 246f1de0-e3c2-4bd8-b110-89f1ad6e6c6f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.681 +05:30 0de62a78-e424-4e3a-92ca-7c1163a7926d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.681 +05:30 246f1de0-e3c2-4bd8-b110-89f1ad6e6c6f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.682 +05:30 ebc0a510-715b-4d01-aac0-820ab8c30a09 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.682 +05:30 ebc0a510-715b-4d01-aac0-820ab8c30a09 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.682 +05:30 b8d68bd8-3688-4e29-9c95-1a047c9ed0dd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.682 +05:30 0de62a78-e424-4e3a-92ca-7c1163a7926d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.682 +05:30 b8d68bd8-3688-4e29-9c95-1a047c9ed0dd ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.682 +05:30 246f1de0-e3c2-4bd8-b110-89f1ad6e6c6f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.682 +05:30 0de62a78-e424-4e3a-92ca-7c1163a7926d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.682 +05:30 ebc0a510-715b-4d01-aac0-820ab8c30a09 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.683 +05:30 b8d68bd8-3688-4e29-9c95-1a047c9ed0dd ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.683 +05:30 0de62a78-e424-4e3a-92ca-7c1163a7926d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.685 +05:30 ab4805f9-5d73-431a-98c9-eaeade057820 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.685 +05:30 4277c57d-d10e-4a88-acf8-5f495366d199 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.686 +05:30 ab4805f9-5d73-431a-98c9-eaeade057820 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.686 +05:30 ab4805f9-5d73-431a-98c9-eaeade057820 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.686 +05:30 4277c57d-d10e-4a88-acf8-5f495366d199 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.686 +05:30 4277c57d-d10e-4a88-acf8-5f495366d199 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.687 +05:30 ab4805f9-5d73-431a-98c9-eaeade057820 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.687 +05:30 4277c57d-d10e-4a88-acf8-5f495366d199 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.786 +05:30 b0b20e18-426b-43c3-b551-11ed68729338 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.787 +05:30 dfc50477-6bb1-40c0-b381-0c6d4757e0e4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.791 +05:30 b0b20e18-426b-43c3-b551-11ed68729338 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.792 +05:30 b0b20e18-426b-43c3-b551-11ed68729338 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.793 +05:30 b0b20e18-426b-43c3-b551-11ed68729338 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.797 +05:30 dfc50477-6bb1-40c0-b381-0c6d4757e0e4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.797 +05:30 dfc50477-6bb1-40c0-b381-0c6d4757e0e4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.798 +05:30 dfc50477-6bb1-40c0-b381-0c6d4757e0e4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.802 +05:30 7ad6bd75-0847-4ea6-abf1-f2a9d4335b34 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.803 +05:30 7ad6bd75-0847-4ea6-abf1-f2a9d4335b34 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.803 +05:30 dbfaae2e-eebe-4684-825c-15f79661b98f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.804 +05:30 7ad6bd75-0847-4ea6-abf1-f2a9d4335b34 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.805 +05:30 4c3f19a9-9085-4a73-a1c2-4140d350205e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.805 +05:30 dbfaae2e-eebe-4684-825c-15f79661b98f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.805 +05:30 dbfaae2e-eebe-4684-825c-15f79661b98f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.805 +05:30 7ad6bd75-0847-4ea6-abf1-f2a9d4335b34 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.806 +05:30 dbfaae2e-eebe-4684-825c-15f79661b98f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.808 +05:30 4c3f19a9-9085-4a73-a1c2-4140d350205e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.808 +05:30 4c3f19a9-9085-4a73-a1c2-4140d350205e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.808 +05:30 4c3f19a9-9085-4a73-a1c2-4140d350205e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.809 +05:30 13f63a59-1f00-45c2-afb3-71a5f46005b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.809 +05:30 13f63a59-1f00-45c2-afb3-71a5f46005b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.810 +05:30 13f63a59-1f00-45c2-afb3-71a5f46005b5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.811 +05:30 13f63a59-1f00-45c2-afb3-71a5f46005b5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.890 +05:30 359314c4-5c50-4c60-8044-1aace27d72ba ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.890 +05:30 9e324e5f-d14d-4a8b-9756-333bb624344e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.890 +05:30 4a630a9e-860c-4720-81b4-f7a3f051c251 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.891 +05:30 9f12e865-359c-4c04-8772-1b41a687d734 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.891 +05:30 359314c4-5c50-4c60-8044-1aace27d72ba ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.891 +05:30 359314c4-5c50-4c60-8044-1aace27d72ba ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.891 +05:30 4a630a9e-860c-4720-81b4-f7a3f051c251 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.891 +05:30 9e324e5f-d14d-4a8b-9756-333bb624344e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.891 +05:30 9f12e865-359c-4c04-8772-1b41a687d734 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.891 +05:30 9e324e5f-d14d-4a8b-9756-333bb624344e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.891 +05:30 9f12e865-359c-4c04-8772-1b41a687d734 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.891 +05:30 4a630a9e-860c-4720-81b4-f7a3f051c251 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.892 +05:30 359314c4-5c50-4c60-8044-1aace27d72ba ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.892 +05:30 9e324e5f-d14d-4a8b-9756-333bb624344e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.892 +05:30 9f12e865-359c-4c04-8772-1b41a687d734 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.893 +05:30 4a630a9e-860c-4720-81b4-f7a3f051c251 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.895 +05:30 07c31558-6173-4ede-bd00-b6028944c6ec ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.895 +05:30 6771a45e-7e1b-4a00-a0a5-5e63bfc71a41 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.896 +05:30 07c31558-6173-4ede-bd00-b6028944c6ec ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.896 +05:30 07c31558-6173-4ede-bd00-b6028944c6ec ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.896 +05:30 6771a45e-7e1b-4a00-a0a5-5e63bfc71a41 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.896 +05:30 6771a45e-7e1b-4a00-a0a5-5e63bfc71a41 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:21.897 +05:30 07c31558-6173-4ede-bd00-b6028944c6ec ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:21.897 +05:30 6771a45e-7e1b-4a00-a0a5-5e63bfc71a41 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:22.301 +05:30 fd24e7a9-d241-4b87-9fa2-e336bc7cf67f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:22.301 +05:30 fd24e7a9-d241-4b87-9fa2-e336bc7cf67f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:22.301 +05:30 fd24e7a9-d241-4b87-9fa2-e336bc7cf67f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:22.303 +05:30 fd24e7a9-d241-4b87-9fa2-e336bc7cf67f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:34.197 +05:30 0cd8e63a-d95e-4b63-9736-51b3f89b9644 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.199 +05:30 0cd8e63a-d95e-4b63-9736-51b3f89b9644 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.199 +05:30 0cd8e63a-d95e-4b63-9736-51b3f89b9644 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.201 +05:30 0cd8e63a-d95e-4b63-9736-51b3f89b9644 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:34.277 +05:30 6f81694f-b848-4b78-af69-476acc10aad1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.279 +05:30 6f81694f-b848-4b78-af69-476acc10aad1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.279 +05:30 6f81694f-b848-4b78-af69-476acc10aad1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.280 +05:30 6f81694f-b848-4b78-af69-476acc10aad1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:34.432 +05:30 b60dd969-009d-4eb8-bbb1-a882a7627295 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.434 +05:30 b60dd969-009d-4eb8-bbb1-a882a7627295 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.434 +05:30 b60dd969-009d-4eb8-bbb1-a882a7627295 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.435 +05:30 b60dd969-009d-4eb8-bbb1-a882a7627295 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:34.590 +05:30 a111eb3b-efb9-4f3f-9798-87cc42dcea08 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.591 +05:30 a111eb3b-efb9-4f3f-9798-87cc42dcea08 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.591 +05:30 a111eb3b-efb9-4f3f-9798-87cc42dcea08 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.592 +05:30 a111eb3b-efb9-4f3f-9798-87cc42dcea08 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:34.699 +05:30 576b2938-4839-41f4-a601-ade71dea5cb9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.699 +05:30 576b2938-4839-41f4-a601-ade71dea5cb9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.699 +05:30 576b2938-4839-41f4-a601-ade71dea5cb9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.700 +05:30 576b2938-4839-41f4-a601-ade71dea5cb9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:34.792 +05:30 e0fbe681-c8d5-4d40-a66a-a2aa5053b927 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.793 +05:30 e0fbe681-c8d5-4d40-a66a-a2aa5053b927 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.793 +05:30 e0fbe681-c8d5-4d40-a66a-a2aa5053b927 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.794 +05:30 e0fbe681-c8d5-4d40-a66a-a2aa5053b927 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:34.918 +05:30 566bbc9b-9fe0-4aed-8f71-5ddb5e93efd1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.919 +05:30 566bbc9b-9fe0-4aed-8f71-5ddb5e93efd1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.919 +05:30 566bbc9b-9fe0-4aed-8f71-5ddb5e93efd1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.921 +05:30 566bbc9b-9fe0-4aed-8f71-5ddb5e93efd1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:34.996 +05:30 678b202d-b799-496d-80ca-7a328fa1d16e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.997 +05:30 678b202d-b799-496d-80ca-7a328fa1d16e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.997 +05:30 678b202d-b799-496d-80ca-7a328fa1d16e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:34.998 +05:30 678b202d-b799-496d-80ca-7a328fa1d16e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:35.095 +05:30 245d4f62-5d50-4b7c-94d4-ea06423b63e0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.099 +05:30 245d4f62-5d50-4b7c-94d4-ea06423b63e0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.099 +05:30 245d4f62-5d50-4b7c-94d4-ea06423b63e0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.100 +05:30 245d4f62-5d50-4b7c-94d4-ea06423b63e0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:35.203 +05:30 862d1457-2816-4e00-8c34-2561842aab17 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.210 +05:30 862d1457-2816-4e00-8c34-2561842aab17 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.210 +05:30 862d1457-2816-4e00-8c34-2561842aab17 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.212 +05:30 862d1457-2816-4e00-8c34-2561842aab17 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:35.302 +05:30 24d43cc4-020c-432a-86fa-04d7979c1f65 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.303 +05:30 24d43cc4-020c-432a-86fa-04d7979c1f65 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.303 +05:30 24d43cc4-020c-432a-86fa-04d7979c1f65 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.304 +05:30 24d43cc4-020c-432a-86fa-04d7979c1f65 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:35.408 +05:30 fadfa1a2-b7ee-41c2-89a4-1e5765f80979 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.409 +05:30 fadfa1a2-b7ee-41c2-89a4-1e5765f80979 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.409 +05:30 fadfa1a2-b7ee-41c2-89a4-1e5765f80979 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.410 +05:30 fadfa1a2-b7ee-41c2-89a4-1e5765f80979 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:35.513 +05:30 2d3e4fbe-9c20-4ac2-b417-52f9ffb38177 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.514 +05:30 2d3e4fbe-9c20-4ac2-b417-52f9ffb38177 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.514 +05:30 2d3e4fbe-9c20-4ac2-b417-52f9ffb38177 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.515 +05:30 2d3e4fbe-9c20-4ac2-b417-52f9ffb38177 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:35.613 +05:30 ca9482d4-561d-45d5-a765-e269711634be ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.614 +05:30 ca9482d4-561d-45d5-a765-e269711634be ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.614 +05:30 ca9482d4-561d-45d5-a765-e269711634be ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.615 +05:30 ca9482d4-561d-45d5-a765-e269711634be ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:35.720 +05:30 0d6f06b6-4da2-4018-83d7-7f5b26b6e6ad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.721 +05:30 0d6f06b6-4da2-4018-83d7-7f5b26b6e6ad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.721 +05:30 0d6f06b6-4da2-4018-83d7-7f5b26b6e6ad ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.722 +05:30 0d6f06b6-4da2-4018-83d7-7f5b26b6e6ad ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:35.819 +05:30 0dfee73a-90b9-436d-9ec0-428a149ab47d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.821 +05:30 0dfee73a-90b9-436d-9ec0-428a149ab47d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.821 +05:30 0dfee73a-90b9-436d-9ec0-428a149ab47d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.822 +05:30 0dfee73a-90b9-436d-9ec0-428a149ab47d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:35.924 +05:30 0d53108b-926f-4b23-97d6-dfb9b2908628 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.932 +05:30 0d53108b-926f-4b23-97d6-dfb9b2908628 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.932 +05:30 0d53108b-926f-4b23-97d6-dfb9b2908628 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:35.933 +05:30 0d53108b-926f-4b23-97d6-dfb9b2908628 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:36.020 +05:30 a5820913-23e3-4941-a8cc-c85512f88e13 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.022 +05:30 a5820913-23e3-4941-a8cc-c85512f88e13 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.022 +05:30 a5820913-23e3-4941-a8cc-c85512f88e13 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.023 +05:30 a5820913-23e3-4941-a8cc-c85512f88e13 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:36.127 +05:30 d5cc60b6-cb68-4160-9ed3-b335d67eab39 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.128 +05:30 d5cc60b6-cb68-4160-9ed3-b335d67eab39 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.128 +05:30 d5cc60b6-cb68-4160-9ed3-b335d67eab39 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.129 +05:30 d5cc60b6-cb68-4160-9ed3-b335d67eab39 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:36.240 +05:30 23602d08-a464-4f5a-9aad-a286cd93f64b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.244 +05:30 23602d08-a464-4f5a-9aad-a286cd93f64b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.245 +05:30 23602d08-a464-4f5a-9aad-a286cd93f64b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.246 +05:30 23602d08-a464-4f5a-9aad-a286cd93f64b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:36.441 +05:30 726e8a99-9f57-43a5-8fdb-57511225c1db ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.443 +05:30 726e8a99-9f57-43a5-8fdb-57511225c1db ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.443 +05:30 726e8a99-9f57-43a5-8fdb-57511225c1db ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.444 +05:30 726e8a99-9f57-43a5-8fdb-57511225c1db ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:36.533 +05:30 55da7d24-0c11-4819-b783-a6d581e96b59 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.542 +05:30 55da7d24-0c11-4819-b783-a6d581e96b59 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.543 +05:30 55da7d24-0c11-4819-b783-a6d581e96b59 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:36.544 +05:30 55da7d24-0c11-4819-b783-a6d581e96b59 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.005 +05:30 ee479512-437a-4f33-a0b9-931895952f3d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.006 +05:30 ee479512-437a-4f33-a0b9-931895952f3d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.006 +05:30 ee479512-437a-4f33-a0b9-931895952f3d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.008 +05:30 ee479512-437a-4f33-a0b9-931895952f3d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.067 +05:30 b84a976f-2767-4272-8274-d048884ae60c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.068 +05:30 b84a976f-2767-4272-8274-d048884ae60c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.068 +05:30 b84a976f-2767-4272-8274-d048884ae60c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.069 +05:30 b84a976f-2767-4272-8274-d048884ae60c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.166 +05:30 9bc3e295-4125-4e9d-8cf9-470df93094be ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.167 +05:30 9bc3e295-4125-4e9d-8cf9-470df93094be ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.167 +05:30 9bc3e295-4125-4e9d-8cf9-470df93094be ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.168 +05:30 9bc3e295-4125-4e9d-8cf9-470df93094be ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.261 +05:30 cbf38600-11b2-48de-b0a3-b9f449ba5774 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.262 +05:30 cbf38600-11b2-48de-b0a3-b9f449ba5774 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.263 +05:30 cbf38600-11b2-48de-b0a3-b9f449ba5774 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.264 +05:30 cbf38600-11b2-48de-b0a3-b9f449ba5774 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.350 +05:30 099feef2-4a2b-4209-8dd9-0c4a33f6df5c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.351 +05:30 099feef2-4a2b-4209-8dd9-0c4a33f6df5c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.352 +05:30 099feef2-4a2b-4209-8dd9-0c4a33f6df5c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.353 +05:30 099feef2-4a2b-4209-8dd9-0c4a33f6df5c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.427 +05:30 9ddc8ccd-5220-4cb2-a2e2-094d2ca84a05 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.427 +05:30 9ddc8ccd-5220-4cb2-a2e2-094d2ca84a05 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.428 +05:30 9ddc8ccd-5220-4cb2-a2e2-094d2ca84a05 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.428 +05:30 9ddc8ccd-5220-4cb2-a2e2-094d2ca84a05 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.633 +05:30 5036fe81-7c3f-4d01-8b15-4dd9497f46af ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.634 +05:30 5036fe81-7c3f-4d01-8b15-4dd9497f46af ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.634 +05:30 5036fe81-7c3f-4d01-8b15-4dd9497f46af ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.634 +05:30 5036fe81-7c3f-4d01-8b15-4dd9497f46af ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.695 +05:30 c2aac015-1bc1-4f69-986b-06da2723a951 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.696 +05:30 c2aac015-1bc1-4f69-986b-06da2723a951 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.696 +05:30 c2aac015-1bc1-4f69-986b-06da2723a951 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.697 +05:30 c2aac015-1bc1-4f69-986b-06da2723a951 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.760 +05:30 dccfb728-8d69-467d-aacb-08919f89f422 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.761 +05:30 dccfb728-8d69-467d-aacb-08919f89f422 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.761 +05:30 dccfb728-8d69-467d-aacb-08919f89f422 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.762 +05:30 dccfb728-8d69-467d-aacb-08919f89f422 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.811 +05:30 bc515818-b77b-409d-9741-62416bbfb7b4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.811 +05:30 bc515818-b77b-409d-9741-62416bbfb7b4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.811 +05:30 bc515818-b77b-409d-9741-62416bbfb7b4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.812 +05:30 bc515818-b77b-409d-9741-62416bbfb7b4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.877 +05:30 71a8cb79-bf43-4ce1-8d34-3d3ed85cceb6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.878 +05:30 71a8cb79-bf43-4ce1-8d34-3d3ed85cceb6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.878 +05:30 71a8cb79-bf43-4ce1-8d34-3d3ed85cceb6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.879 +05:30 71a8cb79-bf43-4ce1-8d34-3d3ed85cceb6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:46.971 +05:30 7f49efee-1463-4733-b940-607571592bd6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.972 +05:30 7f49efee-1463-4733-b940-607571592bd6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.972 +05:30 7f49efee-1463-4733-b940-607571592bd6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:46.973 +05:30 7f49efee-1463-4733-b940-607571592bd6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.084 +05:30 2b26b299-aa0b-49c1-a209-7df809a65b43 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.086 +05:30 2b26b299-aa0b-49c1-a209-7df809a65b43 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.086 +05:30 2b26b299-aa0b-49c1-a209-7df809a65b43 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.087 +05:30 2b26b299-aa0b-49c1-a209-7df809a65b43 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.161 +05:30 ec98a51e-6f6a-4f80-91cd-7c7362148152 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.162 +05:30 ec98a51e-6f6a-4f80-91cd-7c7362148152 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.162 +05:30 ec98a51e-6f6a-4f80-91cd-7c7362148152 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.163 +05:30 ec98a51e-6f6a-4f80-91cd-7c7362148152 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.277 +05:30 789aa360-fea6-4559-a579-91d93f217ce3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.277 +05:30 789aa360-fea6-4559-a579-91d93f217ce3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.278 +05:30 789aa360-fea6-4559-a579-91d93f217ce3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.279 +05:30 789aa360-fea6-4559-a579-91d93f217ce3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.388 +05:30 14ac1faf-7ed3-4ed3-b214-242a14a19bfa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.388 +05:30 14ac1faf-7ed3-4ed3-b214-242a14a19bfa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.388 +05:30 14ac1faf-7ed3-4ed3-b214-242a14a19bfa ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.389 +05:30 14ac1faf-7ed3-4ed3-b214-242a14a19bfa ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.472 +05:30 552876ed-6dbe-475d-a990-30e7872af551 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.473 +05:30 552876ed-6dbe-475d-a990-30e7872af551 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.473 +05:30 552876ed-6dbe-475d-a990-30e7872af551 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.474 +05:30 552876ed-6dbe-475d-a990-30e7872af551 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.591 +05:30 e73665f1-6b77-4486-b856-1d0f4bd0453c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.591 +05:30 e73665f1-6b77-4486-b856-1d0f4bd0453c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.591 +05:30 e73665f1-6b77-4486-b856-1d0f4bd0453c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.592 +05:30 e73665f1-6b77-4486-b856-1d0f4bd0453c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.674 +05:30 1fa92e9b-58f6-4c24-b8dc-a6bc3b2dab63 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.679 +05:30 1fa92e9b-58f6-4c24-b8dc-a6bc3b2dab63 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.679 +05:30 1fa92e9b-58f6-4c24-b8dc-a6bc3b2dab63 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.680 +05:30 1fa92e9b-58f6-4c24-b8dc-a6bc3b2dab63 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.799 +05:30 749256c5-6ddb-43d6-a5e5-8d138f444794 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.800 +05:30 749256c5-6ddb-43d6-a5e5-8d138f444794 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.800 +05:30 749256c5-6ddb-43d6-a5e5-8d138f444794 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.801 +05:30 749256c5-6ddb-43d6-a5e5-8d138f444794 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.872 +05:30 2b89b1d6-4766-43db-aea7-acd91cd0d868 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.873 +05:30 2b89b1d6-4766-43db-aea7-acd91cd0d868 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.873 +05:30 2b89b1d6-4766-43db-aea7-acd91cd0d868 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.874 +05:30 2b89b1d6-4766-43db-aea7-acd91cd0d868 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:47.932 +05:30 89217a33-6640-48ce-b000-5efed2da10e7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.933 +05:30 89217a33-6640-48ce-b000-5efed2da10e7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.933 +05:30 89217a33-6640-48ce-b000-5efed2da10e7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:47.934 +05:30 89217a33-6640-48ce-b000-5efed2da10e7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.004 +05:30 ddfdb96e-436d-4336-b427-1f0dddfb738b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.005 +05:30 ddfdb96e-436d-4336-b427-1f0dddfb738b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.005 +05:30 ddfdb96e-436d-4336-b427-1f0dddfb738b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.006 +05:30 ddfdb96e-436d-4336-b427-1f0dddfb738b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.097 +05:30 0515d436-47f5-41bc-90d1-78d1bb417568 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.098 +05:30 0515d436-47f5-41bc-90d1-78d1bb417568 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.098 +05:30 0515d436-47f5-41bc-90d1-78d1bb417568 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.099 +05:30 0515d436-47f5-41bc-90d1-78d1bb417568 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.197 +05:30 c52d8cfa-8fa1-4be2-8d81-29440650c6e9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.198 +05:30 c52d8cfa-8fa1-4be2-8d81-29440650c6e9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.199 +05:30 c52d8cfa-8fa1-4be2-8d81-29440650c6e9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.200 +05:30 c52d8cfa-8fa1-4be2-8d81-29440650c6e9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.278 +05:30 f7458025-7af3-4281-8d34-bcc7536bdf86 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.280 +05:30 f7458025-7af3-4281-8d34-bcc7536bdf86 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.280 +05:30 f7458025-7af3-4281-8d34-bcc7536bdf86 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.282 +05:30 f7458025-7af3-4281-8d34-bcc7536bdf86 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.412 +05:30 de491dff-70f4-49cb-864b-5fe77c7dfe4a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.413 +05:30 de491dff-70f4-49cb-864b-5fe77c7dfe4a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.414 +05:30 de491dff-70f4-49cb-864b-5fe77c7dfe4a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.414 +05:30 de491dff-70f4-49cb-864b-5fe77c7dfe4a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.513 +05:30 0d4e9820-f6b0-4bb3-a047-f29a2dce813d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.513 +05:30 0d4e9820-f6b0-4bb3-a047-f29a2dce813d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.514 +05:30 0d4e9820-f6b0-4bb3-a047-f29a2dce813d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.515 +05:30 0d4e9820-f6b0-4bb3-a047-f29a2dce813d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.617 +05:30 566453cd-0293-4336-907a-ec2ebf944f72 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.618 +05:30 566453cd-0293-4336-907a-ec2ebf944f72 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.618 +05:30 566453cd-0293-4336-907a-ec2ebf944f72 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.619 +05:30 566453cd-0293-4336-907a-ec2ebf944f72 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.717 +05:30 7b1bcf5f-8c82-42ed-a4c3-70c7691fd488 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.718 +05:30 7b1bcf5f-8c82-42ed-a4c3-70c7691fd488 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.718 +05:30 7b1bcf5f-8c82-42ed-a4c3-70c7691fd488 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.719 +05:30 7b1bcf5f-8c82-42ed-a4c3-70c7691fd488 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.823 +05:30 af320c9f-ddf0-49a7-acde-dcfc46a833a4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.824 +05:30 af320c9f-ddf0-49a7-acde-dcfc46a833a4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.824 +05:30 af320c9f-ddf0-49a7-acde-dcfc46a833a4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.825 +05:30 af320c9f-ddf0-49a7-acde-dcfc46a833a4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:48.922 +05:30 bd133a5b-caa5-476f-a2b6-5fcebb99d2ad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.923 +05:30 bd133a5b-caa5-476f-a2b6-5fcebb99d2ad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.923 +05:30 bd133a5b-caa5-476f-a2b6-5fcebb99d2ad ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:48.924 +05:30 bd133a5b-caa5-476f-a2b6-5fcebb99d2ad ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.025 +05:30 6814c773-1302-4b02-b59f-50c1cdf834a3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.026 +05:30 6814c773-1302-4b02-b59f-50c1cdf834a3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.026 +05:30 6814c773-1302-4b02-b59f-50c1cdf834a3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.027 +05:30 6814c773-1302-4b02-b59f-50c1cdf834a3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.131 +05:30 3dfd9234-d78f-4f6e-b796-084201502669 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.131 +05:30 3dfd9234-d78f-4f6e-b796-084201502669 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.132 +05:30 3dfd9234-d78f-4f6e-b796-084201502669 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.133 +05:30 3dfd9234-d78f-4f6e-b796-084201502669 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.233 +05:30 b34f097f-5f0e-4645-a690-e0c7a3f0e3b2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.235 +05:30 b34f097f-5f0e-4645-a690-e0c7a3f0e3b2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.235 +05:30 b34f097f-5f0e-4645-a690-e0c7a3f0e3b2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.235 +05:30 b34f097f-5f0e-4645-a690-e0c7a3f0e3b2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.319 +05:30 8907ff6e-1ebd-4cd8-8b84-10877ada18cb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.322 +05:30 8907ff6e-1ebd-4cd8-8b84-10877ada18cb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.323 +05:30 8907ff6e-1ebd-4cd8-8b84-10877ada18cb ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.324 +05:30 8907ff6e-1ebd-4cd8-8b84-10877ada18cb ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.437 +05:30 70609f74-1318-4b44-a936-9fa703b40e02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.437 +05:30 70609f74-1318-4b44-a936-9fa703b40e02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.438 +05:30 70609f74-1318-4b44-a936-9fa703b40e02 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.439 +05:30 70609f74-1318-4b44-a936-9fa703b40e02 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.538 +05:30 fea82911-1929-4d90-9f2b-a865ded032d5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.539 +05:30 fea82911-1929-4d90-9f2b-a865ded032d5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.539 +05:30 fea82911-1929-4d90-9f2b-a865ded032d5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.540 +05:30 fea82911-1929-4d90-9f2b-a865ded032d5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.640 +05:30 f7a70aa0-e6d1-47e5-ae4d-bddd26c05e09 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.640 +05:30 f7a70aa0-e6d1-47e5-ae4d-bddd26c05e09 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.641 +05:30 f7a70aa0-e6d1-47e5-ae4d-bddd26c05e09 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.641 +05:30 f7a70aa0-e6d1-47e5-ae4d-bddd26c05e09 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.752 +05:30 169505fd-9258-44fa-b752-3f6d06445d13 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.752 +05:30 169505fd-9258-44fa-b752-3f6d06445d13 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.753 +05:30 169505fd-9258-44fa-b752-3f6d06445d13 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.754 +05:30 169505fd-9258-44fa-b752-3f6d06445d13 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.849 +05:30 5efc4254-138d-41cd-8c52-ac54c1e4bc90 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.850 +05:30 5efc4254-138d-41cd-8c52-ac54c1e4bc90 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.850 +05:30 5efc4254-138d-41cd-8c52-ac54c1e4bc90 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.851 +05:30 5efc4254-138d-41cd-8c52-ac54c1e4bc90 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:49.947 +05:30 183e0353-731f-41f5-92f0-139be7bc8faa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.948 +05:30 183e0353-731f-41f5-92f0-139be7bc8faa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.948 +05:30 183e0353-731f-41f5-92f0-139be7bc8faa ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:49.949 +05:30 183e0353-731f-41f5-92f0-139be7bc8faa ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:50.049 +05:30 c53830cb-6bfa-46bf-8837-261bbaf6c3a8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.049 +05:30 c53830cb-6bfa-46bf-8837-261bbaf6c3a8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.049 +05:30 c53830cb-6bfa-46bf-8837-261bbaf6c3a8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.050 +05:30 c53830cb-6bfa-46bf-8837-261bbaf6c3a8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:50.156 +05:30 83ddee13-2edf-4100-b55a-d39009f3e9f5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.157 +05:30 83ddee13-2edf-4100-b55a-d39009f3e9f5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.158 +05:30 83ddee13-2edf-4100-b55a-d39009f3e9f5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.159 +05:30 83ddee13-2edf-4100-b55a-d39009f3e9f5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:50.256 +05:30 4a24e561-801a-4338-9eb9-95f7cccaa76e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.257 +05:30 4a24e561-801a-4338-9eb9-95f7cccaa76e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.257 +05:30 4a24e561-801a-4338-9eb9-95f7cccaa76e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.258 +05:30 4a24e561-801a-4338-9eb9-95f7cccaa76e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:50.361 +05:30 2b695417-d1d8-4c26-8704-ac4cc77d2b19 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.362 +05:30 2b695417-d1d8-4c26-8704-ac4cc77d2b19 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.362 +05:30 2b695417-d1d8-4c26-8704-ac4cc77d2b19 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.362 +05:30 2b695417-d1d8-4c26-8704-ac4cc77d2b19 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:50.461 +05:30 77ea79e7-07cc-4cc1-9434-3c86ecec04ba ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.462 +05:30 77ea79e7-07cc-4cc1-9434-3c86ecec04ba ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.462 +05:30 77ea79e7-07cc-4cc1-9434-3c86ecec04ba ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.463 +05:30 77ea79e7-07cc-4cc1-9434-3c86ecec04ba ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:50.534 +05:30 37ab6450-12e9-4de3-9226-44d16c5f97c2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.535 +05:30 37ab6450-12e9-4de3-9226-44d16c5f97c2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.535 +05:30 37ab6450-12e9-4de3-9226-44d16c5f97c2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.537 +05:30 37ab6450-12e9-4de3-9226-44d16c5f97c2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:50.670 +05:30 6c737966-e2dc-4021-825f-fd9f2dfdd7eb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.671 +05:30 6c737966-e2dc-4021-825f-fd9f2dfdd7eb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.671 +05:30 6c737966-e2dc-4021-825f-fd9f2dfdd7eb ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:50.672 +05:30 6c737966-e2dc-4021-825f-fd9f2dfdd7eb ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.082 +05:30 37bc2042-131a-449e-92fc-d76e1d6d5277 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.083 +05:30 37bc2042-131a-449e-92fc-d76e1d6d5277 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.084 +05:30 37bc2042-131a-449e-92fc-d76e1d6d5277 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.085 +05:30 37bc2042-131a-449e-92fc-d76e1d6d5277 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.127 +05:30 89fc3276-3e36-4230-a944-7c7d21bab8af ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.128 +05:30 1ef0cb0b-6fde-42c8-b00b-266387c529a0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.128 +05:30 220650cc-d6b8-45d8-8402-33aa894e72b4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.129 +05:30 89fc3276-3e36-4230-a944-7c7d21bab8af ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.129 +05:30 1ef0cb0b-6fde-42c8-b00b-266387c529a0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.129 +05:30 89fc3276-3e36-4230-a944-7c7d21bab8af ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.129 +05:30 220650cc-d6b8-45d8-8402-33aa894e72b4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.129 +05:30 1ef0cb0b-6fde-42c8-b00b-266387c529a0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.130 +05:30 220650cc-d6b8-45d8-8402-33aa894e72b4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.130 +05:30 1ef0cb0b-6fde-42c8-b00b-266387c529a0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.130 +05:30 89fc3276-3e36-4230-a944-7c7d21bab8af ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.130 +05:30 220650cc-d6b8-45d8-8402-33aa894e72b4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.134 +05:30 badee873-a154-4d42-9364-e4ecd7462ee8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.135 +05:30 e31075fa-a52e-43e1-9723-e6e2e5669a30 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.136 +05:30 badee873-a154-4d42-9364-e4ecd7462ee8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.136 +05:30 badee873-a154-4d42-9364-e4ecd7462ee8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.136 +05:30 e31075fa-a52e-43e1-9723-e6e2e5669a30 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.137 +05:30 e31075fa-a52e-43e1-9723-e6e2e5669a30 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.138 +05:30 e31075fa-a52e-43e1-9723-e6e2e5669a30 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.138 +05:30 badee873-a154-4d42-9364-e4ecd7462ee8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.172 +05:30 00a7f976-e0db-4c60-978a-8a35429abe1a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.172 +05:30 00a7f976-e0db-4c60-978a-8a35429abe1a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.172 +05:30 00a7f976-e0db-4c60-978a-8a35429abe1a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.173 +05:30 00a7f976-e0db-4c60-978a-8a35429abe1a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.177 +05:30 6669408e-868b-496c-8c91-1231b15ea222 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.177 +05:30 6669408e-868b-496c-8c91-1231b15ea222 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.177 +05:30 6669408e-868b-496c-8c91-1231b15ea222 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.178 +05:30 6669408e-868b-496c-8c91-1231b15ea222 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.277 +05:30 8aa80b58-781f-477c-a4dd-3019ea39e321 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.278 +05:30 c46b95bf-8cdb-42d5-a3ca-545d100c0ff3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.278 +05:30 8aa80b58-781f-477c-a4dd-3019ea39e321 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.278 +05:30 28e3d248-2dbb-4914-8806-3469eefb64f7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.278 +05:30 8aa80b58-781f-477c-a4dd-3019ea39e321 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.279 +05:30 b55e4913-c4e4-41ab-9fb4-6a253352994a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.279 +05:30 c804d596-585f-414f-aede-48cd60d66c12 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.279 +05:30 fb6024e1-9a3e-4b38-b2f8-34cdf0000516 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.279 +05:30 28e3d248-2dbb-4914-8806-3469eefb64f7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.279 +05:30 b55e4913-c4e4-41ab-9fb4-6a253352994a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.280 +05:30 28e3d248-2dbb-4914-8806-3469eefb64f7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.280 +05:30 b55e4913-c4e4-41ab-9fb4-6a253352994a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.280 +05:30 c46b95bf-8cdb-42d5-a3ca-545d100c0ff3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.280 +05:30 8aa80b58-781f-477c-a4dd-3019ea39e321 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.280 +05:30 c46b95bf-8cdb-42d5-a3ca-545d100c0ff3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.281 +05:30 28e3d248-2dbb-4914-8806-3469eefb64f7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.281 +05:30 b55e4913-c4e4-41ab-9fb4-6a253352994a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.281 +05:30 c46b95bf-8cdb-42d5-a3ca-545d100c0ff3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.282 +05:30 c804d596-585f-414f-aede-48cd60d66c12 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.282 +05:30 fb6024e1-9a3e-4b38-b2f8-34cdf0000516 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.282 +05:30 fb6024e1-9a3e-4b38-b2f8-34cdf0000516 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.282 +05:30 c804d596-585f-414f-aede-48cd60d66c12 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.283 +05:30 fb6024e1-9a3e-4b38-b2f8-34cdf0000516 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.283 +05:30 c804d596-585f-414f-aede-48cd60d66c12 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.376 +05:30 31763e98-d3f5-4662-8455-87a68611b1b1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.377 +05:30 076401cb-e348-467f-9be9-d43ba1c307b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.377 +05:30 31763e98-d3f5-4662-8455-87a68611b1b1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.377 +05:30 31763e98-d3f5-4662-8455-87a68611b1b1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.378 +05:30 076401cb-e348-467f-9be9-d43ba1c307b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.378 +05:30 a1e49dbd-c179-423d-80d0-d3cc47b35c8f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.379 +05:30 076401cb-e348-467f-9be9-d43ba1c307b5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.379 +05:30 31763e98-d3f5-4662-8455-87a68611b1b1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.379 +05:30 a1e49dbd-c179-423d-80d0-d3cc47b35c8f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.379 +05:30 1bbb4532-0a1e-415d-940d-6bb6e4752320 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.379 +05:30 a1e49dbd-c179-423d-80d0-d3cc47b35c8f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.380 +05:30 076401cb-e348-467f-9be9-d43ba1c307b5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.380 +05:30 a1e49dbd-c179-423d-80d0-d3cc47b35c8f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.381 +05:30 1bbb4532-0a1e-415d-940d-6bb6e4752320 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.381 +05:30 1bbb4532-0a1e-415d-940d-6bb6e4752320 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.382 +05:30 1bbb4532-0a1e-415d-940d-6bb6e4752320 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.383 +05:30 078a6ce6-a0f8-4614-8867-50b7923790ef ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.384 +05:30 078a6ce6-a0f8-4614-8867-50b7923790ef ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.384 +05:30 078a6ce6-a0f8-4614-8867-50b7923790ef ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.385 +05:30 078a6ce6-a0f8-4614-8867-50b7923790ef ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.387 +05:30 29ae05cb-e8b3-4937-a79c-7c7f7060344e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.388 +05:30 29ae05cb-e8b3-4937-a79c-7c7f7060344e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.388 +05:30 29ae05cb-e8b3-4937-a79c-7c7f7060344e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.389 +05:30 29ae05cb-e8b3-4937-a79c-7c7f7060344e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.426 +05:30 4081305a-0693-4809-bc44-18b992609433 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.426 +05:30 4081305a-0693-4809-bc44-18b992609433 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.426 +05:30 4081305a-0693-4809-bc44-18b992609433 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.427 +05:30 4081305a-0693-4809-bc44-18b992609433 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.429 +05:30 c093d12f-5260-4d69-886a-d812252d56e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.430 +05:30 c093d12f-5260-4d69-886a-d812252d56e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.430 +05:30 c093d12f-5260-4d69-886a-d812252d56e6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.431 +05:30 c093d12f-5260-4d69-886a-d812252d56e6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.455 +05:30 f37a1e5b-e0b1-4ed2-bf8f-577c43eeacb8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.456 +05:30 4c6b4310-624f-4cb4-a025-e26005c69c02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.457 +05:30 f37a1e5b-e0b1-4ed2-bf8f-577c43eeacb8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.457 +05:30 f37a1e5b-e0b1-4ed2-bf8f-577c43eeacb8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.458 +05:30 f37a1e5b-e0b1-4ed2-bf8f-577c43eeacb8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.459 +05:30 91a62958-e7a5-471b-b2b2-ee5fe0aca051 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.459 +05:30 4c6b4310-624f-4cb4-a025-e26005c69c02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.459 +05:30 4c6b4310-624f-4cb4-a025-e26005c69c02 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.460 +05:30 4c6b4310-624f-4cb4-a025-e26005c69c02 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.460 +05:30 91a62958-e7a5-471b-b2b2-ee5fe0aca051 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.460 +05:30 91a62958-e7a5-471b-b2b2-ee5fe0aca051 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.463 +05:30 91a62958-e7a5-471b-b2b2-ee5fe0aca051 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.465 +05:30 b830a2a7-c3ea-4b02-80ad-7fa35f1b5335 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.465 +05:30 b830a2a7-c3ea-4b02-80ad-7fa35f1b5335 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.465 +05:30 b830a2a7-c3ea-4b02-80ad-7fa35f1b5335 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.466 +05:30 b830a2a7-c3ea-4b02-80ad-7fa35f1b5335 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.517 +05:30 ad51d932-1cb9-4841-ad7e-77223ad28835 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.518 +05:30 b9000d9f-b3ed-4141-9065-01f23903a249 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.518 +05:30 cdebfc03-705c-4f9f-973c-8eb35d4bae79 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.518 +05:30 ad51d932-1cb9-4841-ad7e-77223ad28835 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.518 +05:30 ad51d932-1cb9-4841-ad7e-77223ad28835 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.518 +05:30 cdebfc03-705c-4f9f-973c-8eb35d4bae79 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.518 +05:30 cdebfc03-705c-4f9f-973c-8eb35d4bae79 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.519 +05:30 ad51d932-1cb9-4841-ad7e-77223ad28835 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.519 +05:30 cdebfc03-705c-4f9f-973c-8eb35d4bae79 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.520 +05:30 b9000d9f-b3ed-4141-9065-01f23903a249 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.520 +05:30 b9000d9f-b3ed-4141-9065-01f23903a249 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.520 +05:30 b9000d9f-b3ed-4141-9065-01f23903a249 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.558 +05:30 123228b8-c2f7-4744-9af4-c07530af30ee ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.558 +05:30 2895d739-d454-4d9c-acd8-b7cc0accf530 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.558 +05:30 a992ce60-db25-4bac-b848-0c35c09701bd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.559 +05:30 123228b8-c2f7-4744-9af4-c07530af30ee ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.559 +05:30 2895d739-d454-4d9c-acd8-b7cc0accf530 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.559 +05:30 a992ce60-db25-4bac-b848-0c35c09701bd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.559 +05:30 2895d739-d454-4d9c-acd8-b7cc0accf530 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.559 +05:30 123228b8-c2f7-4744-9af4-c07530af30ee ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.560 +05:30 a992ce60-db25-4bac-b848-0c35c09701bd ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.560 +05:30 a992ce60-db25-4bac-b848-0c35c09701bd ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.560 +05:30 2895d739-d454-4d9c-acd8-b7cc0accf530 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.560 +05:30 123228b8-c2f7-4744-9af4-c07530af30ee ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.616 +05:30 365742ca-a94b-46e4-b174-952478ea4a5f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.617 +05:30 34214351-5ebf-49bc-8ea0-acd40b7bbeb8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.618 +05:30 365742ca-a94b-46e4-b174-952478ea4a5f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.618 +05:30 365742ca-a94b-46e4-b174-952478ea4a5f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.618 +05:30 430146b6-103f-4aaa-83f7-1c31022e581f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.618 +05:30 34214351-5ebf-49bc-8ea0-acd40b7bbeb8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.619 +05:30 34214351-5ebf-49bc-8ea0-acd40b7bbeb8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.619 +05:30 365742ca-a94b-46e4-b174-952478ea4a5f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.619 +05:30 34214351-5ebf-49bc-8ea0-acd40b7bbeb8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.621 +05:30 430146b6-103f-4aaa-83f7-1c31022e581f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.621 +05:30 430146b6-103f-4aaa-83f7-1c31022e581f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.622 +05:30 430146b6-103f-4aaa-83f7-1c31022e581f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.685 +05:30 98700f60-92ca-43b2-bba1-360b0af1c886 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.686 +05:30 2668b6df-62c3-48cd-b384-42ad3a486ce0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.687 +05:30 b5d0271a-0d54-4e7d-b0f4-7b48cdb139d6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.687 +05:30 98700f60-92ca-43b2-bba1-360b0af1c886 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.687 +05:30 2668b6df-62c3-48cd-b384-42ad3a486ce0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.687 +05:30 98700f60-92ca-43b2-bba1-360b0af1c886 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.687 +05:30 2668b6df-62c3-48cd-b384-42ad3a486ce0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.688 +05:30 98700f60-92ca-43b2-bba1-360b0af1c886 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.688 +05:30 2668b6df-62c3-48cd-b384-42ad3a486ce0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.689 +05:30 b5d0271a-0d54-4e7d-b0f4-7b48cdb139d6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.689 +05:30 b5d0271a-0d54-4e7d-b0f4-7b48cdb139d6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.690 +05:30 b5d0271a-0d54-4e7d-b0f4-7b48cdb139d6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.716 +05:30 b8b94efc-2399-44d6-9479-63ecbcbf3e74 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.716 +05:30 025570ed-5aab-488f-93f9-e73cb267c14f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.717 +05:30 164bb061-63f7-4fe5-9033-a7be2d527273 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.717 +05:30 b8b94efc-2399-44d6-9479-63ecbcbf3e74 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.717 +05:30 025570ed-5aab-488f-93f9-e73cb267c14f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.717 +05:30 b8b94efc-2399-44d6-9479-63ecbcbf3e74 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.717 +05:30 025570ed-5aab-488f-93f9-e73cb267c14f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.718 +05:30 025570ed-5aab-488f-93f9-e73cb267c14f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.718 +05:30 b8b94efc-2399-44d6-9479-63ecbcbf3e74 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.719 +05:30 164bb061-63f7-4fe5-9033-a7be2d527273 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.719 +05:30 164bb061-63f7-4fe5-9033-a7be2d527273 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.719 +05:30 164bb061-63f7-4fe5-9033-a7be2d527273 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.787 +05:30 bd1197ee-5965-46cd-abb7-86d607d91207 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.787 +05:30 7e73b8ef-c717-4dc5-82c2-e9cbe38e6add ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.788 +05:30 51613643-9a70-4968-b240-7954eb781520 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.788 +05:30 7e73b8ef-c717-4dc5-82c2-e9cbe38e6add ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.789 +05:30 7e73b8ef-c717-4dc5-82c2-e9cbe38e6add ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.789 +05:30 51613643-9a70-4968-b240-7954eb781520 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.789 +05:30 51613643-9a70-4968-b240-7954eb781520 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.789 +05:30 bd1197ee-5965-46cd-abb7-86d607d91207 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.789 +05:30 bd1197ee-5965-46cd-abb7-86d607d91207 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.790 +05:30 7e73b8ef-c717-4dc5-82c2-e9cbe38e6add ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.790 +05:30 51613643-9a70-4968-b240-7954eb781520 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.790 +05:30 bd1197ee-5965-46cd-abb7-86d607d91207 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.820 +05:30 fd7c9bfc-3eaa-42b5-87cd-62c48a58a804 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.821 +05:30 e153ffc0-d787-4bbc-bd95-b03293223b61 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.821 +05:30 c528951e-543c-4e90-a76d-22c645dfee50 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.821 +05:30 fd7c9bfc-3eaa-42b5-87cd-62c48a58a804 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.822 +05:30 fd7c9bfc-3eaa-42b5-87cd-62c48a58a804 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.822 +05:30 e153ffc0-d787-4bbc-bd95-b03293223b61 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.822 +05:30 c528951e-543c-4e90-a76d-22c645dfee50 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.822 +05:30 e153ffc0-d787-4bbc-bd95-b03293223b61 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.822 +05:30 c528951e-543c-4e90-a76d-22c645dfee50 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.823 +05:30 fd7c9bfc-3eaa-42b5-87cd-62c48a58a804 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.823 +05:30 c528951e-543c-4e90-a76d-22c645dfee50 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.823 +05:30 e153ffc0-d787-4bbc-bd95-b03293223b61 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.835 +05:30 41e30946-f580-418e-b7ea-9de95a404350 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.836 +05:30 41e30946-f580-418e-b7ea-9de95a404350 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.837 +05:30 41e30946-f580-418e-b7ea-9de95a404350 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.838 +05:30 41e30946-f580-418e-b7ea-9de95a404350 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.838 +05:30 95f8aad8-26b8-4a43-af3e-5ef896bd6e2f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.839 +05:30 95f8aad8-26b8-4a43-af3e-5ef896bd6e2f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.839 +05:30 95f8aad8-26b8-4a43-af3e-5ef896bd6e2f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.840 +05:30 95f8aad8-26b8-4a43-af3e-5ef896bd6e2f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.890 +05:30 94394589-c37b-4d95-8469-9d3060b763bc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.891 +05:30 94394589-c37b-4d95-8469-9d3060b763bc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.891 +05:30 94394589-c37b-4d95-8469-9d3060b763bc ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.892 +05:30 94394589-c37b-4d95-8469-9d3060b763bc ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.925 +05:30 3e034dfd-b791-4dfc-bb2e-170954001a58 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.925 +05:30 67f8cf73-0855-44d9-aca1-77f0c380a1e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.926 +05:30 3e034dfd-b791-4dfc-bb2e-170954001a58 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.926 +05:30 3e034dfd-b791-4dfc-bb2e-170954001a58 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.927 +05:30 3e034dfd-b791-4dfc-bb2e-170954001a58 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.927 +05:30 109e8953-a5be-482d-8efa-a14777f15e37 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.927 +05:30 ab9874b9-4898-44dd-99f2-d93a29f04651 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.928 +05:30 67f8cf73-0855-44d9-aca1-77f0c380a1e6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.928 +05:30 67f8cf73-0855-44d9-aca1-77f0c380a1e6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.929 +05:30 109e8953-a5be-482d-8efa-a14777f15e37 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.929 +05:30 4b4308fa-eb88-4e2b-98e9-f8eb4e3fc96d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.929 +05:30 109e8953-a5be-482d-8efa-a14777f15e37 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.929 +05:30 67f8cf73-0855-44d9-aca1-77f0c380a1e6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.930 +05:30 109e8953-a5be-482d-8efa-a14777f15e37 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.930 +05:30 ab9874b9-4898-44dd-99f2-d93a29f04651 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.931 +05:30 ab9874b9-4898-44dd-99f2-d93a29f04651 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.931 +05:30 4b4308fa-eb88-4e2b-98e9-f8eb4e3fc96d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.931 +05:30 4b4308fa-eb88-4e2b-98e9-f8eb4e3fc96d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.931 +05:30 ab9874b9-4898-44dd-99f2-d93a29f04651 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.932 +05:30 4b4308fa-eb88-4e2b-98e9-f8eb4e3fc96d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:51.994 +05:30 0dbcdb9c-ff74-4e8f-8f9f-f737db73ccb9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.994 +05:30 0dbcdb9c-ff74-4e8f-8f9f-f737db73ccb9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.994 +05:30 0dbcdb9c-ff74-4e8f-8f9f-f737db73ccb9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:51.995 +05:30 0dbcdb9c-ff74-4e8f-8f9f-f737db73ccb9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.025 +05:30 809763b1-3531-4c50-a0a3-0dc55105e228 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.025 +05:30 5f9a1dad-00ef-4567-919f-4c5240d6c002 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.026 +05:30 5f9a1dad-00ef-4567-919f-4c5240d6c002 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.026 +05:30 809763b1-3531-4c50-a0a3-0dc55105e228 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.026 +05:30 5f9a1dad-00ef-4567-919f-4c5240d6c002 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.027 +05:30 809763b1-3531-4c50-a0a3-0dc55105e228 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.027 +05:30 5f9a1dad-00ef-4567-919f-4c5240d6c002 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.028 +05:30 809763b1-3531-4c50-a0a3-0dc55105e228 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.028 +05:30 3e30ec51-254e-44c6-9831-612b79e0210c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.028 +05:30 fc7c2789-4c85-446a-bb12-41d38eaf2a73 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.028 +05:30 3e30ec51-254e-44c6-9831-612b79e0210c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.028 +05:30 3e30ec51-254e-44c6-9831-612b79e0210c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.029 +05:30 fc7c2789-4c85-446a-bb12-41d38eaf2a73 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.029 +05:30 647f77c9-6904-4748-81c4-9d55345b0b68 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.029 +05:30 fc7c2789-4c85-446a-bb12-41d38eaf2a73 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.029 +05:30 3e30ec51-254e-44c6-9831-612b79e0210c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.029 +05:30 647f77c9-6904-4748-81c4-9d55345b0b68 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.029 +05:30 647f77c9-6904-4748-81c4-9d55345b0b68 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.030 +05:30 fc7c2789-4c85-446a-bb12-41d38eaf2a73 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.030 +05:30 647f77c9-6904-4748-81c4-9d55345b0b68 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.095 +05:30 998c0970-ff19-4c88-a3ad-deefb5ec14bf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.095 +05:30 998c0970-ff19-4c88-a3ad-deefb5ec14bf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.096 +05:30 998c0970-ff19-4c88-a3ad-deefb5ec14bf ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.096 +05:30 998c0970-ff19-4c88-a3ad-deefb5ec14bf ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.128 +05:30 a5557971-d6d4-45f8-8a47-a2c685246d57 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.128 +05:30 556743dc-027c-4ecc-a73a-2c73068029c7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.129 +05:30 941cb9c4-616f-4078-a313-b7d0082e97d9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.129 +05:30 a5557971-d6d4-45f8-8a47-a2c685246d57 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.129 +05:30 556743dc-027c-4ecc-a73a-2c73068029c7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.129 +05:30 a5557971-d6d4-45f8-8a47-a2c685246d57 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.129 +05:30 556743dc-027c-4ecc-a73a-2c73068029c7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.130 +05:30 a5557971-d6d4-45f8-8a47-a2c685246d57 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.130 +05:30 556743dc-027c-4ecc-a73a-2c73068029c7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.131 +05:30 0a9e2ba1-2088-4ebd-b1f8-0b361b2905d1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.131 +05:30 941cb9c4-616f-4078-a313-b7d0082e97d9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.132 +05:30 941cb9c4-616f-4078-a313-b7d0082e97d9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.132 +05:30 e4757896-7758-45b9-a990-8cdd624a4284 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.132 +05:30 0a9e2ba1-2088-4ebd-b1f8-0b361b2905d1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.132 +05:30 0a9e2ba1-2088-4ebd-b1f8-0b361b2905d1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.133 +05:30 0a9e2ba1-2088-4ebd-b1f8-0b361b2905d1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.133 +05:30 941cb9c4-616f-4078-a313-b7d0082e97d9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.134 +05:30 e4757896-7758-45b9-a990-8cdd624a4284 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.135 +05:30 e4757896-7758-45b9-a990-8cdd624a4284 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.136 +05:30 e4757896-7758-45b9-a990-8cdd624a4284 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.206 +05:30 57610560-6d24-4664-8ea0-f5716215841b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.207 +05:30 57610560-6d24-4664-8ea0-f5716215841b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.207 +05:30 57610560-6d24-4664-8ea0-f5716215841b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.208 +05:30 57610560-6d24-4664-8ea0-f5716215841b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.241 +05:30 f3427cb1-364e-46f8-9474-b8bc3d851966 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.241 +05:30 0cee34d0-c0b1-49e1-98a3-6287cb16f058 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.242 +05:30 f3427cb1-364e-46f8-9474-b8bc3d851966 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.242 +05:30 f3427cb1-364e-46f8-9474-b8bc3d851966 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.242 +05:30 0cee34d0-c0b1-49e1-98a3-6287cb16f058 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.243 +05:30 0cee34d0-c0b1-49e1-98a3-6287cb16f058 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.243 +05:30 f3427cb1-364e-46f8-9474-b8bc3d851966 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.243 +05:30 0cee34d0-c0b1-49e1-98a3-6287cb16f058 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.245 +05:30 011be923-72cf-471b-b085-e0681bf57826 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.246 +05:30 70c32905-4295-443b-9f66-cc01dbb8bd9a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.246 +05:30 011be923-72cf-471b-b085-e0681bf57826 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.246 +05:30 9471cad0-8ec5-44f9-ba05-756d3d549da4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.246 +05:30 011be923-72cf-471b-b085-e0681bf57826 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.246 +05:30 70c32905-4295-443b-9f66-cc01dbb8bd9a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.247 +05:30 70c32905-4295-443b-9f66-cc01dbb8bd9a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.247 +05:30 011be923-72cf-471b-b085-e0681bf57826 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.247 +05:30 70c32905-4295-443b-9f66-cc01dbb8bd9a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.248 +05:30 9471cad0-8ec5-44f9-ba05-756d3d549da4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.249 +05:30 9471cad0-8ec5-44f9-ba05-756d3d549da4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.249 +05:30 9471cad0-8ec5-44f9-ba05-756d3d549da4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.300 +05:30 1ed65233-4d89-41b9-8fdb-08a9228e764b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.301 +05:30 1ed65233-4d89-41b9-8fdb-08a9228e764b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.301 +05:30 1ed65233-4d89-41b9-8fdb-08a9228e764b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.303 +05:30 1ed65233-4d89-41b9-8fdb-08a9228e764b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.335 +05:30 37956760-dfc3-429d-ad12-1a2796f21a18 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.337 +05:30 0af73212-a134-4396-abf0-e5429c2bf5c4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.337 +05:30 37956760-dfc3-429d-ad12-1a2796f21a18 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.337 +05:30 37956760-dfc3-429d-ad12-1a2796f21a18 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.337 +05:30 0af73212-a134-4396-abf0-e5429c2bf5c4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.338 +05:30 0af73212-a134-4396-abf0-e5429c2bf5c4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.338 +05:30 37956760-dfc3-429d-ad12-1a2796f21a18 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.338 +05:30 0af73212-a134-4396-abf0-e5429c2bf5c4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.339 +05:30 76d5fa37-fe51-423d-83e2-132a0551cbb3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.339 +05:30 35840e10-e759-4bc9-847e-69c4e3b9fadc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.339 +05:30 76d5fa37-fe51-423d-83e2-132a0551cbb3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.340 +05:30 5fd2c1ea-a55c-4b32-ada4-f50b4b99eaa6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.340 +05:30 76d5fa37-fe51-423d-83e2-132a0551cbb3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.340 +05:30 35840e10-e759-4bc9-847e-69c4e3b9fadc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.341 +05:30 35840e10-e759-4bc9-847e-69c4e3b9fadc ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.341 +05:30 5fd2c1ea-a55c-4b32-ada4-f50b4b99eaa6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.341 +05:30 5fd2c1ea-a55c-4b32-ada4-f50b4b99eaa6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.341 +05:30 35840e10-e759-4bc9-847e-69c4e3b9fadc ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.341 +05:30 76d5fa37-fe51-423d-83e2-132a0551cbb3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.342 +05:30 5fd2c1ea-a55c-4b32-ada4-f50b4b99eaa6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.402 +05:30 2973b36f-f8ca-4c58-81f1-1e095bd64654 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.403 +05:30 2973b36f-f8ca-4c58-81f1-1e095bd64654 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.403 +05:30 2973b36f-f8ca-4c58-81f1-1e095bd64654 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.404 +05:30 2973b36f-f8ca-4c58-81f1-1e095bd64654 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.437 +05:30 a9091d0b-06d3-4d31-850f-4dcc37ed2016 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.438 +05:30 0125cd08-d0b8-45dc-8c46-4555882cd648 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.438 +05:30 a9091d0b-06d3-4d31-850f-4dcc37ed2016 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.438 +05:30 a9091d0b-06d3-4d31-850f-4dcc37ed2016 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.439 +05:30 0125cd08-d0b8-45dc-8c46-4555882cd648 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.439 +05:30 3cc57649-1728-4355-9e7a-b82a7b9f44d9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.439 +05:30 0125cd08-d0b8-45dc-8c46-4555882cd648 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.440 +05:30 a9091d0b-06d3-4d31-850f-4dcc37ed2016 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.440 +05:30 0125cd08-d0b8-45dc-8c46-4555882cd648 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.446 +05:30 be52fef3-d515-47fe-b6f4-501c49f4c70a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.447 +05:30 3cc57649-1728-4355-9e7a-b82a7b9f44d9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.447 +05:30 2022ce7f-4aaf-47d2-a459-56b13f1468c9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.447 +05:30 3cc57649-1728-4355-9e7a-b82a7b9f44d9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.448 +05:30 3cc57649-1728-4355-9e7a-b82a7b9f44d9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.450 +05:30 be52fef3-d515-47fe-b6f4-501c49f4c70a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.450 +05:30 2022ce7f-4aaf-47d2-a459-56b13f1468c9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.450 +05:30 be52fef3-d515-47fe-b6f4-501c49f4c70a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.450 +05:30 2022ce7f-4aaf-47d2-a459-56b13f1468c9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.451 +05:30 2022ce7f-4aaf-47d2-a459-56b13f1468c9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.451 +05:30 be52fef3-d515-47fe-b6f4-501c49f4c70a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.505 +05:30 26bd541c-d6b8-4786-bead-f336ec7ec4b4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.506 +05:30 26bd541c-d6b8-4786-bead-f336ec7ec4b4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.506 +05:30 26bd541c-d6b8-4786-bead-f336ec7ec4b4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.507 +05:30 26bd541c-d6b8-4786-bead-f336ec7ec4b4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.545 +05:30 1156fe85-b391-4c66-a712-ed638085c998 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.545 +05:30 cc3dfbe7-da16-4068-9e33-f04aec5d68bc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.546 +05:30 1156fe85-b391-4c66-a712-ed638085c998 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.546 +05:30 bd37ab14-c74f-41b7-9c39-533d821684d2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.546 +05:30 1156fe85-b391-4c66-a712-ed638085c998 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.547 +05:30 1156fe85-b391-4c66-a712-ed638085c998 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.549 +05:30 bd37ab14-c74f-41b7-9c39-533d821684d2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.549 +05:30 657293cc-907c-44d9-8fb4-ca9f0f056fd5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.549 +05:30 cc3dfbe7-da16-4068-9e33-f04aec5d68bc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.549 +05:30 bd37ab14-c74f-41b7-9c39-533d821684d2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.549 +05:30 cc3dfbe7-da16-4068-9e33-f04aec5d68bc ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.550 +05:30 657293cc-907c-44d9-8fb4-ca9f0f056fd5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.550 +05:30 657293cc-907c-44d9-8fb4-ca9f0f056fd5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.550 +05:30 bd37ab14-c74f-41b7-9c39-533d821684d2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.550 +05:30 cc3dfbe7-da16-4068-9e33-f04aec5d68bc ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.550 +05:30 657293cc-907c-44d9-8fb4-ca9f0f056fd5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.583 +05:30 e02f4a5f-6b0f-454d-9985-d00598506f47 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.583 +05:30 5eb704c8-5561-46e1-82e6-db58a6b09f10 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.584 +05:30 e02f4a5f-6b0f-454d-9985-d00598506f47 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.584 +05:30 5eb704c8-5561-46e1-82e6-db58a6b09f10 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.584 +05:30 e02f4a5f-6b0f-454d-9985-d00598506f47 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.584 +05:30 5eb704c8-5561-46e1-82e6-db58a6b09f10 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.585 +05:30 e02f4a5f-6b0f-454d-9985-d00598506f47 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.585 +05:30 5eb704c8-5561-46e1-82e6-db58a6b09f10 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.608 +05:30 ecf3cdc7-bc00-4a7e-91ad-fd56f673f574 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.609 +05:30 ecf3cdc7-bc00-4a7e-91ad-fd56f673f574 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.609 +05:30 ecf3cdc7-bc00-4a7e-91ad-fd56f673f574 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.610 +05:30 ecf3cdc7-bc00-4a7e-91ad-fd56f673f574 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.642 +05:30 cf81972d-b2cb-4de3-a3a8-ce20058e8140 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.642 +05:30 88f446cc-ebd3-459a-9097-f9342c5aa47b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.642 +05:30 cf81972d-b2cb-4de3-a3a8-ce20058e8140 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.642 +05:30 cf81972d-b2cb-4de3-a3a8-ce20058e8140 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.643 +05:30 88f446cc-ebd3-459a-9097-f9342c5aa47b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.643 +05:30 4578c5b0-b540-4641-b569-c2a16e9c67f9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.643 +05:30 88f446cc-ebd3-459a-9097-f9342c5aa47b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.643 +05:30 cf81972d-b2cb-4de3-a3a8-ce20058e8140 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.643 +05:30 4578c5b0-b540-4641-b569-c2a16e9c67f9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.643 +05:30 4578c5b0-b540-4641-b569-c2a16e9c67f9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.644 +05:30 88f446cc-ebd3-459a-9097-f9342c5aa47b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.644 +05:30 4578c5b0-b540-4641-b569-c2a16e9c67f9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.689 +05:30 cd21d682-0e33-4ca7-8850-60a9214fe5c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.690 +05:30 a7194434-6b42-4695-8eb8-ee81e570c6a5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.690 +05:30 cd21d682-0e33-4ca7-8850-60a9214fe5c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.690 +05:30 a7194434-6b42-4695-8eb8-ee81e570c6a5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.691 +05:30 cd21d682-0e33-4ca7-8850-60a9214fe5c0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.691 +05:30 a7194434-6b42-4695-8eb8-ee81e570c6a5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.692 +05:30 cd21d682-0e33-4ca7-8850-60a9214fe5c0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.692 +05:30 a7194434-6b42-4695-8eb8-ee81e570c6a5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.750 +05:30 a3c8d760-f809-42ea-a913-029b07fafca4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.751 +05:30 0ad3fb45-a56d-4214-ac59-74e1dd5c046c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.752 +05:30 a3c8d760-f809-42ea-a913-029b07fafca4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.752 +05:30 0ad3fb45-a56d-4214-ac59-74e1dd5c046c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.752 +05:30 a3c8d760-f809-42ea-a913-029b07fafca4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.753 +05:30 0ad3fb45-a56d-4214-ac59-74e1dd5c046c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.753 +05:30 a3c8d760-f809-42ea-a913-029b07fafca4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.753 +05:30 0ad3fb45-a56d-4214-ac59-74e1dd5c046c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.755 +05:30 23740c3e-2cbe-4078-9473-e72e024bc2b8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.755 +05:30 615bad60-a934-4265-af85-5e84e360e627 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.756 +05:30 23740c3e-2cbe-4078-9473-e72e024bc2b8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.756 +05:30 23740c3e-2cbe-4078-9473-e72e024bc2b8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.757 +05:30 23740c3e-2cbe-4078-9473-e72e024bc2b8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.758 +05:30 615bad60-a934-4265-af85-5e84e360e627 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.758 +05:30 615bad60-a934-4265-af85-5e84e360e627 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.759 +05:30 4b41244b-e99b-4e7d-a2a1-a46d298bf85f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.759 +05:30 615bad60-a934-4265-af85-5e84e360e627 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.759 +05:30 4b41244b-e99b-4e7d-a2a1-a46d298bf85f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.760 +05:30 4b41244b-e99b-4e7d-a2a1-a46d298bf85f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.760 +05:30 4b41244b-e99b-4e7d-a2a1-a46d298bf85f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.814 +05:30 0b0de0f2-ab7a-40b5-a9ed-0d0dd69accd7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.815 +05:30 0b0de0f2-ab7a-40b5-a9ed-0d0dd69accd7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.815 +05:30 0b0de0f2-ab7a-40b5-a9ed-0d0dd69accd7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.817 +05:30 0b0de0f2-ab7a-40b5-a9ed-0d0dd69accd7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.851 +05:30 f2a1746d-3e05-4a8b-a686-fe452a7ca03c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.851 +05:30 08726cc1-5e8e-4816-9f1b-f51eafdb4771 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.852 +05:30 5fbae027-538c-4e24-b113-cb1cd0e0831f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.852 +05:30 f2a1746d-3e05-4a8b-a686-fe452a7ca03c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.852 +05:30 08726cc1-5e8e-4816-9f1b-f51eafdb4771 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.852 +05:30 f2a1746d-3e05-4a8b-a686-fe452a7ca03c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.852 +05:30 08726cc1-5e8e-4816-9f1b-f51eafdb4771 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.855 +05:30 0b18d6c6-7cfb-42ef-9964-97ccd2eb301e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.856 +05:30 f2a1746d-3e05-4a8b-a686-fe452a7ca03c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.856 +05:30 08726cc1-5e8e-4816-9f1b-f51eafdb4771 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.857 +05:30 5fbae027-538c-4e24-b113-cb1cd0e0831f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.857 +05:30 0b18d6c6-7cfb-42ef-9964-97ccd2eb301e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.857 +05:30 5fbae027-538c-4e24-b113-cb1cd0e0831f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.857 +05:30 0b18d6c6-7cfb-42ef-9964-97ccd2eb301e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.858 +05:30 5fbae027-538c-4e24-b113-cb1cd0e0831f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.858 +05:30 0b18d6c6-7cfb-42ef-9964-97ccd2eb301e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.899 +05:30 eccb32e9-9320-450c-aaa3-d28a4a74c69b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.900 +05:30 9fe7f3f9-731a-4750-a7aa-b339118444e5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.900 +05:30 eccb32e9-9320-450c-aaa3-d28a4a74c69b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.900 +05:30 eccb32e9-9320-450c-aaa3-d28a4a74c69b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.901 +05:30 eccb32e9-9320-450c-aaa3-d28a4a74c69b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.901 +05:30 9fe7f3f9-731a-4750-a7aa-b339118444e5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.901 +05:30 9fe7f3f9-731a-4750-a7aa-b339118444e5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.902 +05:30 9fe7f3f9-731a-4750-a7aa-b339118444e5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.902 +05:30 6185206f-6f8b-48d8-ac88-eb4fcb937517 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.903 +05:30 6185206f-6f8b-48d8-ac88-eb4fcb937517 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.903 +05:30 6185206f-6f8b-48d8-ac88-eb4fcb937517 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.903 +05:30 6185206f-6f8b-48d8-ac88-eb4fcb937517 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.945 +05:30 26f70d6b-aeb1-404f-a0cd-8058ac51684c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.946 +05:30 26f70d6b-aeb1-404f-a0cd-8058ac51684c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.947 +05:30 26f70d6b-aeb1-404f-a0cd-8058ac51684c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.947 +05:30 26f70d6b-aeb1-404f-a0cd-8058ac51684c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.949 +05:30 d71bb1cf-bad9-4356-9262-c7130568e425 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.949 +05:30 044998e6-f98f-4c22-83b3-6b5a458c522a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.949 +05:30 9f820736-deae-4fa0-834f-81a210cd4679 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.949 +05:30 d71bb1cf-bad9-4356-9262-c7130568e425 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.950 +05:30 d71bb1cf-bad9-4356-9262-c7130568e425 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.950 +05:30 d71bb1cf-bad9-4356-9262-c7130568e425 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.951 +05:30 044998e6-f98f-4c22-83b3-6b5a458c522a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.951 +05:30 044998e6-f98f-4c22-83b3-6b5a458c522a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.951 +05:30 9f820736-deae-4fa0-834f-81a210cd4679 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.952 +05:30 9f820736-deae-4fa0-834f-81a210cd4679 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.952 +05:30 044998e6-f98f-4c22-83b3-6b5a458c522a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.952 +05:30 7c031a32-0603-4524-99a6-048fe9a23499 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.952 +05:30 9f820736-deae-4fa0-834f-81a210cd4679 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:52.953 +05:30 7c031a32-0603-4524-99a6-048fe9a23499 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.953 +05:30 7c031a32-0603-4524-99a6-048fe9a23499 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:52.953 +05:30 7c031a32-0603-4524-99a6-048fe9a23499 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.021 +05:30 67d2e8d1-2a32-440a-b79a-cd27ee5d6295 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.021 +05:30 67d2e8d1-2a32-440a-b79a-cd27ee5d6295 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.021 +05:30 67d2e8d1-2a32-440a-b79a-cd27ee5d6295 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.022 +05:30 67d2e8d1-2a32-440a-b79a-cd27ee5d6295 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.057 +05:30 48aabba6-62c7-442e-bb65-ea972867bad3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.058 +05:30 65e8d1eb-1416-41da-addf-beda2fba2c02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.058 +05:30 48aabba6-62c7-442e-bb65-ea972867bad3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.059 +05:30 48aabba6-62c7-442e-bb65-ea972867bad3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.059 +05:30 65e8d1eb-1416-41da-addf-beda2fba2c02 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.059 +05:30 103f9d29-228f-49ef-a962-960f5eb8735f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.059 +05:30 65e8d1eb-1416-41da-addf-beda2fba2c02 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.060 +05:30 65e8d1eb-1416-41da-addf-beda2fba2c02 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.060 +05:30 48aabba6-62c7-442e-bb65-ea972867bad3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.062 +05:30 103f9d29-228f-49ef-a962-960f5eb8735f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.062 +05:30 103f9d29-228f-49ef-a962-960f5eb8735f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.063 +05:30 103f9d29-228f-49ef-a962-960f5eb8735f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.066 +05:30 060c7dfe-de6d-40c7-970a-568bc3346806 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.068 +05:30 060c7dfe-de6d-40c7-970a-568bc3346806 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.068 +05:30 b2581ce8-8254-4fd7-8b93-d459560183a6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.068 +05:30 060c7dfe-de6d-40c7-970a-568bc3346806 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.068 +05:30 b2581ce8-8254-4fd7-8b93-d459560183a6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.069 +05:30 b2581ce8-8254-4fd7-8b93-d459560183a6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.069 +05:30 060c7dfe-de6d-40c7-970a-568bc3346806 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.069 +05:30 b2581ce8-8254-4fd7-8b93-d459560183a6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.115 +05:30 64ab3848-8f81-4a20-874e-d8928e927aaa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.116 +05:30 64ab3848-8f81-4a20-874e-d8928e927aaa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.123 +05:30 64ab3848-8f81-4a20-874e-d8928e927aaa ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.124 +05:30 64ab3848-8f81-4a20-874e-d8928e927aaa ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.152 +05:30 fe301fe0-1e1e-43ea-8f79-4f0df96c5c9d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.153 +05:30 fe301fe0-1e1e-43ea-8f79-4f0df96c5c9d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.153 +05:30 fe301fe0-1e1e-43ea-8f79-4f0df96c5c9d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.154 +05:30 a395e663-39e3-4db1-9645-62b6b191de85 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.154 +05:30 fe301fe0-1e1e-43ea-8f79-4f0df96c5c9d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.155 +05:30 e372ad76-01f5-4e59-9f5a-23bd76390b63 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.155 +05:30 a395e663-39e3-4db1-9645-62b6b191de85 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.155 +05:30 6c3722e0-0980-4792-8420-3184420a8364 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.155 +05:30 a395e663-39e3-4db1-9645-62b6b191de85 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.156 +05:30 e372ad76-01f5-4e59-9f5a-23bd76390b63 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.156 +05:30 e372ad76-01f5-4e59-9f5a-23bd76390b63 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.156 +05:30 6c3722e0-0980-4792-8420-3184420a8364 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.156 +05:30 6c3722e0-0980-4792-8420-3184420a8364 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.156 +05:30 a395e663-39e3-4db1-9645-62b6b191de85 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.157 +05:30 e372ad76-01f5-4e59-9f5a-23bd76390b63 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.157 +05:30 6c3722e0-0980-4792-8420-3184420a8364 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.159 +05:30 df365520-f1fc-4189-beff-31fa05e96ab5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.159 +05:30 df365520-f1fc-4189-beff-31fa05e96ab5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.160 +05:30 df365520-f1fc-4189-beff-31fa05e96ab5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.160 +05:30 df365520-f1fc-4189-beff-31fa05e96ab5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.219 +05:30 45354e89-fc32-4ad7-9f27-54c781e48f1a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.219 +05:30 45354e89-fc32-4ad7-9f27-54c781e48f1a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.219 +05:30 45354e89-fc32-4ad7-9f27-54c781e48f1a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.220 +05:30 45354e89-fc32-4ad7-9f27-54c781e48f1a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.259 +05:30 0f42fbd9-d6de-458d-8dd9-3bd153750166 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.260 +05:30 7c36b677-24f7-4a6c-a7ef-02d3d32a07c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.261 +05:30 0f42fbd9-d6de-458d-8dd9-3bd153750166 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.261 +05:30 7c36b677-24f7-4a6c-a7ef-02d3d32a07c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.261 +05:30 0f42fbd9-d6de-458d-8dd9-3bd153750166 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.261 +05:30 7c36b677-24f7-4a6c-a7ef-02d3d32a07c0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.262 +05:30 7c36b677-24f7-4a6c-a7ef-02d3d32a07c0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.262 +05:30 0f42fbd9-d6de-458d-8dd9-3bd153750166 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.262 +05:30 755745ad-58c0-4c5f-a3b2-bac7cdc874df ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.264 +05:30 1ab92199-0f49-4671-b460-080aea275a88 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.264 +05:30 755745ad-58c0-4c5f-a3b2-bac7cdc874df ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.264 +05:30 755745ad-58c0-4c5f-a3b2-bac7cdc874df ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.265 +05:30 755745ad-58c0-4c5f-a3b2-bac7cdc874df ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.266 +05:30 1ab92199-0f49-4671-b460-080aea275a88 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.266 +05:30 1ab92199-0f49-4671-b460-080aea275a88 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.267 +05:30 1ab92199-0f49-4671-b460-080aea275a88 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.268 +05:30 77692d82-44cc-4214-b0ce-7336a5929b17 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.268 +05:30 77692d82-44cc-4214-b0ce-7336a5929b17 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.268 +05:30 77692d82-44cc-4214-b0ce-7336a5929b17 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.269 +05:30 77692d82-44cc-4214-b0ce-7336a5929b17 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.326 +05:30 ae3fc35b-17b1-465c-a64d-202046dab9e1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.327 +05:30 ae3fc35b-17b1-465c-a64d-202046dab9e1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.327 +05:30 ae3fc35b-17b1-465c-a64d-202046dab9e1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.328 +05:30 ae3fc35b-17b1-465c-a64d-202046dab9e1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.358 +05:30 b282f63f-2b76-4584-a519-16fb82083d22 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.358 +05:30 3aabf98b-dbbb-4b91-bdea-54cef63d4bd2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.358 +05:30 b282f63f-2b76-4584-a519-16fb82083d22 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.358 +05:30 b282f63f-2b76-4584-a519-16fb82083d22 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.359 +05:30 6582bfbe-cf2e-4bf2-aa50-5587b8363f11 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.359 +05:30 3aabf98b-dbbb-4b91-bdea-54cef63d4bd2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.359 +05:30 3aabf98b-dbbb-4b91-bdea-54cef63d4bd2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.359 +05:30 b282f63f-2b76-4584-a519-16fb82083d22 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.359 +05:30 6582bfbe-cf2e-4bf2-aa50-5587b8363f11 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.359 +05:30 2a9e1df0-c031-418e-b774-9f6224140bb0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.359 +05:30 6582bfbe-cf2e-4bf2-aa50-5587b8363f11 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.360 +05:30 3aabf98b-dbbb-4b91-bdea-54cef63d4bd2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.360 +05:30 2a9e1df0-c031-418e-b774-9f6224140bb0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.360 +05:30 2a9e1df0-c031-418e-b774-9f6224140bb0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.360 +05:30 6582bfbe-cf2e-4bf2-aa50-5587b8363f11 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.361 +05:30 2a9e1df0-c031-418e-b774-9f6224140bb0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.362 +05:30 3c3eb135-6c26-4c4f-8502-f7c96721bc74 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.363 +05:30 3c3eb135-6c26-4c4f-8502-f7c96721bc74 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.363 +05:30 3c3eb135-6c26-4c4f-8502-f7c96721bc74 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.363 +05:30 3c3eb135-6c26-4c4f-8502-f7c96721bc74 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.400 +05:30 a3fa42bf-e138-49aa-aafc-fed52815dce4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.400 +05:30 a3fa42bf-e138-49aa-aafc-fed52815dce4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.401 +05:30 a3fa42bf-e138-49aa-aafc-fed52815dce4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.401 +05:30 a3fa42bf-e138-49aa-aafc-fed52815dce4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.462 +05:30 b10c729d-318e-4921-99b6-6708a9a6cddb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.463 +05:30 437879ec-e775-4026-b66a-54605b2a01f0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.463 +05:30 2873eee9-1979-4b21-afb2-48ca94bb129c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.464 +05:30 b10c729d-318e-4921-99b6-6708a9a6cddb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.465 +05:30 32c505d6-d55b-4fa3-8212-c2540fa36366 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.465 +05:30 b10c729d-318e-4921-99b6-6708a9a6cddb ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.465 +05:30 b10c729d-318e-4921-99b6-6708a9a6cddb ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.468 +05:30 2873eee9-1979-4b21-afb2-48ca94bb129c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.468 +05:30 2873eee9-1979-4b21-afb2-48ca94bb129c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.469 +05:30 2873eee9-1979-4b21-afb2-48ca94bb129c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.468 +05:30 437879ec-e775-4026-b66a-54605b2a01f0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.476 +05:30 32c505d6-d55b-4fa3-8212-c2540fa36366 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.476 +05:30 437879ec-e775-4026-b66a-54605b2a01f0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.476 +05:30 32c505d6-d55b-4fa3-8212-c2540fa36366 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.477 +05:30 437879ec-e775-4026-b66a-54605b2a01f0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.477 +05:30 32c505d6-d55b-4fa3-8212-c2540fa36366 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.477 +05:30 c0b3f1f0-692e-4a83-afb5-c386b18b26c8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.478 +05:30 c0b3f1f0-692e-4a83-afb5-c386b18b26c8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.478 +05:30 c0b3f1f0-692e-4a83-afb5-c386b18b26c8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.479 +05:30 c0b3f1f0-692e-4a83-afb5-c386b18b26c8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.481 +05:30 6fa89b8a-8bf6-4968-8aee-c29f68b52f3e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.482 +05:30 6fa89b8a-8bf6-4968-8aee-c29f68b52f3e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.482 +05:30 6fa89b8a-8bf6-4968-8aee-c29f68b52f3e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.483 +05:30 6fa89b8a-8bf6-4968-8aee-c29f68b52f3e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.531 +05:30 d71092f0-2bf9-4f1a-958b-245c75bee00b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.531 +05:30 d71092f0-2bf9-4f1a-958b-245c75bee00b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.532 +05:30 d71092f0-2bf9-4f1a-958b-245c75bee00b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.532 +05:30 d71092f0-2bf9-4f1a-958b-245c75bee00b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.568 +05:30 64f76f1f-129a-48e0-a208-9f4106fbd2f6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.569 +05:30 64f76f1f-129a-48e0-a208-9f4106fbd2f6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.570 +05:30 64f76f1f-129a-48e0-a208-9f4106fbd2f6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.571 +05:30 64f76f1f-129a-48e0-a208-9f4106fbd2f6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.571 +05:30 4c516920-b086-4490-86fe-50e2d619751a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.572 +05:30 31323c18-2c26-4eff-8b0f-727bc9303017 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.572 +05:30 68e9591d-2249-4351-8375-5db1112c13c1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.573 +05:30 31323c18-2c26-4eff-8b0f-727bc9303017 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.573 +05:30 4c516920-b086-4490-86fe-50e2d619751a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.573 +05:30 31323c18-2c26-4eff-8b0f-727bc9303017 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.573 +05:30 4c516920-b086-4490-86fe-50e2d619751a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.574 +05:30 31323c18-2c26-4eff-8b0f-727bc9303017 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.574 +05:30 4c516920-b086-4490-86fe-50e2d619751a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.575 +05:30 68e9591d-2249-4351-8375-5db1112c13c1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.575 +05:30 68e9591d-2249-4351-8375-5db1112c13c1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.576 +05:30 68e9591d-2249-4351-8375-5db1112c13c1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.619 +05:30 4afffcd6-03b9-4a35-bb35-b7fc3934af22 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.620 +05:30 4afffcd6-03b9-4a35-bb35-b7fc3934af22 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.620 +05:30 4afffcd6-03b9-4a35-bb35-b7fc3934af22 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.621 +05:30 4afffcd6-03b9-4a35-bb35-b7fc3934af22 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.733 +05:30 88e9b5ef-ba1b-44ab-ba63-4d27d99aca50 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.733 +05:30 8f9ce958-95c6-42c9-915d-70a309b57fc7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.734 +05:30 02a5ac57-f4ff-4c6a-9d88-d7d5e01d423a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.734 +05:30 b369cf80-80c9-4ab9-b7a2-c36d67c45842 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.735 +05:30 20f66817-2df4-4270-9537-debe7d6da638 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.735 +05:30 88e9b5ef-ba1b-44ab-ba63-4d27d99aca50 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.735 +05:30 8f9ce958-95c6-42c9-915d-70a309b57fc7 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.736 +05:30 88e9b5ef-ba1b-44ab-ba63-4d27d99aca50 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.736 +05:30 02a5ac57-f4ff-4c6a-9d88-d7d5e01d423a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.736 +05:30 8f9ce958-95c6-42c9-915d-70a309b57fc7 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.736 +05:30 b369cf80-80c9-4ab9-b7a2-c36d67c45842 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.736 +05:30 20f66817-2df4-4270-9537-debe7d6da638 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.736 +05:30 02a5ac57-f4ff-4c6a-9d88-d7d5e01d423a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.737 +05:30 b369cf80-80c9-4ab9-b7a2-c36d67c45842 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.737 +05:30 20f66817-2df4-4270-9537-debe7d6da638 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.738 +05:30 8f9ce958-95c6-42c9-915d-70a309b57fc7 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.738 +05:30 20f66817-2df4-4270-9537-debe7d6da638 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.738 +05:30 b369cf80-80c9-4ab9-b7a2-c36d67c45842 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.738 +05:30 02a5ac57-f4ff-4c6a-9d88-d7d5e01d423a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.738 +05:30 88e9b5ef-ba1b-44ab-ba63-4d27d99aca50 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.745 +05:30 bcaae1f1-2cf1-4210-a330-9d5f8d9b0ff5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.746 +05:30 bcaae1f1-2cf1-4210-a330-9d5f8d9b0ff5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.748 +05:30 bcaae1f1-2cf1-4210-a330-9d5f8d9b0ff5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.752 +05:30 bcaae1f1-2cf1-4210-a330-9d5f8d9b0ff5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.841 +05:30 2886af80-b16a-433e-b5d7-71a9e6ddc9e5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.842 +05:30 2886af80-b16a-433e-b5d7-71a9e6ddc9e5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.842 +05:30 2886af80-b16a-433e-b5d7-71a9e6ddc9e5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.843 +05:30 7749d20e-233d-4440-92b3-f9bbe7936067 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.843 +05:30 2886af80-b16a-433e-b5d7-71a9e6ddc9e5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.844 +05:30 7749d20e-233d-4440-92b3-f9bbe7936067 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.845 +05:30 7749d20e-233d-4440-92b3-f9bbe7936067 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.846 +05:30 7749d20e-233d-4440-92b3-f9bbe7936067 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.872 +05:30 01fc0181-0469-4ff6-827d-23a50a8123f0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.873 +05:30 01fc0181-0469-4ff6-827d-23a50a8123f0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.874 +05:30 01fc0181-0469-4ff6-827d-23a50a8123f0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.875 +05:30 01fc0181-0469-4ff6-827d-23a50a8123f0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.877 +05:30 3237b159-4019-4470-929c-ef6a30c1f3ad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.878 +05:30 db454da5-0252-41ef-8ec0-a0e50cb399e1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.878 +05:30 3237b159-4019-4470-929c-ef6a30c1f3ad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.879 +05:30 3237b159-4019-4470-929c-ef6a30c1f3ad ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.879 +05:30 a5c62d12-0a3f-41f8-aa29-1843a9b28860 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.879 +05:30 db454da5-0252-41ef-8ec0-a0e50cb399e1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.879 +05:30 db454da5-0252-41ef-8ec0-a0e50cb399e1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.880 +05:30 3237b159-4019-4470-929c-ef6a30c1f3ad ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.880 +05:30 db454da5-0252-41ef-8ec0-a0e50cb399e1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.881 +05:30 a5c62d12-0a3f-41f8-aa29-1843a9b28860 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.882 +05:30 a5c62d12-0a3f-41f8-aa29-1843a9b28860 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.882 +05:30 a5c62d12-0a3f-41f8-aa29-1843a9b28860 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.936 +05:30 4ea8d2fa-195f-4771-a80e-4209532e4cad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.937 +05:30 4ea8d2fa-195f-4771-a80e-4209532e4cad ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.937 +05:30 4ea8d2fa-195f-4771-a80e-4209532e4cad ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.938 +05:30 4ea8d2fa-195f-4771-a80e-4209532e4cad ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.938 +05:30 4a523a34-7f38-49f0-8c32-22c874aae35c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.939 +05:30 4a523a34-7f38-49f0-8c32-22c874aae35c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.940 +05:30 4a523a34-7f38-49f0-8c32-22c874aae35c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.941 +05:30 4a523a34-7f38-49f0-8c32-22c874aae35c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.970 +05:30 bf4816d1-a697-43f2-911e-533845f22fed ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.970 +05:30 8fdc9b28-b6b6-49fb-bc9c-89387f7d70bd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.970 +05:30 0b6558bd-984b-4753-8894-7aa340fe2eb6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.970 +05:30 bf4816d1-a697-43f2-911e-533845f22fed ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.970 +05:30 aa05762b-a28c-41d5-8e1b-ce80414dc5c1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.970 +05:30 8fdc9b28-b6b6-49fb-bc9c-89387f7d70bd ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.971 +05:30 0b6558bd-984b-4753-8894-7aa340fe2eb6 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.971 +05:30 8fdc9b28-b6b6-49fb-bc9c-89387f7d70bd ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.971 +05:30 bf4816d1-a697-43f2-911e-533845f22fed ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.971 +05:30 0b6558bd-984b-4753-8894-7aa340fe2eb6 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.971 +05:30 aa05762b-a28c-41d5-8e1b-ce80414dc5c1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.971 +05:30 aa05762b-a28c-41d5-8e1b-ce80414dc5c1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:53.972 +05:30 0b6558bd-984b-4753-8894-7aa340fe2eb6 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.972 +05:30 8fdc9b28-b6b6-49fb-bc9c-89387f7d70bd ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.972 +05:30 bf4816d1-a697-43f2-911e-533845f22fed ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:53.972 +05:30 aa05762b-a28c-41d5-8e1b-ce80414dc5c1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.016 +05:30 4b899d7c-46b7-445b-acba-7b70560538c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.016 +05:30 4b899d7c-46b7-445b-acba-7b70560538c0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.017 +05:30 4b899d7c-46b7-445b-acba-7b70560538c0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.017 +05:30 4b899d7c-46b7-445b-acba-7b70560538c0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.017 +05:30 a6c6fad7-1791-4490-975f-96ec0e26c052 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.018 +05:30 a6c6fad7-1791-4490-975f-96ec0e26c052 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.018 +05:30 a6c6fad7-1791-4490-975f-96ec0e26c052 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.019 +05:30 a6c6fad7-1791-4490-975f-96ec0e26c052 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.082 +05:30 4ddc2071-cce8-4d92-a1cf-492298849a18 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.083 +05:30 4ddc2071-cce8-4d92-a1cf-492298849a18 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.083 +05:30 4ddc2071-cce8-4d92-a1cf-492298849a18 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.084 +05:30 19c47965-3783-47af-b29f-c0b21a8ab21e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.085 +05:30 4ddc2071-cce8-4d92-a1cf-492298849a18 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.085 +05:30 e0a408c3-bedf-468b-8860-f859ee82a314 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.086 +05:30 efa347cf-ee92-4c30-b25d-6035860d533b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.087 +05:30 685c5bd6-26aa-41b8-9421-e164181ad18e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.087 +05:30 e0a408c3-bedf-468b-8860-f859ee82a314 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.087 +05:30 19c47965-3783-47af-b29f-c0b21a8ab21e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.087 +05:30 e0a408c3-bedf-468b-8860-f859ee82a314 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.087 +05:30 19c47965-3783-47af-b29f-c0b21a8ab21e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.088 +05:30 1dd47408-ee99-471d-81eb-7a8a9ef13c42 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.088 +05:30 e0a408c3-bedf-468b-8860-f859ee82a314 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.088 +05:30 19c47965-3783-47af-b29f-c0b21a8ab21e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.088 +05:30 efa347cf-ee92-4c30-b25d-6035860d533b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.089 +05:30 efa347cf-ee92-4c30-b25d-6035860d533b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.089 +05:30 efa347cf-ee92-4c30-b25d-6035860d533b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.090 +05:30 685c5bd6-26aa-41b8-9421-e164181ad18e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.090 +05:30 1dd47408-ee99-471d-81eb-7a8a9ef13c42 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.090 +05:30 685c5bd6-26aa-41b8-9421-e164181ad18e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.090 +05:30 1dd47408-ee99-471d-81eb-7a8a9ef13c42 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.091 +05:30 685c5bd6-26aa-41b8-9421-e164181ad18e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.091 +05:30 1dd47408-ee99-471d-81eb-7a8a9ef13c42 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.173 +05:30 1c52853d-bf23-4834-a041-8259d2cc3aaa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.174 +05:30 1c52853d-bf23-4834-a041-8259d2cc3aaa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.174 +05:30 1c52853d-bf23-4834-a041-8259d2cc3aaa ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.175 +05:30 1c52853d-bf23-4834-a041-8259d2cc3aaa ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.181 +05:30 62553cfb-820c-40c2-ac89-2791ce653757 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.182 +05:30 4804a76b-dd2c-4c2b-8f97-e1c6c513544c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.182 +05:30 e3a76182-7b1d-4334-9b27-073ee77a7e43 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.182 +05:30 5ae0edac-ad4a-4656-98a8-3b6bed3f4808 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.182 +05:30 62553cfb-820c-40c2-ac89-2791ce653757 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.182 +05:30 e3a76182-7b1d-4334-9b27-073ee77a7e43 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.183 +05:30 62553cfb-820c-40c2-ac89-2791ce653757 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.183 +05:30 e3a76182-7b1d-4334-9b27-073ee77a7e43 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.183 +05:30 5ae0edac-ad4a-4656-98a8-3b6bed3f4808 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.183 +05:30 4804a76b-dd2c-4c2b-8f97-e1c6c513544c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.183 +05:30 5ae0edac-ad4a-4656-98a8-3b6bed3f4808 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.183 +05:30 4804a76b-dd2c-4c2b-8f97-e1c6c513544c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.184 +05:30 62553cfb-820c-40c2-ac89-2791ce653757 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b957f26b-785e-45df-a80e-70ae0864562d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.184 +05:30 4804a76b-dd2c-4c2b-8f97-e1c6c513544c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.184 +05:30 e3a76182-7b1d-4334-9b27-073ee77a7e43 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:8101f101-0601-4cba-9618-3196ddcc77de Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.184 +05:30 5ae0edac-ad4a-4656-98a8-3b6bed3f4808 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:ebea6eea-d256-4f6a-8fa7-8637a8a86ac7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:26:54.237 +05:30 9c8e37a7-81d3-4634-b454-2411ecf746ba ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.237 +05:30 9c8e37a7-81d3-4634-b454-2411ecf746ba ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.237 +05:30 9c8e37a7-81d3-4634-b454-2411ecf746ba ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:26:54.238 +05:30 9c8e37a7-81d3-4634-b454-2411ecf746ba ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9da22d08-3f2e-4a85-8d30-2f0e12404368 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:29:28.348 +05:30 4280b036-0893-4be4-acf6-bece1c88cd4e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:29:28.348 +05:30 4280b036-0893-4be4-acf6-bece1c88cd4e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:29:28.349 +05:30 4280b036-0893-4be4-acf6-bece1c88cd4e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:29:28.353 +05:30 4280b036-0893-4be4-acf6-bece1c88cd4e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:29:29.991 +05:30 ecc8350f-4a2e-40c7-ab43-db34b2df323a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:29:29.995 +05:30 ecc8350f-4a2e-40c7-ab43-db34b2df323a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:29:29.995 +05:30 ecc8350f-4a2e-40c7-ab43-db34b2df323a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:29:29.996 +05:30 ecc8350f-4a2e-40c7-ab43-db34b2df323a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:35:13.394 +05:30 bfd0da1e-1dd1-4347-8536-41ddbfa317e4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:35:13.396 +05:30 bfd0da1e-1dd1-4347-8536-41ddbfa317e4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:35:13.396 +05:30 bfd0da1e-1dd1-4347-8536-41ddbfa317e4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:35:13.399 +05:30 bfd0da1e-1dd1-4347-8536-41ddbfa317e4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6fd52eab-91b9-490b-b2f3-63d9e86a9066 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:38:08.059 +05:30 a94e61e6-140e-4169-a919-571b43e887ab ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:38:08.061 +05:30 a94e61e6-140e-4169-a919-571b43e887ab ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:38:08.061 +05:30 a94e61e6-140e-4169-a919-571b43e887ab ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:38:08.065 +05:30 a94e61e6-140e-4169-a919-571b43e887ab ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:a1013dd8-8350-480f-9497-ea8768d681a7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:49:34.438 +05:30 09a358d3-4c76-4661-aa7c-c15d67c1a7bf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:49:34.443 +05:30 09a358d3-4c76-4661-aa7c-c15d67c1a7bf ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:49:34.443 +05:30 09a358d3-4c76-4661-aa7c-c15d67c1a7bf ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:49:34.446 +05:30 09a358d3-4c76-4661-aa7c-c15d67c1a7bf ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:57d70b10-c9ce-4b29-ae84-37af19abdb48 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:50:06.582 +05:30 a443410a-4c8c-4607-82c4-51bccdf8bd78 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:50:06.583 +05:30 a443410a-4c8c-4607-82c4-51bccdf8bd78 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:50:06.583 +05:30 a443410a-4c8c-4607-82c4-51bccdf8bd78 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:50:06.586 +05:30 a443410a-4c8c-4607-82c4-51bccdf8bd78 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:51:52.468 +05:30 864aeae5-721b-4076-ab4a-afb73aafd795 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:51:52.469 +05:30 864aeae5-721b-4076-ab4a-afb73aafd795 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:51:52.469 +05:30 864aeae5-721b-4076-ab4a-afb73aafd795 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:51:52.471 +05:30 864aeae5-721b-4076-ab4a-afb73aafd795 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:029bbdd9-cfa7-42e3-9210-abbafed2b7a1 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:52:06.717 +05:30 8c85f86e-e023-4c54-93e5-2d42b083d08d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:52:06.719 +05:30 8c85f86e-e023-4c54-93e5-2d42b083d08d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:52:06.719 +05:30 8c85f86e-e023-4c54-93e5-2d42b083d08d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:52:06.721 +05:30 8c85f86e-e023-4c54-93e5-2d42b083d08d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:57d70b10-c9ce-4b29-ae84-37af19abdb48 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 17:57:49.543 +05:30 5bf7e578-a1c7-4e53-93ca-b6f04694bc64 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:57:49.544 +05:30 5bf7e578-a1c7-4e53-93ca-b6f04694bc64 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:57:49.544 +05:30 5bf7e578-a1c7-4e53-93ca-b6f04694bc64 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 17:57:49.547 +05:30 5bf7e578-a1c7-4e53-93ca-b6f04694bc64 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6219654a-39d6-491a-bb2a-587be1ef85cd Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 18:06:07.719 +05:30 a8d12ae8-3a4f-4a8c-87b4-0673e18cac52 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 18:06:07.729 +05:30 a8d12ae8-3a4f-4a8c-87b4-0673e18cac52 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 18:06:07.729 +05:30 a8d12ae8-3a4f-4a8c-87b4-0673e18cac52 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 18:06:07.731 +05:30 a8d12ae8-3a4f-4a8c-87b4-0673e18cac52 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:05b94679-8a69-44c0-ac0f-7d31ceb78117 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 18:16:35.337 +05:30 587a7e67-9731-4674-8535-24cc0d3f45c5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 18:16:35.342 +05:30 587a7e67-9731-4674-8535-24cc0d3f45c5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 18:16:35.342 +05:30 587a7e67-9731-4674-8535-24cc0d3f45c5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 18:16:35.345 +05:30 587a7e67-9731-4674-8535-24cc0d3f45c5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:61dc2714-a2fe-44d1-9802-919909bf3605 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 18:23:13.102 +05:30 b37d7d6c-4f1c-4492-9d1b-c958d0c47f6c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 18:23:13.109 +05:30 b37d7d6c-4f1c-4492-9d1b-c958d0c47f6c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 18:23:13.110 +05:30 b37d7d6c-4f1c-4492-9d1b-c958d0c47f6c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 18:23:13.112 +05:30 b37d7d6c-4f1c-4492-9d1b-c958d0c47f6c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:230aa35c-dbaf-4fec-9931-63a1ecd0aa26 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:22.649 +05:30 ab4bdb96-344a-4214-88d3-9d4d0056e5e4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:22.701 +05:30 ab4bdb96-344a-4214-88d3-9d4d0056e5e4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:22.702 +05:30 ab4bdb96-344a-4214-88d3-9d4d0056e5e4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:22.723 +05:30 ab4bdb96-344a-4214-88d3-9d4d0056e5e4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c8c7f0ce-c733-4abc-9602-4e34fa644bba Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:27.434 +05:30 627b4e60-6379-44d7-943d-0ec24d873e91 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:27.436 +05:30 627b4e60-6379-44d7-943d-0ec24d873e91 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:27.436 +05:30 627b4e60-6379-44d7-943d-0ec24d873e91 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:27.437 +05:30 627b4e60-6379-44d7-943d-0ec24d873e91 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c8c7f0ce-c733-4abc-9602-4e34fa644bba Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:35.062 +05:30 3013c121-8236-4a6f-82b6-f16dd8cf9410 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:35.062 +05:30 d0530d6d-c169-435e-a85c-9aa4adfa97bc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:35.063 +05:30 3013c121-8236-4a6f-82b6-f16dd8cf9410 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:35.063 +05:30 d0530d6d-c169-435e-a85c-9aa4adfa97bc ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:35.063 +05:30 3013c121-8236-4a6f-82b6-f16dd8cf9410 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:35.063 +05:30 d0530d6d-c169-435e-a85c-9aa4adfa97bc ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:35.064 +05:30 d0530d6d-c169-435e-a85c-9aa4adfa97bc ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c8c7f0ce-c733-4abc-9602-4e34fa644bba Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:35.064 +05:30 3013c121-8236-4a6f-82b6-f16dd8cf9410 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:9a276510-8023-4a21-a915-550aa5e62f05 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:48.332 +05:30 301c9955-1689-4e51-9641-1d9be8eebbe9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:48.334 +05:30 cc330779-a882-4a5f-9814-1b3c51858a1d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:48.334 +05:30 cc330779-a882-4a5f-9814-1b3c51858a1d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:48.335 +05:30 cc330779-a882-4a5f-9814-1b3c51858a1d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:48.337 +05:30 301c9955-1689-4e51-9641-1d9be8eebbe9 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:48.337 +05:30 301c9955-1689-4e51-9641-1d9be8eebbe9 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:48.337 +05:30 cc330779-a882-4a5f-9814-1b3c51858a1d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:07f94667-ffcf-4762-87ed-8a8a14fc316d Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:48.339 +05:30 301c9955-1689-4e51-9641-1d9be8eebbe9 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b45c8246-6b07-4b68-8917-e94cfdbc82fe Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:50.331 +05:30 0e23bbf6-6acd-40c9-9e6e-3a33f48488c5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:50.336 +05:30 3aa981e6-bca5-4230-a8f3-85add6945f16 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:50.336 +05:30 0e23bbf6-6acd-40c9-9e6e-3a33f48488c5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:50.336 +05:30 0e23bbf6-6acd-40c9-9e6e-3a33f48488c5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:50.337 +05:30 0e23bbf6-6acd-40c9-9e6e-3a33f48488c5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:b45c8246-6b07-4b68-8917-e94cfdbc82fe Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:50.340 +05:30 3aa981e6-bca5-4230-a8f3-85add6945f16 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:50.341 +05:30 3aa981e6-bca5-4230-a8f3-85add6945f16 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:50.342 +05:30 3aa981e6-bca5-4230-a8f3-85add6945f16 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c5ee7367-bde7-48ce-8c64-c3c0cd041e49 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:52.311 +05:30 28658ac7-19b5-4897-bcd2-f15968fec3b8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:52.311 +05:30 6e7176b9-1b73-4485-b162-f73eecc40ba8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:52.313 +05:30 6e7176b9-1b73-4485-b162-f73eecc40ba8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:52.313 +05:30 6e7176b9-1b73-4485-b162-f73eecc40ba8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:52.314 +05:30 28658ac7-19b5-4897-bcd2-f15968fec3b8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:52.314 +05:30 28658ac7-19b5-4897-bcd2-f15968fec3b8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:22:52.316 +05:30 28658ac7-19b5-4897-bcd2-f15968fec3b8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:4317491e-e6d9-4151-84e4-fdb0109e7d47 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:22:52.316 +05:30 6e7176b9-1b73-4485-b162-f73eecc40ba8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c5ee7367-bde7-48ce-8c64-c3c0cd041e49 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:23:37.161 +05:30 d88794d1-66dc-4837-969c-ff884ef5c372 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:23:37.162 +05:30 d88794d1-66dc-4837-969c-ff884ef5c372 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:23:37.162 +05:30 d88794d1-66dc-4837-969c-ff884ef5c372 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:23:37.164 +05:30 d88794d1-66dc-4837-969c-ff884ef5c372 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c8c7f0ce-c733-4abc-9602-4e34fa644bba Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:23:42.090 +05:30 7aa66235-1982-4de7-bdc9-ed0f25976cc1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:23:42.091 +05:30 7aa66235-1982-4de7-bdc9-ed0f25976cc1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:23:42.092 +05:30 7aa66235-1982-4de7-bdc9-ed0f25976cc1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:23:42.094 +05:30 7aa66235-1982-4de7-bdc9-ed0f25976cc1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:c5ee7367-bde7-48ce-8c64-c3c0cd041e49 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:28:48.753 +05:30 b35b3505-96c0-4f23-bcbd-ef1eaff5f7c8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:28:48.754 +05:30 b35b3505-96c0-4f23-bcbd-ef1eaff5f7c8 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:28:48.754 +05:30 b35b3505-96c0-4f23-bcbd-ef1eaff5f7c8 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:28:48.756 +05:30 b35b3505-96c0-4f23-bcbd-ef1eaff5f7c8 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:30d6de0c-b098-4ad8-bca7-c84d4b4f90c9 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:30:52.417 +05:30 46035dc7-543b-455b-9408-efb664896391 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:30:52.418 +05:30 46035dc7-543b-455b-9408-efb664896391 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:30:52.419 +05:30 46035dc7-543b-455b-9408-efb664896391 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:30:52.421 +05:30 46035dc7-543b-455b-9408-efb664896391 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6dc10d0f-c2ef-44d2-8928-4258a6aabecd Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:31:06.010 +05:30 a7cb90f0-6104-410d-bb05-f744e0c7a0bb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:06.016 +05:30 a7cb90f0-6104-410d-bb05-f744e0c7a0bb ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:06.017 +05:30 a7cb90f0-6104-410d-bb05-f744e0c7a0bb ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:06.018 +05:30 a7cb90f0-6104-410d-bb05-f744e0c7a0bb ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6dc10d0f-c2ef-44d2-8928-4258a6aabecd Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:31:16.189 +05:30 0e3cafce-3477-4e53-9c27-d817314bbd81 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:16.190 +05:30 0e3cafce-3477-4e53-9c27-d817314bbd81 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:16.190 +05:30 0e3cafce-3477-4e53-9c27-d817314bbd81 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:16.192 +05:30 0e3cafce-3477-4e53-9c27-d817314bbd81 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:7bc1c877-6194-4c7f-9625-3bf8c60f6587 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:31:18.822 +05:30 fec4a485-81cc-4c78-8776-0465d03d7056 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:18.823 +05:30 fec4a485-81cc-4c78-8776-0465d03d7056 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:18.823 +05:30 fec4a485-81cc-4c78-8776-0465d03d7056 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:18.825 +05:30 fec4a485-81cc-4c78-8776-0465d03d7056 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:da9a61b4-8e46-41c5-9069-cd85188f1450 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:31:45.405 +05:30 afe76ea6-0916-41fe-a0b4-b757954edeb1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:45.405 +05:30 afe76ea6-0916-41fe-a0b4-b757954edeb1 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:45.406 +05:30 afe76ea6-0916-41fe-a0b4-b757954edeb1 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:45.407 +05:30 afe76ea6-0916-41fe-a0b4-b757954edeb1 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:da9a61b4-8e46-41c5-9069-cd85188f1450 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:31:48.571 +05:30 54755f22-42f1-40a4-b167-72704fa73eaa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:48.572 +05:30 54755f22-42f1-40a4-b167-72704fa73eaa ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:48.572 +05:30 54755f22-42f1-40a4-b167-72704fa73eaa ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:31:48.573 +05:30 54755f22-42f1-40a4-b167-72704fa73eaa ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:86d4b4b0-a9a2-4719-9620-20f145a36604 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:32:06.987 +05:30 d0889c43-594a-4ef1-b234-b2416636159a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:06.989 +05:30 d0889c43-594a-4ef1-b234-b2416636159a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:06.989 +05:30 d0889c43-594a-4ef1-b234-b2416636159a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:06.991 +05:30 d0889c43-594a-4ef1-b234-b2416636159a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6dc10d0f-c2ef-44d2-8928-4258a6aabecd Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:32:36.875 +05:30 eb25e132-d2c1-46eb-a848-27b0efc5a508 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:36.876 +05:30 eb25e132-d2c1-46eb-a848-27b0efc5a508 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:36.876 +05:30 eb25e132-d2c1-46eb-a848-27b0efc5a508 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:36.880 +05:30 eb25e132-d2c1-46eb-a848-27b0efc5a508 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:30d6de0c-b098-4ad8-bca7-c84d4b4f90c9 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:32:45.841 +05:30 d52d58bd-34ed-40ca-9c3e-0b1229e38668 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:45.842 +05:30 d52d58bd-34ed-40ca-9c3e-0b1229e38668 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:45.842 +05:30 d52d58bd-34ed-40ca-9c3e-0b1229e38668 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:45.843 +05:30 d52d58bd-34ed-40ca-9c3e-0b1229e38668 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:da9a61b4-8e46-41c5-9069-cd85188f1450 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:32:47.524 +05:30 fee3beb5-ae4f-4067-9c73-c4a1d2f5cc2c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:47.525 +05:30 fee3beb5-ae4f-4067-9c73-c4a1d2f5cc2c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:47.525 +05:30 fee3beb5-ae4f-4067-9c73-c4a1d2f5cc2c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:32:47.526 +05:30 fee3beb5-ae4f-4067-9c73-c4a1d2f5cc2c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:86d4b4b0-a9a2-4719-9620-20f145a36604 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:33:04.099 +05:30 469e6921-fe42-4893-8d1e-0fa51c1b936e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:33:04.100 +05:30 469e6921-fe42-4893-8d1e-0fa51c1b936e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:33:04.100 +05:30 469e6921-fe42-4893-8d1e-0fa51c1b936e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:33:04.102 +05:30 469e6921-fe42-4893-8d1e-0fa51c1b936e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:86d4b4b0-a9a2-4719-9620-20f145a36604 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:33:41.916 +05:30 16a176c4-75d9-4665-8101-73e8f8298b6d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:33:41.918 +05:30 16a176c4-75d9-4665-8101-73e8f8298b6d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:33:41.918 +05:30 16a176c4-75d9-4665-8101-73e8f8298b6d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:33:41.919 +05:30 16a176c4-75d9-4665-8101-73e8f8298b6d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:86d4b4b0-a9a2-4719-9620-20f145a36604 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:33:44.194 +05:30 c7437d10-eb0d-4075-b3c3-857e9c3f4a73 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:33:44.194 +05:30 c7437d10-eb0d-4075-b3c3-857e9c3f4a73 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:33:44.194 +05:30 c7437d10-eb0d-4075-b3c3-857e9c3f4a73 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:33:44.196 +05:30 c7437d10-eb0d-4075-b3c3-857e9c3f4a73 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:30d6de0c-b098-4ad8-bca7-c84d4b4f90c9 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:33:47.242 +05:30 e18da520-2c13-4ff4-99ab-dbf398ab3e45 ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. 2024-04-30 21:33:47.243 +05:30 e18da520-2c13-4ff4-99ab-dbf398ab3e45 ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. 2024-04-30 21:33:47.244 +05:30 e18da520-2c13-4ff4-99ab-dbf398ab3e45 ERR Database connection error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. 2024-04-30 21:33:47.247 +05:30 e18da520-2c13-4ff4-99ab-dbf398ab3e45 ERR Upserting Role Failed System.Exception: Database connection error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass15_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 338 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:30d6de0c-b098-4ad8-bca7-c84d4b4f90c9 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.UpsertRole(Int32 roleId, String roleName, String profileId, RoleTransRightsTableType transRights, List`1 roleMaster, List`1 menuActionAddition, List`1 menuActionExclusion) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 290 at Sang.Security.WebApi.Services.RoleService.UpsertRole(Int32 roleId, String roleName, String profileId, RoleTransRightsTableType transRights, List`1 roleMaster, List`1 menuActionAddition, List`1 menuActionExclusion) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 50 at Sang.Security.WebApi.Controllers.RoleController.UpsertRole(RoleDetails roleDetails) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 253 2024-04-30 21:33:52.283 +05:30 c38273ec-3909-4e47-85e3-868c11fafa3d ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. 2024-04-30 21:33:52.283 +05:30 c38273ec-3909-4e47-85e3-868c11fafa3d ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. 2024-04-30 21:33:52.284 +05:30 c38273ec-3909-4e47-85e3-868c11fafa3d ERR Database connection error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. 2024-04-30 21:33:52.285 +05:30 c38273ec-3909-4e47-85e3-868c11fafa3d ERR Upserting Role Failed System.Exception: Database connection error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass15_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 338 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:30d6de0c-b098-4ad8-bca7-c84d4b4f90c9 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.UpsertRole(Int32 roleId, String roleName, String profileId, RoleTransRightsTableType transRights, List`1 roleMaster, List`1 menuActionAddition, List`1 menuActionExclusion) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 290 at Sang.Security.WebApi.Services.RoleService.UpsertRole(Int32 roleId, String roleName, String profileId, RoleTransRightsTableType transRights, List`1 roleMaster, List`1 menuActionAddition, List`1 menuActionExclusion) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 50 at Sang.Security.WebApi.Controllers.RoleController.UpsertRole(RoleDetails roleDetails) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 253 2024-04-30 21:34:29.158 +05:30 86d22ff4-7cc6-48aa-a0dc-382c0a1ce72d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:34:29.158 +05:30 86d22ff4-7cc6-48aa-a0dc-382c0a1ce72d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:34:29.159 +05:30 86d22ff4-7cc6-48aa-a0dc-382c0a1ce72d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:34:29.160 +05:30 86d22ff4-7cc6-48aa-a0dc-382c0a1ce72d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:30d6de0c-b098-4ad8-bca7-c84d4b4f90c9 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:34:47.240 +05:30 91ae6b39-b197-4184-9343-9345036a41f4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:34:47.241 +05:30 91ae6b39-b197-4184-9343-9345036a41f4 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:34:47.241 +05:30 91ae6b39-b197-4184-9343-9345036a41f4 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 21:34:47.243 +05:30 91ae6b39-b197-4184-9343-9345036a41f4 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:86d4b4b0-a9a2-4719-9620-20f145a36604 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 21:35:09.094 +05:30 a8c5d1ad-c6a7-472b-a7ea-c1b693fd7874 ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. 2024-04-30 21:35:09.095 +05:30 a8c5d1ad-c6a7-472b-a7ea-c1b693fd7874 ERR The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. 2024-04-30 21:35:09.096 +05:30 a8c5d1ad-c6a7-472b-a7ea-c1b693fd7874 ERR Database connection error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. 2024-04-30 21:35:09.097 +05:30 a8c5d1ad-c6a7-472b-a7ea-c1b693fd7874 ERR Upserting Role Failed System.Exception: Database connection error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. The statement has been terminated. ---> System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_t_m_RolesMasters_t_m_Masters". The conflict occurred in database "SANG_01", table "dbo.t_m_Masters", column 'iId'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass15_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 338 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:7bc1c877-6194-4c7f-9625-3bf8c60f6587 Error Number:547,State:0,Class:16 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.UpsertRole(Int32 roleId, String roleName, String profileId, RoleTransRightsTableType transRights, List`1 roleMaster, List`1 menuActionAddition, List`1 menuActionExclusion) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 290 at Sang.Security.WebApi.Services.RoleService.UpsertRole(Int32 roleId, String roleName, String profileId, RoleTransRightsTableType transRights, List`1 roleMaster, List`1 menuActionAddition, List`1 menuActionExclusion) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 50 at Sang.Security.WebApi.Controllers.RoleController.UpsertRole(RoleDetails roleDetails) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 253 2024-04-30 21:41:10.341 +05:30 09d9221e-3ea5-4185-ad0b-90b7a217c5a2 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 21:41:10.582 +05:30 6aed5c74-d9a9-41db-ae4d-0f869eed1788 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 21:41:10.730 +05:30 2e1eb2a3-b279-45fb-9d98-d9b48b95fcaf ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 21:41:10.976 +05:30 b1cde5dc-f5dd-4e25-8b81-cf8a848a68de ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 21:56:58.837 +05:30 60a30ca6-5275-4c1a-a9f9-da77a8a3f839 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 21:56:58.965 +05:30 587dc658-c3fa-4383-af57-57c07fb53e28 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 21:56:59.088 +05:30 374623e1-1e42-4e53-9cec-402f8c7a2090 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 21:56:59.206 +05:30 717bf8e6-5048-41b2-a63b-c30571f4686a ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:02:04.028 +05:30 14b1e2ab-de36-468f-9ef7-ec2d4ff2a3b3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:04.029 +05:30 14b1e2ab-de36-468f-9ef7-ec2d4ff2a3b3 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:04.030 +05:30 14b1e2ab-de36-468f-9ef7-ec2d4ff2a3b3 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:04.033 +05:30 14b1e2ab-de36-468f-9ef7-ec2d4ff2a3b3 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:3aa99d59-9eb8-41b6-8048-f71cc4ee0105 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:02:10.062 +05:30 04a9f872-21fc-41d2-bb6c-a222efcbf02e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:10.063 +05:30 04a9f872-21fc-41d2-bb6c-a222efcbf02e ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:10.063 +05:30 04a9f872-21fc-41d2-bb6c-a222efcbf02e ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:10.064 +05:30 04a9f872-21fc-41d2-bb6c-a222efcbf02e ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:3aa99d59-9eb8-41b6-8048-f71cc4ee0105 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:02:45.475 +05:30 deb49db6-09bb-4500-952c-7331e0233a8a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:45.476 +05:30 deb49db6-09bb-4500-952c-7331e0233a8a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:45.476 +05:30 deb49db6-09bb-4500-952c-7331e0233a8a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:45.478 +05:30 deb49db6-09bb-4500-952c-7331e0233a8a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:3aa99d59-9eb8-41b6-8048-f71cc4ee0105 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:02:52.665 +05:30 47672f23-553e-4fee-b64c-ac572db60f42 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:52.665 +05:30 47672f23-553e-4fee-b64c-ac572db60f42 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:52.666 +05:30 47672f23-553e-4fee-b64c-ac572db60f42 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:02:52.667 +05:30 47672f23-553e-4fee-b64c-ac572db60f42 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:3aa99d59-9eb8-41b6-8048-f71cc4ee0105 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:03:46.110 +05:30 2a95e1d8-fae4-479a-a865-5fc70849361b ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.174 +05:30 a09b20c4-be05-4982-a8d9-f1af7a7510f4 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.178 +05:30 542b10be-54a6-41db-ad8f-276bda084370 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.182 +05:30 0feecc14-62e3-4cf3-8a50-59f848cbbb49 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.186 +05:30 d5e34048-c190-4171-899a-db8eae51e3c0 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.243 +05:30 627e93d0-a13e-424a-a5fa-76aca7870044 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.243 +05:30 12e1abba-6c5b-454f-a987-5c0e7e0b4628 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.247 +05:30 600e617f-4b44-4d27-9473-5bf45af3fecb ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.252 +05:30 2106b88a-47e0-4034-9fec-816d484063a5 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.333 +05:30 c4661c87-4cc2-4c4c-824a-0fc4d9cd579c ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.333 +05:30 4edc625a-c40c-4755-9b48-397e95e7a6cc ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.453 +05:30 a0a74216-02e9-4463-ada4-07a34f7bf5d9 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.453 +05:30 3dc40fce-d6c7-40c8-b1ed-02c3ad3106b0 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.453 +05:30 b3bb1b59-a3c7-42ca-8c60-6859573b9187 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.455 +05:30 ef82f036-e7b5-4f54-82fc-6ae1c592acf0 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.456 +05:30 d2b5de88-8eb2-4c3d-ae8f-ae5574d93302 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.457 +05:30 7ca4c10d-db7c-41a4-ab2a-60591f55c30c ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.607 +05:30 d85b075c-a356-42b1-82b3-4c08fd188cb5 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.607 +05:30 0f236d28-3545-4f6c-8425-81e43b75b167 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.607 +05:30 92ea7f41-8de5-4070-baf9-8d85b32e44c2 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.611 +05:30 97b8fcd3-52b7-4335-a21e-337221a5ac3b ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.611 +05:30 a6c4a5eb-2e69-4c58-bc67-40cd4d5af1f7 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.611 +05:30 8495c00e-6a5b-4933-a657-b6bab6887f49 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.665 +05:30 b56e6557-fde0-4c43-9a40-804f157d42a8 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.666 +05:30 798ea396-eb35-4e32-a4ad-dfdad4cd40d7 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.666 +05:30 584a31c1-143f-4ffd-be3a-34039392eb33 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.666 +05:30 70249667-8453-420c-a569-2a3a42a471ac ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.817 +05:30 97b193fa-f081-4854-8203-3cc8b0f6e2e1 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.817 +05:30 1a9ca2e8-2149-4859-b9be-44e4437507ee ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.817 +05:30 d38186b0-e02d-4cd7-8701-6204223aa255 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:03:47.818 +05:30 480d8b09-4f01-446f-a501-c51a85a68729 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:31:40.264 +05:30 96d5c202-3edf-4727-b0a1-d2b9b3cadc9b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:31:40.265 +05:30 96d5c202-3edf-4727-b0a1-d2b9b3cadc9b ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:31:40.265 +05:30 96d5c202-3edf-4727-b0a1-d2b9b3cadc9b ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:31:40.267 +05:30 96d5c202-3edf-4727-b0a1-d2b9b3cadc9b ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:78b02c69-3b9c-4ab2-85ab-c0b8247c67c2 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:31:43.081 +05:30 d5c9f4a1-398e-4736-814f-b52aee81ca3c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:31:43.082 +05:30 d5c9f4a1-398e-4736-814f-b52aee81ca3c ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:31:43.082 +05:30 d5c9f4a1-398e-4736-814f-b52aee81ca3c ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:31:43.083 +05:30 d5c9f4a1-398e-4736-814f-b52aee81ca3c ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:78b02c69-3b9c-4ab2-85ab-c0b8247c67c2 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:32:00.182 +05:30 2cdf1ceb-6a8a-4f18-ac01-af529f6b73e0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:32:00.183 +05:30 2cdf1ceb-6a8a-4f18-ac01-af529f6b73e0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:32:00.183 +05:30 2cdf1ceb-6a8a-4f18-ac01-af529f6b73e0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:32:00.184 +05:30 2cdf1ceb-6a8a-4f18-ac01-af529f6b73e0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:db5907b3-5fa9-4b76-87a5-92f2d123d8f0 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:32:02.230 +05:30 d9eb8fab-248f-4cc6-be3a-51a7c315e901 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:32:02.231 +05:30 d9eb8fab-248f-4cc6-be3a-51a7c315e901 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:32:02.231 +05:30 d9eb8fab-248f-4cc6-be3a-51a7c315e901 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:32:02.232 +05:30 d9eb8fab-248f-4cc6-be3a-51a7c315e901 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:778900a1-ae15-48e4-9c86-ceef46ccc3f4 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:35:47.099 +05:30 2644e6fd-cca7-4c1b-a607-de359a8733ea ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:35:47.100 +05:30 2644e6fd-cca7-4c1b-a607-de359a8733ea ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:35:47.100 +05:30 2644e6fd-cca7-4c1b-a607-de359a8733ea ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:35:47.102 +05:30 2644e6fd-cca7-4c1b-a607-de359a8733ea ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:778900a1-ae15-48e4-9c86-ceef46ccc3f4 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:35:59.153 +05:30 650e848b-7fbd-4646-8f37-5e107673070d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:35:59.153 +05:30 650e848b-7fbd-4646-8f37-5e107673070d ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:35:59.154 +05:30 650e848b-7fbd-4646-8f37-5e107673070d ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:35:59.155 +05:30 650e848b-7fbd-4646-8f37-5e107673070d ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:778900a1-ae15-48e4-9c86-ceef46ccc3f4 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:36:13.552 +05:30 b7c438e4-8abe-4d84-8e4b-04e03b7774b2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:36:13.553 +05:30 b7c438e4-8abe-4d84-8e4b-04e03b7774b2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:36:13.553 +05:30 b7c438e4-8abe-4d84-8e4b-04e03b7774b2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:36:13.555 +05:30 b7c438e4-8abe-4d84-8e4b-04e03b7774b2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:778900a1-ae15-48e4-9c86-ceef46ccc3f4 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:36:55.059 +05:30 3ec4c6f9-a349-41c1-b31f-c055471a562a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:36:55.060 +05:30 3ec4c6f9-a349-41c1-b31f-c055471a562a ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:36:55.060 +05:30 3ec4c6f9-a349-41c1-b31f-c055471a562a ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:36:55.062 +05:30 3ec4c6f9-a349-41c1-b31f-c055471a562a ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:778900a1-ae15-48e4-9c86-ceef46ccc3f4 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:37:09.197 +05:30 28600026-f35a-420d-9e7e-e60a67d6efe2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:37:09.197 +05:30 28600026-f35a-420d-9e7e-e60a67d6efe2 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:37:09.197 +05:30 28600026-f35a-420d-9e7e-e60a67d6efe2 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:37:09.199 +05:30 28600026-f35a-420d-9e7e-e60a67d6efe2 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:778900a1-ae15-48e4-9c86-ceef46ccc3f4 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:45:15.104 +05:30 03ea187f-55fe-40a3-b907-6275b4ff777f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:45:15.105 +05:30 03ea187f-55fe-40a3-b907-6275b4ff777f ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:45:15.105 +05:30 03ea187f-55fe-40a3-b907-6275b4ff777f ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 22:45:15.107 +05:30 03ea187f-55fe-40a3-b907-6275b4ff777f ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:db5907b3-5fa9-4b76-87a5-92f2d123d8f0 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 22:53:57.492 +05:30 6ef3f5d6-28c6-4481-ad9c-7fbd12fa9b09 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 22:53:57.902 +05:30 f37988e9-d3fd-4150-bab2-ff8f591027bf ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 23:01:15.304 +05:30 b72a6fc1-8272-422a-8b4a-2b2608da93b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:01:15.305 +05:30 b72a6fc1-8272-422a-8b4a-2b2608da93b5 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:01:15.305 +05:30 b72a6fc1-8272-422a-8b4a-2b2608da93b5 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:01:15.308 +05:30 b72a6fc1-8272-422a-8b4a-2b2608da93b5 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:5c1063f7-e0d1-4c8b-b6c9-2bcfbb7201a7 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 23:25:30.267 +05:30 0c9d607a-ced8-473c-9921-6fb6d8cf8a92 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:25:30.268 +05:30 0c9d607a-ced8-473c-9921-6fb6d8cf8a92 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:25:30.269 +05:30 0c9d607a-ced8-473c-9921-6fb6d8cf8a92 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:25:30.271 +05:30 0c9d607a-ced8-473c-9921-6fb6d8cf8a92 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:703002b9-07d2-47cf-914e-10c227eb1360 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 23:35:27.634 +05:30 08a4e81f-be79-4fc1-a126-da5299d985d0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:35:27.636 +05:30 08a4e81f-be79-4fc1-a126-da5299d985d0 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:35:27.636 +05:30 08a4e81f-be79-4fc1-a126-da5299d985d0 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:35:27.639 +05:30 08a4e81f-be79-4fc1-a126-da5299d985d0 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:6e22b17f-62e1-4cf0-b3d4-7d02ee48753f Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179 2024-04-30 23:52:56.519 +05:30 719d5395-a7d5-4da7-8be7-342d35de9951 ERR Token Regeneration failed Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: Refresh token has expired at Sang.Security.WebApi.Validators.TokenValidator.ValidateToken(String token, String TokenKey) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Validators\TokenValidator.cs:line 38 at Sang.Security.WebApi.Authentication.TokenService.RefreshToken(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Authentication\TokenService.cs:line 39 at Sang.Security.WebApi.Controllers.SecurityController.RegenerateTokens(String refershToken) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\SecurityController.cs:line 39 2024-04-30 23:53:52.389 +05:30 5e88f7bd-dee5-4af6-a87f-fccf5fbaf568 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:53:52.391 +05:30 5e88f7bd-dee5-4af6-a87f-fccf5fbaf568 ERR Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:53:52.392 +05:30 5e88f7bd-dee5-4af6-a87f-fccf5fbaf568 ERR Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 2024-04-30 23:53:52.398 +05:30 5e88f7bd-dee5-4af6-a87f-fccf5fbaf568 ERR Getting Master Data for Master failed System.Exception: Database connection error: Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. ---> System.Data.SqlClient.SqlException (0x80131904): Incorrect syntax near 'Sch'. Unclosed quotation mark after the character string ' and isnull(istatus,0)=0 order by sName'. 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.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, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.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 Sang.Security.WebApi.CommonService.CommonEntityService.ExecuteAndFetchDataTable(SqlConnection connection, SqlTransaction transaction, String procedureName, SqlParameter[] parameters) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\CommonEntityService.cs:line 186 at Sang.Security.WebApi.Repositories.RoleRepository.<>c__DisplayClass14_0.<b__0>d.MoveNext() in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 267 --- End of stack trace from previous location --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 31 ClientConnectionId:914287c3-9b45-47e9-920e-a4eaa9593144 Error Number:102,State:1,Class:15 --- End of inner exception stack trace --- at Sang.Security.WebApi.CommonService.DbTransactionService.ExecuteTransactionAsync(Func`3 transactionAction) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\CommonService\DbTransactionService.cs:line 45 at Sang.Security.WebApi.Repositories.RoleRepository.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Repositories\RoleRepository.cs:line 258 at Sang.Security.WebApi.Services.RoleService.GetMasterData(Int32 masterId, String condition, Int32 typeId) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Services\RoleService.cs:line 44 at Sang.Security.WebApi.Controllers.RoleController.GetMasterData(Int32 masterId, Int32 typeId, String searchCondition) in D:\SOURCECODE\Sang.WebApi\Sang.Security.WebApi\Controllers\RoleController.cs:line 179