question

alokpaul-6201 avatar image
0 Votes"
alokpaul-6201 asked vb2ae answered

how to resolve the below error in .net core 3.0

Dear Team,
I have developed a .net core 3.0 application and trying to run the same in Google Cloud VM, the application run fine on my local server (DEV) but in Production I am getting below error.
Attached in screenshot of the error and web.config

Can someone please help



<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="" verb="" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\RetailerApp.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 3AFE5FCF-3127-4B03-A7B1-57505A79A10B-->






![91215-image.png][1]


dotnet-standard
image.png (41.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

vb2ae avatar image
0 Votes"
vb2ae answered

I am not very familiar with Google Cloud service. Since you are saying it is hosted in a VM I was wondering if you Installed the ASP.NET Core Module/Hosting Bundle


https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-5.0


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.