Jul 12, 2017, 3:26 PM
[CLOSED] Unlicensed Issue appearing...
Hi,
I keep getting an "unlicensed" message when publishing my app to our web servers. I'm using the same license key that we always use with many other projects but I cannot get this new project working. I'm broken the project down to the very basic, can someone spot what I'm missing:
My web.config file:
The following 4 files have been referenced:
Ext.Net.dll 3.3.0
Ext.Net.Utilities.dll 2.5.0
newtonsoft.json.dll 8.0.2
transformer.net.dll 2.1.1.
I'm publishing a debug version to IIS 7.0
Any ideas?
Andy
I keep getting an "unlicensed" message when publishing my app to our web servers. I'm using the same license key that we always use with many other projects but I cannot get this new project working. I'm broken the project down to the very basic, can someone spot what I'm missing:
My web.config file:
<configuration>
<configSections>
<section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false" />
</configSections>
<extnet licenseKey="MY LICENSE KEY HERE" />
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<httpHandlers>
<add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false" />
</httpHandlers>
<httpModules>
<add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" />
</httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net"/>
</modules>
<handlers>
<add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler"/>
</handlers>
</system.webServer>
</configuration>
My Default.aspx page:<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1.Default" %>
<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Ext.NET Example</title>
</head>
<body>
<ext:ResourceManager runat="server" Theme="Gray" />
<form runat="server">
<ext:Panel
ID="Window1"
runat="server"
Title="Welcome to Ext.NET"
Height="215"
Width="350"
Frame="true"
Collapsible="true"
Cls="box"
BodyPadding="5"
DefaultButton="0"
Layout="AnchorLayout"
DefaultAnchor="100%">
</ext:Panel>
</form>
</body>
</html>
This is created in Visual Studio 2013, a new empty web project with webforms enabled.The following 4 files have been referenced:
Ext.Net.dll 3.3.0
Ext.Net.Utilities.dll 2.5.0
newtonsoft.json.dll 8.0.2
transformer.net.dll 2.1.1.
I'm publishing a debug version to IIS 7.0
Any ideas?
Andy
Last edited by fabricio.murta; Aug 18, 2017 at 10:54 PM.