Base solution for your next web application
Open Closed

Issue at web.host deploy #11097


User avatar
0
onecontact created
  • What is your product version? - 11.2
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? Net 6.0

Hello, after deploy the website in iis, I'm getting this error:

Looking in the eventviewer:

appsettings.Production.json { "ConnectionStrings": { "Default": "Server=scs-*****, 1600; Database=OneContactDb; User=sa; Password=***********" }, "App": { "ServerRootAddress": "http://localhost:9901/", "ClientRootAddress": "http://localhost:4200/", "CorsOrigins": "http://localhost:9902" }

Please can help me?

Regards.


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    1. Is this the first time you are deploying to that server ? If so, could you install .NET 6.0 Runtime (v6.0.5) - Windows x64 Installer! ?
    2. If not, could you share your deployed app's web.config file if it exist ?

    Thanks,

  • User Avatar
    0
    onecontact created

    Hello: 1. Yes, 2: In event viewer are showing this:

    But this exist and have permissions:

    We are using the one solution project.

    web.config: <?xml version="1.0" encoding="utf-8"?> &lt;configuration> &lt;location path="." inheritInChildApplications="false"> &lt;system.webServer> &lt;handlers> <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> &lt;/handlers> <aspNetCore processPath="dotnet" arguments=".\Skanix.Enterprise.Web.Host.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" /> &lt;/system.webServer> &lt;/location> &lt;/configuration> <!--ProjectGuid: 9fc37c62-2105-4d32-9724-7323b959504b-->

    <br> Regards

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @junior1986

    Does that folder have permission for related IIS app pool ? If so, is it possible for us to connect to your machine and check this problem ?

    Thanks,

  • User Avatar
    0
    onecontact created

    Hello, yes, it has permissions, if you could connect, how do we handle it?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Please send an email to [email protected] and we can arrange a meeting to check this problem.

    Thanks,