Finally graduating from Lite but...

zumwalt
edited April 2012 in DotNet
8548: 09:53:58.676 - Application: "Policy" started in app domain: 6
8548: 09:53:58.732 - CService::OnException() - Exception: CCLRApplicationCollection::SetDefaultApplication() - Unknown application: "Lite"
8548: 09:53:58.732 - Server shutting down...



I finally got my own server build (lazy aren't I, all these years only using LITE....)
So my application is KosmosAionios.KosmosAioniosApplication and I have everything setup so it loads on launch properly:

8548: 09:53:38.305 - About to load application: KosmosAionios from KosmosAionios
8548: 09:53:38.305 - Auto restart is enabled for application
8548: 09:53:38.305 - Application will restart 10000ms after the last change detected
8548: 09:53:38.305 - Application will restart if files matching the following are changed: "dll;config"
8548: 09:53:38.305 - Application will NOT restart if files matching the following are changed: "log4net.config"
8548: 09:53:42.410 - Application: "KosmosAionios" started in app domain: 2

But I can't figure out how to fix that dang policy error.

Comments

  • > I finally got my own server build (lazy aren't I, all these years only using LITE....)

    Hehe. It proves that you can get far with Lite alone :)

    > Exception: CCLRApplicationCollection::SetDefaultApplication() - Unknown application: "Lite"

    It's not the policy. It's Lite that the server still tries to load. Maybe you removed / renamed that folder? It's looking for \deploy\lite\...dll
    Get rid of the Lite "Application" node in the config and make sure that the applications-node "default" is no longer pointing to Lite.
  • It was much simplier than that LOL, I forgot one line in the XML config file:
    <Applications Default="KosmosAionios">

    That was still set to Lite.. gofigure.
    Yea 2 years using Lite, now the real challenge begins, I want to implement some database calls between the clients to the server with specific results back to the calling client, so trying to figure that one out.