Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04/01/2006 9:48 PM by  Peter Donker
Can't generate activation key
 9 Replies
Sort:
You are not authorized to post a reply.
Author Messages
James Godbold
New Member
New Member
Posts:10


--
03/23/2006 1:21 PM

    I've just purchased and installed DMX 03.03.01. It's always said my license is on order even though I've never activated it and put the key into the web.config file? There is no option to generate a key on the license page just a cancel button.

    Is this right? Surely I should have an option to generate the key?

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    03/23/2006 2:05 PM
    James,
    This is correct behavior. If the module says the license is OK, it is OK. Under certain conditions this can happen. It is highly unlikely it will ask for activation if you do not change the server configuration. Note that future updates still might require activation.
    Kind regards,
    Peter Donker
    James Godbold
    New Member
    New Member
    Posts:10


    --
    03/23/2006 3:56 PM

    Okay thanks peter. The docs seemed to suggest I had to enter this into the web.config so I thought something was up.

    Do I have to run the app as

    If I use the default medium trust, I get permission errors from the DMX module when I try and do something.

    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    03/23/2006 7:11 PM
    Please consult the installation FAQ on this site about activation.

    About the medium trust issue: what version of DNN are you using?

    Peter
    James Godbold
    New Member
    New Member
    Posts:10


    --
    03/24/2006 10:35 AM
    Running DNN 3.2.2

    I'm running it in Full trust at the moment to get the DMX module to work.
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    03/24/2006 10:43 AM
    What error do you get? I have it running here under medium trust on a DNN 4.0.2 installation even. Note that you cannot use a repository outside the web application on the hard disk of the server when running medium trust without specifically giving the DMX dlls a higher trust level.
    Peter
    James Godbold
    New Member
    New Member
    Posts:10


    --
    03/24/2006 3:29 PM
    The repository is the default one, under the portal directory.

    If I try and add a folder or an item i get the following exception:

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Security Exception
    Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

    Exception Details: System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

    Source Error:


    Line 25: <asp:placeholder id="phDNNHead" runat="server">
    Line 26:
    Line 27: Line 28: TOPMARGIN="0" RIGHTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
    Line 29:


    Source File: E:\Clients\cip-bluebook.com\wwwroot\Default.aspx Line: 27

    Stack Trace:


    [SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.]
    System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken) +675
    System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames, Int32 unrestrictedOverride) +0
    System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark, PermissionType permType) +140
    System.Security.CodeAccessPermission.DemandInternal(PermissionType permissionType) +229
    System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +41
    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +136
    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) +13
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +1417
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +767
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +742
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +850
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +430
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +900
    System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) +875
    System.Web.UI.LosFormatter.SerializeInternal(TextWriter output, Object value) +102
    System.Web.UI.Page.OnFormRender(HtmlTextWriter writer, String formUniqueID) +143
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +35
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +262
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
    System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +29
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    ASP.Default_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in E:\Clients\cip-bluebook.com\wwwroot\Default.aspx:27
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) +101
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +241
    System.Web.UI.Page.ProcessRequestMain() +1926




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    03/24/2006 4:58 PM
    James,
    This kind of thing is a nightmare to debug. There is nothing specific in the trace that points me to where the server has a problem with the code. And MS does not have anything useful to help developers pass this. Unfortunately I'm also unable to reproduce this error here, so I'm left with very little to work with. Is it not an option to grant the DMX dlls full trust?
    Peter
    James Godbold
    New Member
    New Member
    Posts:10


    --
    03/28/2006 12:26 PM
    Do you have any information on how to grant the DMX dlls full trust? Is this done from the .NET configuration util in the control panel?
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    04/01/2006 9:48 PM
    James,
    I'm pulling my hair out on this. I've done research on this but you need to be some IIS wizard to do this. It's probably all there at the msdn site, but it will take some time to consume this info. I'd just grant full trust and then start locking down until the app fails.
    Peter
    You are not authorized to post a reply.