| 
                                                                        
                                                                         
                                                                            
                                                                                gvspm
                                                                            - 
                                                                                11/16/2006 12:43:52 PM
                                                                            
                                                                         
                                                                         
                                                                            
                                                                        
                                                                        
                                                                         
                                                                        
                                                                        
                                                                        
                                                                        
                                                                        
                                                                         
                                                                        
                                                                            Your license key has wrong format when inserting new node via api
                                                                        
                                                                            Hello,
  I'm writing a custom module for the Tools section. When i insert a new node via the API, i get "Your license key has wrong format": My trial v2.0 expires in 8 days.
  Am i not allowed to extend the tools section whitout a retail license? Any hints?
  <code> CMS.TreeEngine.TreeNode node = CMS.CMSHelper.TreeHelper.SelectSingleNode(myAliasPath); node = new CMS.TreeEngine.TreeNode("sh.resort"); node.SetValue("NodeName", myNodeName); node.SetValue("NodeAlias", myNodeName); node.SetValue("Content", "dummy content"); node.DocumentCulture = "de-DE"; node.Insert(CMS.CMSHelper.TreeHelper.SelectSingleNode(parentPath).NodeID); </code>
  <code> [Exception: Your license key has wrong format.]    Kentico.LicenseProvider.LicenseManager.CheckLicenseValidity() +1018    Kentico.CMS.DataEngine.GeneralConnection..ctor() +8    Kentico.CMS.TreeEngine.TreeProvider.get_Connection() +29    Kentico.CMS.TreeEngine.TreeProvider.SelectSingleNode(String path, TreePathTypeEnum pathType) +130    Kentico.CMS.Form.CMSForm.LoadForm() +1098    Kentico.CMS.Form.CMSForm.CreateChildControls() +5    System.Web.UI.Control.EnsureChildControls() +87    System.Web.UI.Control.PreRenderRecursiveInternal() +41    System.Web.UI.Control.PreRenderRecursiveInternal() +161    System.Web.UI.Control.PreRenderRecursiveInternal() +161    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360 </code>
  
                                                                         
                                                                        
                                                                            
                                                                         
                                                                        
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                            
                                                                            
                                                                            
                                                                            
                                                                         
                                                                        
                                                                         
                                                                     |