Click here to Skip to main content
15,742,759 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
when i want to publish web app working on dotnet core core 2.2 I get server error
Application 'MACHINE/WEBROOT/APPHOST/TABBACKEND' with physical root 'D:\WebModule\BackEnd\' failed to start process with commandline 'dotnet .\FormFunctions.dll', ErrorCode = '0x80070002' : 0.

on event log
How to solve this problem ?

What I have tried:

I already installed .net core 2.2.7 run time and already run on server
Updated 23-Oct-19 16:01pm

1 solution

Make sure that the file system permissions (read, write, create...) are set properly for where you are publishing the site to; for both you and the IIS users

Dreaded ErrorCode = '0x80070002 on IIS · Issue #1234 · aspnet/Hosting · GitHub[^]
Share this answer
ahmed_sa 24-Oct-19 0:01am    
thank you for reply
according to permission file system and my project i give full access control read and write and create
my publish for both me and iis users
can you tell me what can i try after that
it take too much time

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900