I was working on a microservices application, and everything was running correctly. However, after restarting my computer, when I try to load the solution, ABP Studio crashes immediately. I attempted to uninstall and reinstall the application, but the issue persists.
Version of Abp Studio :
Error Details:
Upon checking the event viewer, I found the following error message:
<Event
xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2025-02-20T21:51:39.9059918Z" />
<EventRecordID>5075</EventRecordID>
<Correlation />
<Execution ProcessID="5820" ThreadID="0" />
<Channel>Application</Channel>
<Computer>D1031</Computer>
<Security />
</System>
<EventData>
<Data>Application: Volo.Abp.Studio.UI.Host.exe CoreCLR Version: 8.0.23.53103 .NET Version: 8.0.0 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.IOException: The process cannot access the file 'C:\CFuente\NewFisapay\Fisapay-Platform-SaaS-Foundation.abpstudio\state.json' because it is being used by another process. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode) at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.File.WriteToFileAsync(String path, FileMode mode, String contents, Encoding encoding, CancellationToken cancellationToken) at Volo.Abp.Studio.UI.Solutions.SolutionState.SolutionStateSynchronizer.XMMzbn2IL(String ) at Volo.Abp.Studio.UI.Solutions.SolutionState.SolutionStateSynchronizer.<>c__DisplayClass26_0.OWQJJgIaC6tOqUcAqpK.MoveNext() --- End of stack trace from previous location --- at System.Threading.Tasks.Task.<>c.
b__128_0(Object state) at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore() at Avalonia.Threading.DispatcherOperation.Execute() at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job) at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback) at Avalonia.Threading.Dispatcher.Signaled() at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg) at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken) at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl) at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) at MuEkEekDnRL3T1TFUNq.iiRcovk9eVF978kaZdP.EXcky4Wdqt(String[] )
Could you please assist me in diagnosing and resolving this issue? Any insights or recommendations would be greatly appreciated.
Thank you for your help.
Best regards,
6 Answer(s)
-
0
Hi,
I delivered this issue to our ABP Studio team with an internal issue for this. If more information is needed, they can ask in this issue.
Your ticket is refunded.
-
0
Can you provide us
*.abpsln
file of your solution? There can be a problem in that file maybe -
0
Hi @direccionti
Can you delete
.abpstudio\state.json
file in the solution, and then try again? -
0
Hi @direccionti
I wanted to mention that I had already deleted the .abpstudio\state.json file before submitting the ticket, but the issue still persists
-
0
> { "id": "6458e9ab-8d61-4271-bb0b-af7861d79136", "template": "microservice", "versions": { "AbpFramework": "9.0.0", "AbpCommercial": "9.0.0", "AbpStudio": "0.9.14", "TargetDotnetFramework": "net9.0" }, "folders": { "items": { "services": {}, "apps": {}, "gateways": {}, "FisapayServices": {} } }, "runProfiles": { "Default": { "path": "etc/abp-studio/run-profiles/Default.abprun.json" } }, "modules": { "Fisapay.AdministrationService": { "path": "services/administration/Fisapay.AdministrationService.abpmdl", "folder": "services" }, "Fisapay.IdentityService": { "path": "services/identity/Fisapay.IdentityService.abpmdl", "folder": "services" }, "Fisapay.SaasService": { "path": "services/saas/Fisapay.SaasService.abpmdl", "folder": "services" }, "Fisapay.ChatService": { "path": "services/chat/Fisapay.ChatService.abpmdl", "folder": "services" }, "Fisapay.AuditLoggingService": { "path": "services/audit-logging/Fisapay.AuditLoggingService.abpmdl", "folder": "services" }, "Fisapay.GdprService": { "path": "services/gdpr/Fisapay.GdprService.abpmdl", "folder": "services" }, "Fisapay.FileManagementService": { "path": "services/file-management/Fisapay.FileManagementService.abpmdl", "folder": "services" }, "Fisapay.LanguageService": { "path": "services/language/Fisapay.LanguageService.abpmdl", "folder": "services" }, "Fisapay.MobileGateway": { "path": "gateways/mobile/Fisapay.MobileGateway.abpmdl", "folder": "gateways" }, "Fisapay.AuthServer": { "path": "apps/auth-server/Fisapay.AuthServer.abpmdl", "folder": "apps" }, "Fisapay.WebGateway": { "path": "gateways/web/Fisapay.WebGateway.abpmdl", "folder": "gateways" }, "Fisapay.Payment": { "path": "FisapayServices/payment/Fisapay.Payment.abpmdl", "folder": "FisapayServices" } }, "k8sProfiles": { "local": { "path": "etc/abp-studio/k8s-profiles/local.abpk8s.json" } }, "commands": { "helmBuildDotnetImage": { "triggerTargets": [ "HELM_CHARTS_ROOT", "HELM_MAIN_CHART", "HELM_SUB_CHART" ], "executionTargets": [ "HELM_MAIN_CHART", "HELM_SUB_CHART" ], "displayName": "Build Docker Image(s)", "workingDirectory": "etc/helm", "terminalCommand": "./build-image.ps1 -ProjectPath {{metadata.projectPath}} -ImageName {{metadata.imageName}} -ProjectType {{metadata.projectType}}", "condition": "{{metadata.projectPath != null && metadata.imageName != null && metadata.projectType != null}}" }, "helmInstallChart": { "triggerTargets": [ "HELM_CHARTS_ROOT", "HELM_MAIN_CHART" ], "executionTargets": [ "HELM_MAIN_CHART" ], "displayName": "Install Chart(s)", "workingDirectory": "etc/helm", "terminalCommand": "./install.ps1 -ChartName {{chart.name}} -Namespace {{profile.namespace}} -ReleaseName {{chart.name}}-{{profile.name}} -DotnetEnvironment {{metadata.dotnetEnvironment}} {{~if metadata.k8ssuffix}} -User {{metadata.k8ssuffix}}{{end}}", "requireConfirmation": "true", "confirmationText": "Are you sure to install the chart(s) for the profile {{ profile.name }}?" }, "helmUninstallChart": { "triggerTargets": [ "HELM_CHARTS_ROOT", "HELM_MAIN_CHART" ], "executionTargets": [ "HELM_MAIN_CHART" ], "displayName": "Uninstall Chart(s)", "workingDirectory": "etc/helm", "terminalCommand": "./uninstall.ps1 -Namespace {{profile.namespace}} -ReleaseName {{chart.name}}-{{profile.name}} {{~if metadata.k8ssuffix}} -User {{metadata.k8ssuffix}}{{end}}", "requireConfirmation": "true", "confirmationText": "Are you sure to uninstall the chart(s) for the profile {{profile.name}}?" }, "kubernetesRedeploy": { "triggerTargets": [ "KUBERNETES_SERVICE" ], "executionTargets": [ "KUBERNETES_SERVICE" ], "displayName": "Redeploy", "workingDirectory": "etc/helm", "terminalCommand": "./build-image.ps1 -ProjectPath {{chart.metadata.projectPath}} -ImageName {{chart.metadata.imageName}} -ProjectType {{chart.metadata.projectType}} &&& ./install.ps1 -ChartName {{mainChart.name}} -Namespace {{profile.namespace}} -ReleaseName {{mainChart.name}}-{{profile.name}} -DotnetEnvironment {{mainChart.metadata.dotnetEnvironment}} {{~if metadata.k8ssuffix}} -User {{metadata.k8ssuffix}}{{end}}", "requireConfirmation": "true", "confirmationText": "Are you sure to redeploy the related chart '{{chart.name}}' for the service '{{name}}'?", "condition": "{{chart != null && chart.metadata.projectPath != null && chart.metadata.imageName != null && chart.metadata.projectType != null}}" }, "createTlsSecret": { "triggerTargets": [ "HELM_CHARTS_ROOT" ], "executionTargets": [ "HELM_CHARTS_ROOT" ], "displayName": "Create Self-Signed TLS secret", "workingDirectory": "etc/helm", "terminalCommand": "./create-tls-secrets.ps1 -Namespace {{profile.namespace}} {{~if metadata.k8ssuffix}} -User {{metadata.k8ssuffix}}{{end}}" } }, "helm": { "charts": { "fisapay": { "name": "fisapay", "path": "etc/helm/fisapay", "charts": { "administration": { "name": "administration", "path": "etc/helm/fisapay/charts/administration", "metadata": { "projectPath": "../../services/administration/Fisapay.AdministrationService/Fisapay.AdministrationService.csproj", "imageName": "fisapay/administration", "projectType": "dotnet" }, "services": [ ".*-administration$" ] }, "angular": { "name": "angular", "path": "etc/helm/fisapay/charts/angular", "metadata": { "projectPath": "../../apps/angular", "imageName": "fisapay/angular", "projectType": "angular" }, "services": [ ".*-angular$" ] }, "auditlogging": { "name": "auditlogging", "path": "etc/helm/fisapay/charts/auditlogging", "metadata": { "projectPath": "../../services/audit-logging/Fisapay.AuditLoggingService/Fisapay.AuditLoggingService.csproj", "imageName": "fisapay/auditlogging", "projectType": "dotnet" }, "services": [ ".*-auditlogging$" ] }, "authserver": { "name": "authserver", "path": "etc/helm/fisapay/charts/authserver", "metadata": { "projectPath": "../../apps/auth-server/Fisapay.AuthServer/Fisapay.AuthServer.csproj", "imageName": "fisapay/authserver", "projectType": "dotnet" }, "services": [ ".*-authserver$" ] }, "chat": { "name": "chat", "path": "etc/helm/fisapay/charts/chat", "metadata": { "projectPath": "../../services/chat/Fisapay.ChatService/Fisapay.ChatService.csproj", "imageName": "fisapay/chat", "projectType": "dotnet" }, "services": [ ".*-chat$" ] }, "elasticsearch": { "name": "elasticsearch", "path": "etc/helm/fisapay/charts/elasticsearch", "metadata": {} }, "filemanagement": { "name": "filemanagement", "path": "etc/helm/fisapay/charts/filemanagement", "metadata": { "projectPath": "../../services/file-management/Fisapay.FileManagementService/Fisapay.FileManagementService.csproj", "imageName": "fisapay/filemanagement", "projectType": "dotnet" }, "services": [ ".*-filemanagement" ] }, "gdpr": { "name": "gdpr", "path": "etc/helm/fisapay/charts/gdpr", "metadata": { "projectPath": "../../services/gdpr/Fisapay.GdprService/Fisapay.GdprService.csproj", "imageName": "fisapay/gdpr", "projectType": "dotnet" }, "services": [ ".*-gdpr$" ] }, "grafana": { "name": "grafana", "path": "etc/helm/fisapay/charts/grafana", "metadata": {}, "services": [ ".*-grafana$" ] }, "identity": { "name": "identity", "path": "etc/helm/fisapay/charts/identity", "metadata": { "projectPath": "../../services/identity/Fisapay.IdentityService/Fisapay.IdentityService.csproj", "imageName": "fisapay/identity", "projectType": "dotnet" }, "services": [ ".*-identity$" ] }, "kibana": { "name": "kibana", "path": "etc/helm/fisapay/charts/kibana", "metadata": {}, "services": [ ".*-kibana$" ] }, "language": { "name": "language", "path": "etc/helm/fisapay/charts/language", "metadata": { "projectPath": "../../services/language/Fisapay.LanguageService/Fisapay.LanguageService.csproj", "imageName": "fisapay/language", "projectType": "dotnet" }, "services": [ ".*-language" ] }, "mobilegateway": { "name": "mobilegateway", "path": "etc/helm/fisapay/charts/mobilegateway", "metadata": { "projectPath": "../../gateways/mobile/Fisapay.MobileGateway/Fisapay.MobileGateway.csproj", "imageName": "fisapay/mobilegateway", "projectType": "dotnet" }, "services": [ ".*-mobilegateway$" ] }, "payment": { "name": "payment", "path": "etc/helm/fisapay/charts/payment", "metadata": { "projectPath": "../../FisapayServices/payment/Fisapay.Payment/Fisapay.Payment.csproj", "imageName": "fisapay/payment", "projectType": "dotnet" }, "services": [ ".*-payment$" ] }, "prometheus": { "name": "prometheus", "path": "etc/helm/fisapay/charts/prometheus", "metadata": {} }, "rabbitmq": { "name": "rabbitmq", "path": "etc/helm/fisapay/charts/rabbitmq" }, "redis": { "name": "redis", "path": "etc/helm/fisapay/charts/redis" }, "saas": { "name": "saas", "path": "etc/helm/fisapay/charts/saas", "metadata": { "projectPath": "../../services/saas/Fisapay.SaasService/Fisapay.SaasService.csproj", "imageName": "fisapay/saas", "projectType": "dotnet" }, "services": [ ".*-saas$" ] }, "sqlserver": { "name": "sqlserver", "path": "etc/helm/fisapay/charts/sqlserver" }, "webgateway": { "name": "webgateway", "path": "etc/helm/fisapay/charts/webgateway", "metadata": { "projectPath": "../../gateways/web/Fisapay.WebGateway/Fisapay.WebGateway.csproj", "imageName": "fisapay/webgateway", "projectType": "dotnet" }, "services": [ ".*-webgateway$" ] } }, "metadata": {} } } }, "options": { "httpRequests": { "ignoredUrls": [ "^/metrics$" ] } }, "creatingStudioConfiguration": { "template": "microservice", "createdAbpStudioVersion": "0.9.14", "uiFramework": "angular", "multiTenancy": "true", "includeTests": "true", "databaseProvider": "ef", "databaseManagementSystem": "sqlserver", "theme": "basic", "themeStyle": "system", "mobileFramework": "react-native", "progressiveWebApp": "", "publicWebsite": "false", "socialLogin": "" } }
-
0
Can you ensure that anti-virus or something else is not blocking the file from read/write operations?