1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / License Activation Error

License Activation Error

6 posts, 0 answered
  1. RC
    RC avatar
    15 posts
    Registered:
    06 Apr 2010
    19 Nov 2010
    Link to this post
    Hi,
    When I opted Evaluation (Free Trial) and entered my Sitefinity account credentials,
    theres this error popup.

    An error has occurred while trying to get the license from the licensing server

    Don't know the exact cause. Could it be our proxy prevents Sitefinity to connect over Internet?
    Thank you.
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    19 Nov 2010
    Link to this post
    Hi,

    Most probably this is indeed the problem. It really depends how the proxy is set though - if it is globally for the workstation, or it has to be set up individually on each software.
    Please try to get a license manually from your Client.Net account. We will see if we can improve the automatic activation.

    Greetings,
    Georgi
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. RC
    RC avatar
    15 posts
    Registered:
    06 Apr 2010
    19 Nov 2010
    Link to this post
    Indeed that was the problem. Here is the workaround:

    I created a class library, build, and placed the dll inside sitefinity 4 project bin folder.
    Code is:

    using System;
    using System.Web;
    using System.Net;
     
     
    namespace ProxyHandler
    {
        public class Company : IHttpModule
        {
            public void Dispose()
            {
                 
            }
     
     
            public void Init(HttpApplication context)
            {
                context.BeginRequest += new EventHandler(context_BeginRequest);
            }
     
            void context_BeginRequest(object sender, EventArgs e)
            {
                WebProxy p = new System.Net.WebProxy("proxyip", 80);
                p.Credentials = new NetworkCredential("username", "password", "domain");
                WebRequest.DefaultWebProxy = p;
            }
     
     
        }
    }

    then placed this line in sitefinity 4 project web.config, under <httpModules>
    <add name="webprox" type="ProxyHandler.Company, ProxyHandler"/>

    Maybe online activation in future has an option to input proxy credentials. Just a suggestion.
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    19 Nov 2010
    Link to this post
    Hello,

    Thank you for the provided solution!
    We have logged the feature and added some Telerik points to your account. 

    Kind regards,
    Georgi
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Doug
    Doug avatar
    34 posts
    Registered:
    20 Sep 2010
    03 Jan 2011
    Link to this post
    Is this for the project manager app? When I try to activate the RC, I the login piece gets disabled and I can only select by file. I can do this and everything works. How can I get the login piece not to be disabled.
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    06 Jan 2011
    Link to this post
    Hello RC,

    "When I try to activate the RC, I the login piece gets disabled and I can only select by file."


    This could happen if you do not have connection to our server due to some reason. When the connection is available you should see both the text boxes available and get a license key by using your credentials. In the worst case you can download the key form your Client account and use the second option - upload a file from the file system.

    You might have the above problems if something blocks the requests to our server from where the key should be generated.

    And just a small comment for the ProxyHandler created above - this should not affect the project manager, because the IHttpHandler works for web application, but the project manager is windows application.  The workflow uses web requests, so using some custom handlers could  cause some issues, although I have not faced problems so far.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
6 posts, 0 answered