DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.
Search this forum:
Search
You are not authorized to create a new topic
Page 2 of 15 << < 12345 > >>
Topics
Replies
Views
Last Post
3 Replies and 303 Views Application Error     303 3 Started by Tarunjit Hi All, I am new to DNN just installed DNN version 9.11.0 yesterday on my local. Till 1 hour before it was working fine. But now when I open url dnndev.me it is giving me following error. Application Error   On having a look at log file I have noticed following error message 023-10-17 18:22:36.49005:30 &91;IXC1-LT4DB7HK3&93;&91;D:2&93;&91;T:39&93;&91;FATAL&93; DotNetNuke.Framework.PageBase - An error has occurred while loading page. System.NullReferenceException: ...
3 303
by Will StrohlJump to last post
10/18/2023 11:33 AM
5 Replies and 1998 Views ModuleSearchBase problem     1998 5 Started by fatgl Hi, I have a custom module I need to be searchable from DNN search. So I have added a Controller class to my module that extends ModuleSearchBase with GetModifiedSearchDocuments method. I added the namespace in the module settings. However since I added the namespace the module crashes and throws this exception the log: Value cannot be null. Parameter name: type InnerStackTrace: in System.Activator.CreateInstance(Type type, Boolean nonPublic) in System.Activator.CreateInstance(Type type) i...
5 1998
by David PoindexterJump to last post
9/21/2023 11:14 AM
3 Replies and 364 Views Compilation problem when upgrading to DNN 9.12     364 3 Started by Stéphane Tétard Hi I&39;m trying to update a Class Library Project to make it compatible with DNN 9.12.0 but I&39;m facing to the following error: SGEN : error CS0012: The type &39;System.Collections.Generic.ICollection`1&39; is defined in an assembly that is not referenced. You must add a reference to assembly &39;netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&39;. First, I changed the project references to use the DNN 9.12.0 assemblies and I configured the project ...
3 364
by Will StrohlJump to last post
9/8/2023 10:18 AM
4 Replies and 591 Views Changing the title of a module control programmatically     591 4 Started by Michael Tobisch It is easy to change the title of a module programmatically, something like private void Page_Init(object sender, System.EventArgs e){    ModuleConfiguration.ModuleTitle = "Whatever"; } But how can I do this for a control (eg. "Edit"). I know it is possible in the resource file by adding a key "ControlTitle_edit", but is this possible from the code behind somehow Happy DNNing! Michael  
4 591
by Will StrohlJump to last post
9/5/2023 4:22 PM
0 Replies and 389 Views Making Json and Xml get along at a single endpoint     389 0 Started by Tim Nixon Hi all -- I have an API controller that receives data from several outside services (more property, several outside devices, I guess) via a POST request to a REST endpoint. When I started this project a looong time ago all of the devices were sending XML, so later when a few started needing Json it made more sense to hack in support for that and move on to the next thing. My controller routes POST requests to a parameterless method that looks at the Content-type header and calls an appropriat...
0 389
8/10/2023 11:25 AM
8 Replies and 3326 Views Using dependency injection in a controller class     3326 8 Started by Michael Tobisch Hi all, how can I use dependency injection in a controller class (of a Webforms module) in DNN 9.8.0 What I am trying to do is using IEventLogger (instead of EventLogController) in a Scheduler client. Something like IEventLogger _eventLogger = DependencyProvider.GetRequiredService(); in the constructor. Any help is appreciated. Happy DNNing! Michael
8 3326
by Will StrohlJump to last post
7/17/2023 10:01 AM
0 Replies and 338 Views MVC Module Won't Add to Page on DNN 9.9     338 0 Started by Will Strohl I have an open-source MVC module that won&39;t add to the page on Platform 9.9 and higher.  I don&39;t see any errors anywhere at all.  It just refreshes the page when you expect to see the "tile" to drag around the theme.    I think I heard someone say that an empty business controller class can cause that.  I tried removing it and installing/upgrading, but I have the same issue after removing it.   A link to the issue is below.  I&39;m...
0 338
7/16/2023 8:45 PM
5 Replies and 416 Views CKEditor - Set value inside Repeater_ItemDataBound     416 5 Started by Martin Hi everyone on DNN 9.12.0 I am using TextEditor (CKEditor) inside a Repeater. Inside Repeater_ItemDataBound I try to set a value to the TextEditor. The following error occurs: &39;txtHeaderText.Text&39; threw an exception of type &39;System.NullReferenceException&39;. I am using the following: .ascx < Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"> <asp:Repeater ID="rptHeaderFooterText" runat=...
5 416
by MartinJump to last post
7/14/2023 8:58 AM
2 Replies and 1815 Views Need to know about the DNN with React JS     1815 2 Started by 3ART Technologies Company Hi, everyone.  I am working in DNN since 2004 or 2005, but I haven&39;t tried to be  react with DNN before. Can anyone tell me a "Hello world" custom module development tutorial in react js with DNN,  I already have a sound knowledge of creating API&39;s in DNN and the module packaging but i am not getting how react will run with the DNN  Looking forward for the responses. 
2 1815
by Will StrohlJump to last post
6/7/2023 9:48 AM
1 Replies and 749 Views Setting HTTP Response Tracking Cookies     749 1 Started by David Fenske I have a client requesting to add a server-side HTTP Response Header cookie to implement Rakuten advertising tracking in a way that Apple products won&39;t reject (no 3rd party or JavaScript implemented cookies). Apart from my personal feelings about whether this is a good idea, I promised to research it. It looks like it would be pretty simple to implement on a PHP based site, but here&39;s the only thing I can find about implementing it in the ASP.net world: https://learn.microsoft.com/en...
1 749
by Will StrohlJump to last post
5/3/2023 10:40 AM
You are not authorized to create a new topic
Page 2 of 15 << < 12345 > >>


RSS Feed Available

These Forums are dedicated to the discussion of DNN Platform.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved