Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

No language defined in this application #3069


User avatar
0
bilalhaidar created

Hi, I am trying to host an app on Windows Azure. I am getting an exception that you can check here: <a class="postlink" href="https://drc-greece.azurewebsites.net/">https://drc-greece.azurewebsites.net/</a>

Any idea? Thanks


7 Answer(s)
  • User Avatar
    0
    bilalhaidar created

    Actually, I stopped and started the app and the exception for "No language defined in this application" vanished.

    Now looking at the Log.txt, I can see the following. Any idea?

    Web Sockets are enabled for this Web App on Azure.

    DEBUG 2017-04-28 20:09:49,295 [14   ] Abp.Web.SignalR.Hubs.AbpCommonHub        - A client is connected: {"ConnectionId":"272a76f1-fd59-47d8-8b2b-cbe96e71b762","IpAddress":"79.131.39.40","TenantId":2,"UserId":4,"ConnectTime":"2017-04-28T20:09:49.2953126Z","Properties":{}}
    DEBUG 2017-04-28 20:09:49,404 [12   ] Abp.Web.SignalR.Hubs.AbpCommonHub        - A client is registered: 272a76f1-fd59-47d8-8b2b-cbe96e71b762
    DEBUG 2017-04-28 20:09:52,929 [14   ] Abp.Auditing.WebClientInfoProvider       - System.Net.Sockets.SocketException (0x80004005): No such host is known
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
       at Abp.Auditing.WebClientInfoProvider.GetClientIpAddress()
    
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you check your azure db if any language exist ? You can try to apply migrations to your db again.

  • User Avatar
    0
    bilalhaidar created

    Yes this works. But still the other problem with no host etc.

    What is that about. Which component is generating it you think and why?

    I read somewhere on the forums that because website was access through http and azure sql is always https that's why this error was generated but in my case website is https.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Sorry, first I didn't understand your question very well I think. The log you are seeing is not an error I think, it is an informative log.

    Are you having a problem on the UI related to this ?

  • User Avatar
    0
    bilalhaidar created

    Which section of the ui I should test to know if. Have an error? Chat and friendship you think?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I think this will only effect audit logging. According to this message you cannot get client's IP address information.

  • User Avatar
    0
    bilalhaidar created

    Ok thanks. I'll try to monitor this error once I move website to domain