Open Closed

No language defined in this Application #556


0
danielbo20 created

Hi,

First, great document for getting started with the Application! I have looked through all of the forums regarding Languages, but I have huge problem when trying to launch the application it in Visual Studio. I get the following error: “

” An exception of type 'Abp.AbpException' occurred in Abp.dll but was not handled in user code Additional information: No language defined in this Application. “ ” Visual Studio is highlighting the following code: “ ” headerModel.CurrentLanguage = LocalizationManager.CurrentLanguage; “ I love this feature, and would like to keep it. I’m currently located in Norway, and I’m not sure if this is the case as it is based on location. Can you please assist me on how to insert the default Language and show me where to do it?


4 Answer(s)
  • 0
    hikalkan created

    Hi,

    Have you run EF update-database command? Can you check your database's Languages table if there is any record? Is that happen when you first try to run application?

    Thanks.

  • 0
    danielbo20 created

    Hi,

    I have run the EF update command, and I can see that I have all the table in my Azure database, and yes, I have added informastion in the table regarding language - perhapas I have not added "English" correct. Perhaps you can tell me how I should insert the "Default" in the Sql Table for English?

    Yes, this happens when I try to run the application from Visual Studio.

  • 0
    danielbo20 created

    I managed to solve it! :)

  • 0
    kafuzlum created

    danielbo20: I managed to solve it! :)

    We are extremely glad for you. Be so nice and tell others how you did it. Thanks