Copied to clipboard

Flag this post as spam?

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


  • Sonja 132 posts 620 karma points
    Oct 29, 2018 @ 05:56
    Sonja
    0

    error on the second project

    Hi,

    I have 1 umbraco project and the second project is empty web project with web api and there I have installed umbracocms.core. when I try to run the web api I'm getting error

    enter image description here

    please advice

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Oct 29, 2018 @ 09:35
    Alex Skrypnyk
    0

    Hi Sonja

    Try to remove this code and run the project

    Thanks,

    Alex

  • Sonja 132 posts 620 karma points
    Oct 29, 2018 @ 09:38
    Sonja
    0

    I need a web api project. Do I need to remove this code even then? If not here then where I should set the configuration for web.api?

  • Sonja 132 posts 620 karma points
    Oct 29, 2018 @ 09:48
    Sonja
    0

    I'm getting the following error: The following errors occurred while attempting to load the app. - The OwinStartupAttribute.FriendlyName value 'UmbracoDefaultOwinStartup' does not match the given value '' in Assembly 'umbraco, Version=1.0.6837.12341, Culture=neutral, PublicKeyToken=null'. - No assembly found containing a Startup or [AssemblyName].Startup class. To disable OWIN startup discovery, add the appSetting owin:AutomaticAppStartup with a value of "false" in your web.config. To specify the OWIN startup Assembly, Class, or Method, add the appSetting owin:AppStartup with the fully qualified startup class or configuration method name in your web.config.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Oct 29, 2018 @ 10:56
    Alex Skrypnyk
    0

    Yes, lets try it.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Oct 29, 2018 @ 10:56
    Alex Skrypnyk
    0

    Do you have all needed references?

  • Sonja 132 posts 620 karma points
    Oct 29, 2018 @ 11:09
    Sonja
    0

    seems like something is missing from umbracocms.core

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Oct 29, 2018 @ 11:13
    Alex Skrypnyk
    0

    try to reinstall nuget package

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Oct 30, 2018 @ 10:26
    Alex Skrypnyk
    0

    Hi Sonja

    Did you solve the issue?

    Alex

  • Sonja 132 posts 620 karma points
    Oct 31, 2018 @ 07:39
    Sonja
    0

    No I'm constantly getting the same issue. Reinstalled it several times but still I have the same issue.

    What I did is temporary, instead of installing UmbracoCms.core I installed UmbracoCms and I copied the connection string in the web.config. This is only temporary solution so that we can continue developing.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies