Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ivan 15 posts 125 karma points
    Sep 19, 2023 @ 10:38
    Ivan
    0

    Publishing Umbraco to Plesk server

    Hi all. Recently I've started again working with Umbraco and wanted to try to create new website Umbraco version 8.18.9. Since it's a relatively small website I've opted to use SQL CE as database. So far I have installed umbraco with visual studio community 2022, went through with installation and decided to publish my project via Publish to folder option. When trying to access website i get this error: Boot Failed Umbraco failed to boot, if you are the owner of the website please see the log file for more details. Log is as follows:

    {"@t":"2023-09-19T10:33:00.6317055Z","@mt":"{StartMessage} [Timing {TimingId}]","StartMessage":"Booting Umbraco 8.18.9.","TimingId":"0cb8baf","SourceContext":"Umbraco.Core.Runtime.CoreRuntime","ProcessId":6164,"ProcessName":"w3wp","ThreadId":1,"AppDomainId":2,"AppDomainAppId":"LMW3SVC38ROOT","MachineName":"WIN-RR3J3LBIKSF","Log4NetLevel":"INFO ","HttpRequestNumber":1,"HttpRequestId":"f3090978-f592-43b6-8a44-1e67207af0e0"}
    {"@t":"2023-09-19T10:33:00.6567086Z","@mt":"Booting site '{HostingSiteName}', app '{HostingApplicationID}', path '{HostingPhysicalPath}', server '{MachineName}'.","HostingSiteName":"ivancavar.demo.ba","HostingApplicationID":"/LM/W3SVC/38/ROOT","HostingPhysicalPath":"C:\\Inetpub\\vhosts\\ivancavar.demo.ba\\httpdocs\\","MachineName":"WIN-RR3J3LBIKSF","SourceContext":"Umbraco.Core.Runtime.CoreRuntime","ProcessId":6164,"ProcessName":"w3wp","ThreadId":1,"AppDomainId":2,"AppDomainAppId":"LMW3SVC38ROOT","Log4NetLevel":"INFO ","HttpRequestNumber":1,"HttpRequestId":"f3090978-f592-43b6-8a44-1e67207af0e0"}
    {"@t":"2023-09-19T10:33:00.7572270Z","@mt":"Acquiring.","SourceContext":"Umbraco.Core.Runtime.MainDom","ProcessId":6164,"ProcessName":"w3wp","ThreadId":1,"AppDomainId":2,"AppDomainAppId":"LMW3SVC38ROOT","MachineName":"WIN-RR3J3LBIKSF","Log4NetLevel":"INFO ","HttpRequestNumber":1,"HttpRequestId":"f3090978-f592-43b6-8a44-1e67207af0e0"}
    {"@t":"2023-09-19T10:33:00.7592288Z","@mt":"Acquired.","SourceContext":"Umbraco.Core.Runtime.MainDom","ProcessId":6164,"ProcessName":"w3wp","ThreadId":1,"AppDomainId":2,"AppDomainAppId":"LMW3SVC38ROOT","MachineName":"WIN-RR3J3LBIKSF","Log4NetLevel":"INFO ","HttpRequestNumber":1,"HttpRequestId":"f3090978-f592-43b6-8a44-1e67207af0e0"}
    {"@t":"2023-09-19T10:33:08.7482527Z","@mt":"{FailMessage} ({Duration}ms) [Timing {TimingId}]","@l":"Error","@x":"Umbraco.Core.Exceptions.BootFailedException: A connection string is configured but Umbraco could not connect to the database.\r\n   at Umbraco.Core.RuntimeState.DetermineRuntimeLevel(IUmbracoDatabaseFactory databaseFactory) in D:\\a\\1\\s\\src\\Umbraco.Core\\RuntimeState.cs:line 188\r\n   at Umbraco.Core.Runtime.CoreRuntime.DetermineRuntimeLevel(IUmbracoDatabaseFactory databaseFactory, IProfilingLogger profilingLogger) in D:\\a\\1\\s\\src\\Umbraco.Core\\Runtime\\CoreRuntime.cs:line 498\r\n   at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer) in D:\\a\\1\\s\\src\\Umbraco.Core\\Runtime\\CoreRuntime.cs:line 186","FailMessage":"Boot failed.","Duration":8128,"TimingId":"0cb8baf","SourceContext":"Umbraco.Core.Runtime.CoreRuntime","ProcessId":6164,"ProcessName":"w3wp","ThreadId":1,"AppDomainId":2,"AppDomainAppId":"LMW3SVC38ROOT","MachineName":"WIN-RR3J3LBIKSF","Log4NetLevel":"ERROR","HttpRequestNumber":1,"HttpRequestId":"f3090978-f592-43b6-8a44-1e67207af0e0"}
    

    Web config file part regarding code access

      <connectionStrings>
        <remove name="umbracoDbDSN" />
        <add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf;Flush Interval=1;" providerName="System.Data.SqlServerCe.4.0" />
      </connectionStrings>
      <system.data>
        <DbProviderFactories>
          <remove invariant="System.Data.SqlServerCe.4.0" />
          <add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe" />
        </DbProviderFactories>
      </system.data>
    

    Any ideas about what am I doing wrong?

Please Sign in or register to post replies

Write your reply to:

Draft