How do you debug a customization

Teresa Boettcher asked on November 17, 2022 22:43

I am working on resolving a 500 internal server error. Is there a way I can display column values using a debugger?

Recent Answers


Dmitry Bastron answered on November 18, 2022 09:09

Hi Teresa,

Apologies but your question contain very little context. Could you please provide more information:

  • What version of Kentico are you using? Is it Portal Engine, MVC or .Net Core MVC?
  • Where do you see 500 error? Is it for the entire website or certain pages? Can you open the CMS admin interface?
  • What columns in the debugger are you referring to?
0 votesVote for this answer Mark as a Correct answer

Teresa Boettcher answered on November 18, 2022 17:55

Hi Dmitry,

Our Version of Kentico is V13. I'm seeing this error when sending out mass emails through a Create Bulk Email screen. Within the database the cms_email.EmailBody is showing an error with some truncation going on. I have added customizations to the form file to loop through the list of email addresses and send out multiple emails but it doesn't seem to be affecting by my changes.

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on November 18, 2022 18:02

I don't think I know what is "Create Bulk Email screen". Do you mean Email Marketing or something different? Are you sending newsletters or emails after form submission or something else?

Could you please expand on "I have added customizations to the form file" - how exactly the customization was made?

0 votesVote for this answer Mark as a Correct answer

Teresa Boettcher answered on November 18, 2022 18:22

The Create Bulk Email screen is s custom Page Template with a user control that indicates references a CMSFormControl. It allows the selection of email addresses with a Marketing message. Sends emails out after the form has been submitted.

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on November 18, 2022 18:36

It looks a bit strange, the Forms already have the possibility of sending emails upon submission, please refer here, why do you need this customization you mentioned? The standard behaviour allows to send emails to multiple persons including Cc and Bcc if I'm not mistaken.

I don't fully understand what you have customized. Perhaps sharing screenshots can provide more information about what you're trying to achieve.

0 votesVote for this answer Mark as a Correct answer

Vinay Singh answered on November 20, 2022 16:11

@Dmitry,

is it possible to use some email marketing tools like Hubspot and mailchimp with Kentico or not with the current feature that we have?

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on November 21, 2022 08:26

@Vinay

There aren't first-party integrations with these systems, however you can write your own. Could you explain in detail what are you trying to achieve, please?

0 votesVote for this answer Mark as a Correct answer

ghaze stor answered on November 24, 2022 13:40

I don't fully understand what you have customized. Perhaps sharing screenshots can provide more information about what you're trying to achieve.

0 votesVote for this answer Mark as a Correct answer

Teresa Boettcher answered on November 28, 2022 14:27

I just wanted to know how to turn on the debugger within kentico. I have resolved my issue through adding customization. Thanks

0 votesVote for this answer Mark as a Correct answer

Dmitry Bastron answered on November 28, 2022 14:36

@Teresa,

It really depends on what exactly and where do you want to debug. Keep in mind, Kentico has 2 web applications: CMS admin and MVC. Both can be opened in Visual Studio and either run manually or as attached to a process when debugging. When attaching to process you can easily step into your custom code and see what's going on with it.

Other than that you can enable debugging of a few things in the CMS admin area, please have a look at this article.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.