From a27c78524c7d44110bace5524aec5818ea4322ac Mon Sep 17 00:00:00 2001 From: safia Date: Thu, 5 Dec 2024 13:56:31 +0400 Subject: [PATCH] =?UTF-8?q?50%=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20?= =?UTF-8?q?=D1=81=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StudentProgress/Forms/FormGrade.resx | 3 - .../Implementations/ConnectionString.cs | 2 +- .../StudentProgress/appsettings20241205.com | 419 ++++++++++++++++++ 3 files changed, 420 insertions(+), 4 deletions(-) diff --git a/StudentProgress/StudentProgress/Forms/FormGrade.resx b/StudentProgress/StudentProgress/Forms/FormGrade.resx index 831d2a4..16209fb 100644 --- a/StudentProgress/StudentProgress/Forms/FormGrade.resx +++ b/StudentProgress/StudentProgress/Forms/FormGrade.resx @@ -120,7 +120,4 @@ True - - True - \ No newline at end of file diff --git a/StudentProgress/StudentProgress/Repositories/Implementations/ConnectionString.cs b/StudentProgress/StudentProgress/Repositories/Implementations/ConnectionString.cs index 8401f69..850be20 100644 --- a/StudentProgress/StudentProgress/Repositories/Implementations/ConnectionString.cs +++ b/StudentProgress/StudentProgress/Repositories/Implementations/ConnectionString.cs @@ -5,5 +5,5 @@ namespace StudentProgress.Repositories.Implementations; public class ConnectionString : IConnectionString { string IConnectionString.ConnectionString => - "Host=localhost;Port=5432;Database=studentperformancebd;Username=postgres;Password=Ildan12345;"; + "Host=localhost;Port=5432;Database=postgres;Username=postgres;Password=Ildan12345;"; } \ No newline at end of file diff --git a/StudentProgress/StudentProgress/appsettings20241205.com b/StudentProgress/StudentProgress/appsettings20241205.com index 80454e1..a1e9f79 100644 --- a/StudentProgress/StudentProgress/appsettings20241205.com +++ b/StudentProgress/StudentProgress/appsettings20241205.com @@ -103,3 +103,422 @@ Npgsql.PostgresException (0x80004005): 3D000: database "studentperformancebd" do File: postinit.c Line: 1050 Routine: InitPostgres +2024-12-05 12:58:08.317 +04:00 [INF] Получение оценок +2024-12-05 12:58:08.808 +04:00 [ERR] Ошибка при чтении оценок +System.ArgumentException: Keyword not supported: 'host'. + at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) + at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) + at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) + at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) + at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) + at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) + at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) + at System.Data.SqlClient.SqlConnection..ctor(String connectionString) + at StudentProgress.Repositories.Implementations.GradesRepository.ReadGrades(Nullable`1 dateFrom, Nullable`1 dateTo, Nullable`1 subjectsId, Nullable`1 professorsId) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GradesRepository.cs:line 64 +2024-12-05 12:58:26.316 +04:00 [INF] Получение лекций +2024-12-05 12:58:26.999 +04:00 [ERR] Ошибка при чтении лекций +System.ArgumentException: Keyword not supported: 'host'. + at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey) + at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) + at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) + at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) + at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) + at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) + at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) + at System.Data.SqlClient.SqlConnection..ctor(String connectionString) + at StudentProgress.Repositories.Implementations.LecturesRepository.ReadLectures() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\LecturesRepository.cs:line 28 +2024-12-05 13:06:50.514 +04:00 [INF] Получение всех объектов +2024-12-05 13:06:51.428 +04:00 [ERR] Ошибка при чтении объектов +Npgsql.PostgresException (0x80004005): 3D000: database "StudentProgress" does not exist + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.Internal.NpgsqlConnector.g__OpenCore|214_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) + at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) + at Npgsql.PoolingDataSource.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) + at Npgsql.PoolingDataSource.g__RentAsync|33_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken) + at Npgsql.NpgsqlConnection.g__OpenAsync|42_0(Boolean async, CancellationToken cancellationToken) + at Npgsql.NpgsqlConnection.Open() + at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1183 + at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) + at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) + at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 + at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroup() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 65 + Exception data: + Severity: FATAL + SqlState: 3D000 + MessageText: database "StudentProgress" does not exist + File: postinit.c + Line: 1050 + Routine: InitPostgres +2024-12-05 13:08:15.288 +04:00 [INF] Получение всех объектов +2024-12-05 13:08:16.452 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":""},{"Id":0,"NameGroup":""}] +2024-12-05 13:08:30.577 +04:00 [INF] Добавление объекта +2024-12-05 13:08:30.579 +04:00 [DBG] Объект: {"Id":0,"NameGroup":"исэбд-22"} +2024-12-05 13:08:30.724 +04:00 [ERR] Ошибка при добавлении объекта +Npgsql.PostgresException (0x80004005): 42703: column "namegroup" of relation "groups" does not exist + +POSITION: 21 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery() + at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 + at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 + at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 + at StudentPerformance.Repositories.Implementations.GroupRepository.CreateGroup(Group group) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 30 + Exception data: + Severity: ERROR + SqlState: 42703 + MessageText: column "namegroup" of relation "groups" does not exist + Position: 21 + File: parse_target.c + Line: 1070 + Routine: checkInsertTargets +2024-12-05 13:10:04.161 +04:00 [INF] Добавление объекта +2024-12-05 13:10:04.174 +04:00 [DBG] Объект: {"Id":0,"NameGroup":"22"} +2024-12-05 13:10:04.323 +04:00 [ERR] Ошибка при добавлении объекта +Npgsql.PostgresException (0x80004005): 42703: column "namegroup" of relation "groups" does not exist + +POSITION: 21 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery() + at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 + at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 + at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 + at StudentPerformance.Repositories.Implementations.GroupRepository.CreateGroup(Group group) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 30 + Exception data: + Severity: ERROR + SqlState: 42703 + MessageText: column "namegroup" of relation "groups" does not exist + Position: 21 + File: parse_target.c + Line: 1070 + Routine: checkInsertTargets +2024-12-05 13:10:16.998 +04:00 [INF] Получение всех объектов +2024-12-05 13:10:17.016 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":""},{"Id":0,"NameGroup":""}] +2024-12-05 13:16:20.215 +04:00 [INF] Получение всех объектов +2024-12-05 13:16:22.404 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] +2024-12-05 13:16:41.980 +04:00 [INF] Добавление объекта +2024-12-05 13:16:41.983 +04:00 [DBG] Объект: {"Id":0,"NameGroup":"исэбд-22"} +2024-12-05 13:16:42.208 +04:00 [ERR] Ошибка при добавлении объекта +Npgsql.PostgresException (0x80004005): 42703: column "course" of relation "groups" does not exist + +POSITION: 32 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery() + at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 + at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 + at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 + at StudentPerformance.Repositories.Implementations.GroupRepository.CreateGroup(Group group) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 30 + Exception data: + Severity: ERROR + SqlState: 42703 + MessageText: column "course" of relation "groups" does not exist + Position: 32 + File: parse_target.c + Line: 1070 + Routine: checkInsertTargets +2024-12-05 13:17:02.529 +04:00 [INF] Получение объекта по идентификатору +2024-12-05 13:17:02.530 +04:00 [DBG] Объект: 0 +2024-12-05 13:17:02.612 +04:00 [ERR] Ошибка при поиске объекта +Npgsql.PostgresException (0x80004005): 42703: column "id" does not exist + +POSITION: 31 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) + at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 + at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1277 + at Dapper.SqlMapper.QueryFirst[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 836 + at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroupById(Int32 id) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 87 + Exception data: + Severity: ERROR + SqlState: 42703 + MessageText: column "id" does not exist + Position: 31 + File: parse_relation.c + Line: 3721 + Routine: errorMissingColumn +2024-12-05 13:17:05.088 +04:00 [INF] Получение всех объектов +2024-12-05 13:17:05.102 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] +2024-12-05 13:17:08.655 +04:00 [INF] Получение всех объектов +2024-12-05 13:17:08.663 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] +2024-12-05 13:17:15.051 +04:00 [INF] Удаление объекта +2024-12-05 13:17:15.053 +04:00 [DBG] Объект: 0 +2024-12-05 13:17:15.119 +04:00 [ERR] Ошибка при удалении объекта +Npgsql.PostgresException (0x80004005): 42703: column "id" does not exist + +POSITION: 29 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery() + at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 + at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 + at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 + at StudentPerformance.Repositories.Implementations.GroupRepository.DeleteGroup(Int32 id) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 49 + Exception data: + Severity: ERROR + SqlState: 42703 + MessageText: column "id" does not exist + Position: 29 + File: parse_relation.c + Line: 3721 + Routine: errorMissingColumn +2024-12-05 13:19:43.949 +04:00 [INF] Получение всех объектов +2024-12-05 13:19:46.043 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] +2024-12-05 13:20:01.938 +04:00 [INF] Добавление объекта +2024-12-05 13:20:01.942 +04:00 [DBG] Объект: {"Id":0,"NameGroup":"исэбд-22"} +2024-12-05 13:20:02.154 +04:00 [ERR] Ошибка при добавлении объекта +Npgsql.PostgresException (0x80004005): 42703: column "namefaculty" of relation "groups" does not exist + +POSITION: 40 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery() + at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 + at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 + at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 + at StudentPerformance.Repositories.Implementations.GroupRepository.CreateGroup(Group group) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 30 + Exception data: + Severity: ERROR + SqlState: 42703 + MessageText: column "namefaculty" of relation "groups" does not exist + Position: 40 + File: parse_target.c + Line: 1070 + Routine: checkInsertTargets +2024-12-05 13:20:45.534 +04:00 [INF] Получение объекта по идентификатору +2024-12-05 13:20:45.537 +04:00 [DBG] Объект: 0 +2024-12-05 13:20:45.613 +04:00 [ERR] Ошибка при поиске объекта +Npgsql.PostgresException (0x80004005): 42703: column "id" does not exist + +POSITION: 31 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) + at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 + at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1277 + at Dapper.SqlMapper.QueryFirst[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 836 + at StudentPerformance.Repositories.Implementations.GroupRepository.ReadGroupById(Int32 id) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\GroupRepository.cs:line 87 + Exception data: + Severity: ERROR + SqlState: 42703 + MessageText: column "id" does not exist + Position: 31 + File: parse_relation.c + Line: 3721 + Routine: errorMissingColumn +2024-12-05 13:20:47.672 +04:00 [INF] Получение всех объектов +2024-12-05 13:20:47.694 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] +2024-12-05 13:20:52.194 +04:00 [INF] Получение всех объектов +2024-12-05 13:20:52.248 +04:00 [ERR] Ошибка при чтении объектов +Npgsql.PostgresException (0x80004005): 42P01: relation "student" does not exist + +POSITION: 15 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) + at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 + at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 + at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) + at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) + at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 + at StudentPerformance.Repositories.Implementations.StudentRepository.ReadStudents(Nullable`1 groupID) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\StudentRepository.cs:line 93 + Exception data: + Severity: ERROR + SqlState: 42P01 + MessageText: relation "student" does not exist + Position: 15 + File: parse_relation.c + Line: 1452 + Routine: parserOpenTable +2024-12-05 13:21:00.660 +04:00 [INF] Получение всех объектов +2024-12-05 13:21:00.670 +04:00 [DBG] Полученные объекты: [{"Id":0,"NameGroup":"Группа 1"},{"Id":0,"NameGroup":"Группа 2"}] +2024-12-05 13:21:07.759 +04:00 [INF] Добавление объекта +2024-12-05 13:21:07.768 +04:00 [DBG] Объект: {"Id":0,"Name":"авава","Surname":"вваав","GroupId":0} +2024-12-05 13:21:07.812 +04:00 [ERR] Ошибка при добавлении объекта +Npgsql.PostgresException (0x80004005): 42P01: relation "student" does not exist + +POSITION: 15 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteNonQuery() + at Dapper.SqlMapper.ExecuteCommand(IDbConnection cnn, CommandDefinition& command, Action`2 paramReader) in /_/Dapper/SqlMapper.cs:line 2965 + at Dapper.SqlMapper.ExecuteImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 656 + at Dapper.SqlMapper.Execute(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 527 + at StudentPerformance.Repositories.Implementations.StudentRepository.CreateStudent(Student student) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\StudentRepository.cs:line 33 + Exception data: + Severity: ERROR + SqlState: 42P01 + MessageText: relation "student" does not exist + Position: 15 + File: parse_relation.c + Line: 1452 + Routine: parserOpenTable +2024-12-05 13:21:19.384 +04:00 [INF] Получение всех объектов +2024-12-05 13:21:19.454 +04:00 [ERR] Ошибка при чтении объектов +Npgsql.PostgresException (0x80004005): 42P01: relation "student" does not exist + +POSITION: 15 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) + at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 + at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 + at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) + at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) + at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 + at StudentPerformance.Repositories.Implementations.StudentRepository.ReadStudents(Nullable`1 groupID) in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\StudentRepository.cs:line 93 + Exception data: + Severity: ERROR + SqlState: 42P01 + MessageText: relation "student" does not exist + Position: 15 + File: parse_relation.c + Line: 1452 + Routine: parserOpenTable +2024-12-05 13:21:26.154 +04:00 [INF] Получение всех объектов +2024-12-05 13:21:26.191 +04:00 [ERR] Ошибка при чтении объектов +Npgsql.PostgresException (0x80004005): 42P01: relation "professorsname" does not exist + +POSITION: 15 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) + at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 + at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 + at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) + at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) + at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 + at StudentProgress.Repositories.Implementations.ProfessorsNameRepository.ReadProfessorsName() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\ProfessorsNameRepository.cs:line 67 + Exception data: + Severity: ERROR + SqlState: 42P01 + MessageText: relation "professorsname" does not exist + Position: 15 + File: parse_relation.c + Line: 1452 + Routine: parserOpenTable +2024-12-05 13:21:38.506 +04:00 [INF] Получение всех объектов +2024-12-05 13:21:38.559 +04:00 [ERR] Ошибка при чтении объектов +Npgsql.PostgresException (0x80004005): 42P01: relation "professorsname" does not exist + +POSITION: 15 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) + at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 + at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 + at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) + at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) + at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 + at StudentProgress.Repositories.Implementations.ProfessorsNameRepository.ReadProfessorsName() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\ProfessorsNameRepository.cs:line 67 + Exception data: + Severity: ERROR + SqlState: 42P01 + MessageText: relation "professorsname" does not exist + Position: 15 + File: parse_relation.c + Line: 1452 + Routine: parserOpenTable +2024-12-05 13:21:49.442 +04:00 [INF] Получение всех объектов +2024-12-05 13:21:49.533 +04:00 [ERR] Ошибка при чтении объектов +Npgsql.PostgresException (0x80004005): 42P01: relation "professorsname" does not exist + +POSITION: 15 + at Npgsql.Internal.NpgsqlConnector.ReadMessageLong(Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage) + at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) + at Npgsql.NpgsqlDataReader.NextResult() + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken) + at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior) + at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1156 + at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1184 + at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) + at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) + at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 815 + at StudentProgress.Repositories.Implementations.ProfessorsNameRepository.ReadProfessorsName() in C:\отп\StudentProgress\StudentProgress\Repositories\Implementations\ProfessorsNameRepository.cs:line 67 + Exception data: + Severity: ERROR + SqlState: 42P01 + MessageText: relation "professorsname" does not exist + Position: 15 + File: parse_relation.c + Line: 1452 + Routine: parserOpenTable