An unhandled exception occurred while processing the request.
Helo,
I use Azure SQL to connect with my umbraco app.
When run via source code (IIS express) the system can work fine.
But when I run via docker I received error as below. I am not sure what is the issue.
Below is sample of my docker file:
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src COPY ["CMS_CMI/CMS_CMI.csproj", "CMS_CMI/"] RUN dotnet restore "CMS_CMI/CMS_CMI.csproj" COPY . . WORKDIR "/src/CMS_CMI" RUN dotnet build "CMS_CMI.csproj" -c Release -o /app/build
FROM build AS publish RUN dotnet publish "CMS_CMI.csproj" -c Release
-o /app/publish /p:UseAppHost=false
FROM base AS final WORKDIR /app COPY --from=publish /app/publish . ENTRYPOINT ["dotnet", "CMS_CMI.dll"]
An unhandled exception occurred while processing the request.
Helo,
I use Azure SQL to connect with my umbraco app. When run via source code (IIS express) the system can work fine. But when I run via docker I received error as below. I am not sure what is the issue.
Below is sample of my docker file:
Please help.
Is there anything in the Umbraco Log that points at the cause?
is working on a reply...