dotnet Errors

103 entries

Error Code Domain Category Fix Rate Confidence Tier
System.AccessViolationException: Attempted to read or write protected memory dotnet runtime_error 72% 78% ai_generated
Microsoft.AspNetCore.Routing.Matching.AmbiguousMatchException: The request matched multiple endpoints. dotnet web_framework 88% 90% ai_generated
System.ArgumentNullException: Value cannot be null. (Parameter 'paramName') dotnet runtime_exception 93% 94% ai_generated
Access to XMLHttpRequest at 'https://api.example.com' from origin 'https://app.example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. dotnet web_framework 90% 92% ai_generated
HTTP 401 Unauthorized or 403 Forbidden returned unexpectedly despite valid credentials and authorization configuration dotnet web_framework 90% 92% ai_generated
FileNotFoundException: Could not load file or assembly dotnet runtime_error 82% 86% ai_generated
InvalidOperationException: JavaScript interop calls cannot be issued during server-side prerendering. dotnet runtime_exception 90% 91% ai_generated
error NETSDK1045: The current .NET SDK does not support targeting .NET 8.0. Either target .NET 7.0 or lower, or use a version of the .NET SDK that supports .NET 8.0. ETSDK dotnet build_system 92% 94% ai_generated
AuthenticationException: The remote certificate is invalid dotnet tls_error 82% 86% ai_generated
System.Threading.Channels.ChannelClosedException: The channel has been closed. dotnet concurrency_error 86% 88% ai_generated
InvalidOperationException: A circular dependency was detected dotnet config_error 82% 86% ai_generated
InvalidOperationException: Failed to convert configuration value dotnet config_error 85% 88% ai_generated
SocketException: Only one usage of each socket address is normally permitted dotnet resource_error 80% 84% ai_generated
error CS0246: The type or namespace name 'X' could not be found dotnet compilation_error 91% 88% ai_generated
Thread deadlock detected: all threads blocked dotnet concurrency_error 75% 80% ai_generated
System.InvalidOperationException: A circular dependency was detected for the service of type 'X'. dotnet dependency_injection 87% 89% ai_generated
System.InvalidOperationException: No service for type 'X' has been registered dotnet dependency_injection 93% 90% ai_generated
Unable to start Kestrel. System.IO.IOException: Failed to bind to address http://0.0.0.0:80: address already in use / connection refused on mapped port dotnet deployment 90% 92% ai_generated
Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s). dotnet database_error 83% 85% ai_generated
Microsoft.EntityFrameworkCore: Migration conflict detected dotnet migration_error 80% 84% ai_generated
System.InvalidOperationException: Navigation property 'X' is null. Related data must be loaded using Include. dotnet database_error 91% 92% ai_generated
Build started... Build succeeded. fail: Microsoft.EntityFrameworkCore.Database.Command — Failed executing DbCommand. An error occurred while applying migration 'XXXXXXXX_MigrationName'. dotnet database 80% 83% ai_generated
System.InvalidOperationException: The instance of entity type 'EntityName' cannot be tracked because another instance with the same key value is already being tracked. dotnet database 88% 90% ai_generated
IOException: The process cannot access the file because it is being used dotnet io_error 82% 86% ai_generated
System.IO.FileNotFoundException: Could not load file or assembly 'AssemblyName, Version=x.x.x.x'. The system cannot find the file specified. dotnet assembly_loading 87% 90% ai_generated
RpcException: StatusCode=Unavailable connecting to gRPC service dotnet connection_error 80% 84% ai_generated
SocketException: An existing connection was forcibly closed dotnet resource_error 80% 84% ai_generated
System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. dotnet networking 83% 86% ai_generated
System.InvalidCastException: Unable to cast object of type 'X' to type 'Y'. dotnet runtime_exception 89% 90% ai_generated
System.InvalidOperationException: Sequence contains no elements dotnet runtime_exception 90% 92% ai_generated
ConnectionResetException: connection limit exceeded on Kestrel dotnet config_error 80% 84% ai_generated
System.InvalidOperationException: The LINQ expression could not be translated. dotnet runtime_exception 88% 90% ai_generated
OutOfMemoryException with available memory remaining dotnet memory_error 75% 80% ai_generated
BadHttpRequestException: Failed to read parameter from the request body as JSON. dotnet http_error 89% 90% ai_generated
error NU1101: Unable to find package 'PackageName'. No packages exist with this id in source(s): nuget.org dotnet package_management 88% 90% ai_generated
NU1107: Version conflict for NuGet package dotnet dependency_error 82% 86% ai_generated
CS8600: Converting null literal or possible null value to non-nullable type dotnet type_error 85% 88% ai_generated
System.NullReferenceException: Object reference not set to an instance of an object. dotnet runtime_exception 92% 95% ai_generated
System.OutOfMemoryException: Insufficient memory to continue the execution of the program. dotnet runtime_exception 78% 82% ai_generated
System.PlatformNotSupportedException: Operation is not supported on this platform. dotnet runtime_exception 75% 80% ai_generated
System.Text.Json.JsonException: A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 32. dotnet serialization 90% 92% ai_generated
HubException: SignalR reconnection failed dotnet connection_error 78% 82% ai_generated
Microsoft.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. dotnet database 82% 85% ai_generated
System.StackOverflowException dotnet runtime_exception 80% 85% ai_generated
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. dotnet reflection_error 85% 88% ai_generated
TaskCanceledException: A task was canceled dotnet runtime_error 82% 86% ai_generated
System.Threading.Tasks.TaskCanceledException: A task was canceled. dotnet networking 85% 88% ai_generated
ThreadPool starvation: work items queued exceeding available threads dotnet performance_error 78% 82% ai_generated
System.TypeInitializationException: The type initializer for 'X' threw an exception. dotnet runtime_exception 84% 87% ai_generated
InvalidOperationException: Error in XML serialization dotnet serialization_error 82% 86% ai_generated
System.OutOfMemoryException: Out of memory. at System.Drawing.Graphics.FromImage(Image image) dotnet resource_error 78% 85% ai_generated
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. -2146232060 dotnet data_error 85% 88% ai_generated
Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses; last error: UNKNOWN: Failed SSL handshake") dotnet network_error 82% 87% ai_generated
System.InvalidOperationException: An error occurred while accessing the database. Continuing without the application's database context. The database may have pending migrations. Apply migrations and try again. dotnet data_error 92% 90% ai_generated
System.InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'X', but this ViewDataDictionary instance requires a model item of type 'Y'. dotnet type_error 95% 88% ai_generated
Microsoft.AspNetCore.SignalR.HubException: Failed to negotiate with the server. The server returned an unsupported negotiate version. dotnet protocol_error 88% 84% ai_generated
Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses; last error: UNKNOWN: Connection reset") dotnet network_error 82% 85% ai_generated
System.Text.Json.JsonException: A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. dotnet serialization_error 90% 86% ai_generated
error NU1101: Unable to find package 'PackageName'. No packages exist with this id in source(s): nuget.org, local-cache NU1101 dotnet build_error 92% 89% ai_generated
Access to XMLHttpRequest at 'https://api.example.com' from origin 'https://app.example.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status. dotnet auth_error 87% 84% ai_generated
Microsoft.EntityFrameworkCore.Storage.RetryLimitExceededException: The execution strategy 'SqlServerRetryingExecutionStrategy' executed the operation 6 time(s) without success. dotnet data_error 85% 82% ai_generated
System.InvalidOperationException: The 'UseRouting' method must be called before 'UseEndpoints' in the middleware pipeline. dotnet config_error 95% 88% ai_generated
System.Text.Json.JsonException: The JSON value could not be converted to System.String. Path: $.propertyName | LineNumber: 1 | BytePositionInLine: 20. dotnet type_error 90% 85% ai_generated
Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses; last error: UNKNOWN: No match found for server name") dotnet network_error 80% 81% ai_generated
error NU3018: Package 'PackageName 1.0.0' from source 'nuget.org' is not signed by a trusted signer. NU3018 dotnet install_error 85% 83% ai_generated
System.InvalidOperationException: The value converter for property 'PropertyName' threw an exception. See inner exception for details. dotnet data_error 88% 84% ai_generated
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. dotnet data_error 85% 85% ai_generated
Grpc.Core.RpcException: Status(StatusCode="Unimplemented", Detail="Method 'YourMethod' is unimplemented.") dotnet protocol_error 90% 88% ai_generated
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer: Error: Failed to load module. The required module 'dotnet.wasm' could not be loaded. dotnet runtime_error 85% 82% ai_generated
System.InvalidOperationException: Cannot use split query for a query that uses Include on a collection navigation that is also used in a Select. Either call AsSplitQuery() before the Include or remove the Select. dotnet data_error 90% 87% ai_generated
Microsoft.Extensions.Options.OptionsValidationException: A configuration validation error occurred. DataAnnotation validation failed for members: 'ConnectionString' with error: 'The ConnectionString field is required.' dotnet config_error 90% 86% ai_generated
System.InvalidOperationException: The LINQ expression 'DbSet<X>.Where(x => x.Property.Contains("value") || x.OtherProperty.Contains("other"))' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. dotnet data_error 85% 88% ai_generated
Microsoft.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. 0x80131904 dotnet resource_error 85% 85% ai_generated
System.ArgumentException: Illegal characters in path. dotnet config_error 85% 85% ai_generated
System.InvalidOperationException: The LINQ expression 'x => x.SomeMethod()' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. dotnet data_error 85% 85% ai_generated
Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="failed to connect to all addresses; last error: UNKNOWN: ipv4:192.168.1.1:443: No connection could be made because the target machine actively refused it.") Unavailable dotnet network_error 85% 85% ai_generated
System.Text.Json.JsonException: A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 64. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. dotnet data_error 90% 85% ai_generated
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such column: x' 0x80004005 dotnet data_error 85% 85% ai_generated
System.Threading.Tasks.TaskCanceledException: A task was canceled. at Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost..ctor dotnet runtime_error 85% 88% ai_generated
Grpc.Core.RpcException: Status(StatusCode="ResourceExhausted", Detail="Received message larger than max (4194304 vs. 4194304)") ResourceExhausted dotnet protocol_error 90% 90% ai_generated
System.InvalidOperationException: An error occurred while executing the query. The query has been canceled. See InnerException for details. -> Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. 0x80131904 dotnet data_error 85% 85% ai_generated
Microsoft.Extensions.Options.OptionsValidationException: A configuration validation error occurred. DataAnnotation validation failed for 'MyOptions' members: 'ApiKey' is required. dotnet config_error 90% 87% ai_generated
InvalidOperationException: The view 'Index' was not found. The following locations were searched: /Views/Home/Index.cshtml, /Views/Shared/Index.cshtml, /Pages/Home/Index.cshtml dotnet build_error 90% 82% ai_generated
System.InvalidOperationException: An error was generated for the query filter 'FilterName'. The filter expression must be a LambdaExpression that can be applied to the entity type 'EntityType'. dotnet data_error 80% 85% ai_generated
Grpc.Core.RpcException: Status(StatusCode="Unimplemented", Detail="Method 'ServiceName/MethodName' is unimplemented. If the server is not configured to serve this method, the call will fail.") 12 dotnet protocol_error 90% 88% ai_generated
Microsoft.AspNetCore.SignalR.HubException: Failed to negotiate with the server. The negotiation request timed out after 30 seconds. dotnet network_error 75% 82% ai_generated
Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded. dotnet data_error 80% 86% ai_generated
Microsoft.AspNetCore.JsonPatch.JsonPatchException: The property at path 'path' could not be updated. dotnet runtime_error 85% 84% ai_generated
System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. dotnet runtime_error 85% 88% ai_generated
Grpc.Core.RpcException: Status(StatusCode="Unimplemented", Detail="Method service.MethodName is unimplemented.") dotnet protocol_error 85% 87% ai_generated
System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. SocketException: No connection could be made because the target machine actively refused it. (127.0.0.1:443) dotnet network_error 90% 86% ai_generated
System.PlatformNotSupportedException: Operation is not supported on this platform. (Android) dotnet platform_error 85% 82% ai_generated
System.Windows.Markup.XamlParseException: 'Provide value on 'System.Windows.StaticResourceExtension' threw an exception.' Line number '42' and line position '10'. dotnet resource_error 90% 84% ai_generated
Aspire.Hosting.Dashboard.DashboardException: The dashboard could not be reached at 'https://localhost:17000'. Connection refused. Ensure the .NET Aspire dashboard is running. dotnet network_error 90% 81% ai_generated
System.InvalidOperationException: The navigation property 'X' is not a mapped entity type. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the parameter values. dotnet data_error 85% 88% ai_generated
System.InvalidOperationException: Cannot create a DbSet for 'X' because a DbSet with the same entity type already exists. dotnet config_error 90% 90% ai_generated
Grpc.Core.RpcException: Status(StatusCode="InvalidArgument", Detail="Invalid message length: received 1048577 bytes, maximum is 1048576.") dotnet protocol_error 85% 87% ai_generated
Microsoft.EntityFrameworkCore.Query.QueryCompilationException: An exception occurred while compiling the query. See InnerException for details. dotnet runtime_error 80% 86% ai_generated
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Request body too large. The max request body size is 30000000 bytes. dotnet runtime_error 90% 89% ai_generated
System.InvalidOperationException: A navigation property 'NavigationName' is null. Related data must be loaded using Include or other eager loading methods. dotnet data_error 90% 85% ai_generated
error NU1107: Version conflict detected for 'PackageA'. Reference packages: PackageB 2.0.0 -> PackageA (>= 1.5.0), PackageC 3.0.0 -> PackageA (>= 2.0.0). NU1107 dotnet build_error 85% 88% ai_generated
Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware: The CORS protocol does not allow a preflight request to have a body. dotnet protocol_error 85% 83% ai_generated
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. The statement has been terminated. 0x80131904 dotnet data_error 85% 87% ai_generated