Quantcast
Channel: DevNet Questions
Viewing all 11920 articles
Browse latest View live

Resource IDs showing instead of string values when deployed to Azure

$
0
0
Hi,I deployed a Kentico 10 web application to Azure, using a free license. When I browse to any page that uses localised resources, instead of displayed the resource value, the ID of the resource is displayed instead. Even in the Admin portal.e.g. On the admin portal login screen, the password field's label is 'LogonForm.Password'.When I run the web app locally against the same Azure database, all is ok. So it must be a file issue somewhere. Any ideas would be greatly appreciated!Thanks, Tim

403 - Forbidden: Access is denied in Kentico

$
0
0
I am getting this error : 403 - Forbidden: Access is denied.While I trying to login to admin panel of kentico 10 using any users in the database.I was synchronising the pages using staging module, after synchronising this issue appears.Looks like none have editor access which is the minimum privilege level.I tried to alter DB but that tool not worked. How to solve this issues?

Multiple CMSEditableRegion in ascx?

$
0
0
I have three CMSEditableRegion controls inside of an ascx which needs to be on an aspx page 3 or more times.The problem is that each of the region controls will always contain the content of the last set of them.After doing a little research, I've found out it saves the content of the control in the database under the ID of the control meaning that the first CMSEditableRegion will have it's content overwritten by the last CMSEditableRegion's content. Well, rather, that was for Kentico 5 but what I'm seeing tends to support this. Unfortunately, the solution I found for Kentico 5 does not work in Kentico 10.How can I have multiple CMSEditableRegion controls in an ascx that is going to be on the aspx page multiple times?

OrderBy Parameter Ignored?

$
0
0
I have a number of products divided into categories by node. I'm trying to loop through all the products and list them in the same order as they are shown in the CMS, but nothing I've tried works. The CMS lists the products as follows:-- Category 1 -- Product 1 -- Product 2 -- Category 2 -- Product 3 -- Product 4 -- Category 3 -- Product 5 -- Product 6 If the OrderBy parameter for the repeater is @NodeLevel, NodeOrder,@ I get the following output:-- Product 1 -- Product 3 -- Product 5 -- Product 6 -- Product 4 -- Product 2 No value that I pass for the order seems to change anything. (The delayed loading is so that I can dynamically pass a path, and this works fine.) What am I missing?@cms:CMSRepeater runat=@server@ ID=@ProductsByCategory@ ClassNames=@Custom.Product@ TransformationName=@Custom.Product.ProductGrid_WithCategory@ DelayedLoading=@true@ WhereCondition=@IsKit=0@ OrderBy=@NodeOrder, NodeLevel@@ @/cms:CMSRepeater@

Membership products

$
0
0
Hello,How can I display membership products with radio buttons on a page. I have 3 products: 1 Year, 2 years, 3 years, with different prices and each is assigned to a membership. I want to display them on a page with radio buttons and when one is picked the user to be redirected on payment info page and skip add to cart process. I'm using Kentico 10.Thanks

Error Restoring Media Files from Recycling Bin

$
0
0
We are running on Kentico v9. When attempting to restore a media file from the recycling bin, I get a message saying an error occurred and to check the event log. In the log is this entry:Message: [SyncManager.UpdateObject]: Cannot translate columns 'FileLibraryID', import the dependent objects first.Exception type: System.Exception Stack Trace: at CMS.Synchronization.SyncManager.UpdateObject(GeneralizedInfo@ infoObj, DataSet ds, TranslationHelper th, Boolean updateChildren, DataSet binaryData, Boolean addToSite, List`1 postProcessList) at CMS.Synchronization.SyncManager.UpdateObjects(BaseInfo infoObj, DataSet ds, TranslationHelper th, Boolean updateChildren, DataSet binaryData, Boolean addToSite, Boolean logTasks) at CMS.Synchronization.SyncManager.UpdateObject(DataSet objectDS, DataSet binaryData, String taskObjectType, TranslationHelper th, Boolean updateChildren, Boolean addToSite) at CMS.Synchronization.SyncManager.ProcessTaskInternal(IStagingTaskData stagingTaskData, Boolean processChildren, StagingSynchronizationHandler handler) at CMS.Synchronization.SynchronizationEngineModule.ProcessTask(Object[] parameters) at CMS.DataEngine.Module.ProcessCommand(String commandName, Object[] parameters) at CMS.DataEngine.ModuleCommands.SynchronizationProcessTask(OperationTypeEnum operationType, TaskTypeEnum taskType, String taskObjectType, String taskData, String taskBinaryData, Boolean processChilds, String siteName) at CMS.Synchronization.ObjectVersionManager.RestoreObjectVersion(ObjectVersionHistoryInfo versionHistory, Boolean processChilds, Int32 siteId) at CMSModules_Objects_Controls_ObjectsRecycleBin.ugRecycleBin_OnAction(String actionName, Object actionArgument)Has anyone seen this error before?

New product (Notification template text) need help with Marco Expression {%notificationcustomdata.X

$
0
0
I am trying to make a New Product Email template but I have ran into some real trouble getting what I thought would be easy items into the template What I want was:Hi there {%notificationuser.FullName#%},A New Blog Post Blog Post Title has been added.Blog LinkBut I cannot seem to get the Marco expression correct I have tried different combinations trying to figure out the syntax for the {%notificationcustomdata.XXX%} expression to pull CONTENT_BlogPost table data

This plugin is not supported

$
0
0
Hi,After uploading mp3 files using the @insert image or media@ pop up on the text editor and selecting a mp3 file to add on the page, we get an error message @This plugin is not supported@ on chrome. Any way that kentico can add an audio tag?Also when avideo file is added on the page can it add a video tag? Thank you

Facebook autopost permissions screencast

$
0
0
I'm trying to set up the autopost from Kentico to Facebook. I have created the app but keep getting rejected by Facebook when trying to approve the permissions. Following the suggestions in this post ( link text) I have created a screencast that shows a user logging into the admin section and setting up a page and viewing the Insights data. This was rejected with the comment: @Your screencast doesn't show how this permission is used in your app@What am I missing? I understand Facebook keeps changing their policy but this is getting ridiculous.

Kentico 10 is constantly kicking out the admin user.

$
0
0
I have installed the free version of Kentico 10 on my host and while i can login as Admin every time i go to do something it boots me back to the login screen. I login and I can do what i was trying to do, but then i go somewhere else and it boots me out again. It is very odd and sporadic. Sometimes i can get to four or five pages but without fail it will eventually kick me out.Any idea what is going on here? I have Ver 8 running on the same server setup without issue.

How to access the values of web part properties in the layout?

$
0
0
In the Kentico Documentation I only found the info as below...Is there any way to access the properties value in the layout as show below? I tried to use macro but it didn't work.I just want to display the properties value in my custom layout. Any methods other than access through the code? I'm using portal engine, I have no idea how to access the code behind...

How to use my new custom web part in the page type transformation?

$
0
0
I have created few web part, now I want to use it in the page type transformation.How can I use my newly created web part in the page type transformation with transformation type Text/XML?

What and usage of 'Proc_CMS_Class_GetXmlSchema'

$
0
0
Hi, My website unable to display, and check the event viewer, it mention 'Execute permission denied 'Proc_CMS_Class_GetXmlSchema'.What is this store procedure? What is this store procedure usage? Why do it required to execute?Required urgent reply. Thanks

AWS(Amazon Web Service ) SDK integration with Kentico

$
0
0
How can I use AWS SDK in kentico ?

Disabel CSRF Protection for specific .aspx page

$
0
0
I have a set of aspx page to which deals custom sso login for my Kentico site, Where the sso server directly POST the SAML response to one my .aspx page, Its fine so far, Few days back we applied Hot Fix 9.0.50 which result following error Value cannot be null. Parameter name: s Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: s Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [ArgumentNullException: Value cannot be null. Parameter name: s] System.Convert.FromBase64String(String s) +14096436 CMS.Protection.CsrfProtection.OnPostMapRequestHandlerExecute(Object sender, EventArgs eventArgs) +414 [CsrfException: CSRF attack detected.] CMS.Protection.CsrfProtection.ThrowCsrfException(Exception innerException) +69 CMS.Protection.CsrfProtection.OnPostMapRequestHandlerExecute(Object sender, EventArgs eventArgs) +537 CMS.Base.AbstractHandler.CallEventHandler(EventHandler`1 h, TArgs e) +114 CMS.Base.AbstractHandler.Raise(String partName, List`1 list, TArgs e, Boolean important) +914 CMS.Base.SimpleHandler`2.RaiseExecute(TArgs e) +136 CMS.Base.SimpleHandler`2.RaiseExecute(TArgs e) +172 CMS.Base.SimpleHandler`2.StartEvent(TArgs e) +287 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean@ completedSynchronously) +92 I know this is because SSO server directly post the response to Kentico site without token, so in order immediately fix this issue I added @add key=@CMSEnableCsrfProtection@ value=@false@ /@ to web.config to get rid of error and site run smooth as before, but I want to know this will cause any security issue or is there any way to disable CsrfProtection for specific .aspx alone instead of global.

Kentico 10 Documents macro isn't working

$
0
0
Hello,I have issue with kentico 10 Documents macro. I tried like this:{% Documents[@/Home@] %} and{% Documents.Where(@NodeAliasPath='/Home'@).FirstItem %} But in both cases I don't get any results (like that page doesn't exist) -@ Always returns NULL. If I try to run this two macros in System -@ Macros -@ Console, then everything works perfect (I have this page with this node alias path in DB) but I can't get any results on my page.Already tried:Clear cacheRestart applicationSign all macros as Global AdministratorOther macro methods works fine, I have issue only with this one.Thanks, Dragoljub

Kentico 8 - Restricting access to pages based on Roles/Permissions

$
0
0
Hi there,I'm looking to restrict access to a folder and child pages to one specific user group (brought in from AD). Nothing seems to be working. I tried following the instructions here (https://docs.kentico.com/k81/managing-users/configuring-permissions/configuring-page-permissions/page-level-permissions-acls/hiding-pages-based-on-permissions), to no avail.I even tried denying the read role for my user, but on the live site I can still see everything. What am I missing?Thanks

Query Macros

$
0
0
In a SQL query for a report, I am using:WHERE myField LIKE '%{%CurrentUser.UserName#%}%' But I'm trying to use that same syntax (and I've tried a few others) in a Document Type Query and it is not working. What is going on here? How can I inject the current username into my query?Thanks!

Kentico 10 - Content Staging w/ Smart Search Indexing Enabled

$
0
0
I'm having an issue with Kentico, hotfix 10.0.10, where I stage a large chunk of content. When I disable Smart Search Indexing on both servers, the content stages as expected. Is this a performance issue? IIS configuration issue? Or something else?The error I receive is:The worker thread has been aborted, this might have been caused by the application restart. Please check if the action succeeded and repeat the action if not.The event log on my server is as follows:Thanks,Dylan McDonald

Pull data from another page through repeater to current page.

$
0
0
Is there a code where I can find/locate data/field from an exiting transformation on another page and full that to a current page inside another transformation?(Example page: @Players.aspx@ ) Tom Brady @%# Eval(@footballName@) %@Without duplicating the content in the CMS desk at all. Pull just that data?(Example page: @AllPlayers.aspx@ ) Tom Brady
Viewing all 11920 articles
Browse latest View live