Open Closed

Abp-Studio-crash #8840


User avatar
0
direccionti created

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.

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,

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

6 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Can you provide us *.abpsln file of your solution? There can be a problem in that file maybe

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @direccionti

    Can you delete .abpstudio\state.json file in the solution, and then try again?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    direccionti created

    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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    direccionti created
    > {
      "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": ""
      }
    }
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Can you ensure that anti-virus or something else is not blocking the file from read/write operations?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.