ASP.NET StoreKeys not writing to registry

Comments

3 comments

  • Official comment
    Avatar
    Soraco Technologies

    Hi Jonathan

     

    Writing to the registry requires specific privileges. Typically, an ASP.NET application runs in the context of an Application Pool and an Application Pool runs as a specific user. 

    Please confirm the following:

    1. You are activating the license in the context of your ASP.NET app and not from an external tool like the QLM License Wizard (exe).

    2. Your ASP.NET app has its own Application Pool

    3. You have set the QlmLicense.StoreKeysOptions property to EStoreKeysOptions.EStoreKeysPerUser or 

    EStoreKeysOptions.EStoreKeysPerUserAndMachine

    4. If you are running the latest version of QLM v10, please try the sample that we provide in this folder and verify if it works as expected for you:

    C:\Users\Public\Documents\Quick License Manager\Samples\qlmpro\Windows\DotNet\C#\QlmAspDotNetSample

     

    Regards

    John

    Comment actions Permalink
  • Avatar
    Jonathan A. Brown

    It was the Application Pool. I had it set to DefaultApplicationPool, which uses AplicationPoolIdentity instead of Local System. Changing to Local System allowed it to store the keys in the registry.

     

    Thank you very much.

    0
    Comment actions Permalink
  • Avatar
    Soraco Technologies

    Excellent.

    If you are satisfied with our support or product, we would very much appreciate some feedback:

     

    0
    Comment actions Permalink

Please sign in to leave a comment.