DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Forum: Building DNN Modules, Providers etc.

 26 Subscribed to this forum
Page 3 of 18 << < 12345 > >>

Topics

Replies
Rating
Status
Views
Subscribers
Last Post

NavigationManager      

Started By  Michael Tobisch
Hi all, I got a problem when replacing the Globals.NavigateURL() function with the new INavigationManager. What I have done: namespace myNamespace { public partial class myControl : PortalModuleBase, IActionable { [...] protected INavigationManager NavigationManager { get; } [...] region IActionable public ModuleActionCollection ModuleActions { get { ModuleActionCollection actions = new ModuleActionCollection(...
24 15695 3

ReturnURL on a custom authentication provider      

Started By  Vicenç Masanas
I have a custom authentication provider that is working well but it doesn't support ReturnURL seems. The Login class inherits from AuthenticationLoginBase and it has a piece of code like this:                            UserLoginStatus loginStatus = validStatus == UserValidStatus.VALID UserLoginStatus.LOGIN_SUCCESS : UserLoginStatus.LOGIN_FAILURE;                            if (loginStatus == UserLoginStatus.LOGIN_SUCCESS)                            {                                Se...
1 398 2

IUpgradeable and installer process ordering      

Started By  johnhenley
Seeing forum messages recently about installer and module install order reminded me that I wanted to post a topic and see if anyone has any insight or suggestions. In packaging for the Forums module, I've become intimately familiar with the DNN installer code since we've had some install challenges to maintain backward compatibilty and upgradeability from older versions. Here goes... IMO there is a flaw in the installer.  If you are updating from an older version (say 7.0.11 to 8.0.1), you...
3 435 0

module debugging issue      

Started By  Joshua Rose
Trying to debug an authentication module I've been putting together with a new partner and when I pull the Website in the website folder and attempt to debug I get this errror System.ExecutionEngineException: 'Exception of type 'System.ExecutionEngineException' was thrown.' The other message that I can put here is No symbol file loaded for EasyDNNsimpleForum.dll That DLL has nothing to do with my module, any thoughts on bypassing or ignoring it
5 756 1

AntiForgeryVerification not working      

Started By  Alon
Hi,   I'm writing a C Module for DotNetNuke 9.13 and I'm having issues with the AntiForgeryToken. When I decorate the post method with [HttpPost] and [DotNetNuke.Web.Mvc.Framework.ActionFilters.ValidateAntiForgeryToken] I get an HTTP 401 error when I submit my form. If I remove the [DotNetNuke.Web.Mvc.Framework.ActionFilters.ValidateAntiForgeryToken] attribute then it works. When I check the page source BEFORE I click the submit button, I can see that the __RequestVerificationTok...
8 731 0
by Alon

Developing a new module that uses a different SQL schema to dbo      

Started By  Alon
Hi, I have a DNN installation that uses the default databaseowner (dbo). I would like to develop a module that has tables in the default database, but uses a different schema (fees) so that I can easily distinguish which tables are related to my module vs the other DNN modules. I don't want to use prefixes - I prefer to use a completely different schema. I also don't want to use a different database as I want to keep the DNN data and my module data inthe same database (for backup and a...
8 1119 1
by Alon

Spid and CIE authentication integration in DNN for Italian Government website      

Started By  Marco Gasparrelli
Hi, I hope I'm writing in the right forum. We are an Italian company that has been using and developing on DNN for many years. One of our Government clients asked us to implement access on their website via the following systems (used in Italy): - Spid: https://www.spid.gov.it/en/what-is-spid - CIE: https://www.cartaidentita....gov.it/en/about-cie EDIT BY MODERATOR: Fixed the URLs to account for a weird URL parsing bug in the forums module. I ask the Community if there are Italian deve...
4 811 1

The call is ambiguous ... Custom Authentication Module      

Started By  Joshua Rose
I've got a custom Authentication module put together for two of our partner sites Error    CS0121    The call is ambiguous between the following methods or properties: 'Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(System.IServiceProvider)' and 'Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(System.IServiceProvider)'    Smithbucklin.Modules.AuthenticationRhythm    D:\Dev\smithbucklin.DNNAuth\source-code...
4 604 0

Issue inserting data using IRepository to insert data with Guid(Uniqueidentifier) as the primary key      

Started By  Ana_Dana
I have a table with Guid(i.e. Uniqueidentifier) as the primary key. When I try to insert a new row with IRepository I am getting the following error, even though I am filling in FolderUid , which is the primary key, property with a new Guid: Error message: Cannot insert the value NULL into column 'FolderUid', table 'xxx'; column does not allow nulls. INSERT fails. My Code: using (IDataContext db = DataContext.Instance()) {                 IRepository fileRepo = db.GetRepository(); ...
3 611 0

Delete users programmatically      

Started By  Seek78
Hello, deleting all users by the method [CODE] UserController.DeleteUsers(int portalId, bool notify, bool deleteAdmin) [CODE], I ran into this error: [CODE] System.NullReferenceException: Object reference not set to an instance of an object.    at DotNetNuke.Entities.Users.UserController.UpdateUser(Int32 portalId, UserInfo user, Boolean loggedAction, Boolean sendNotification, Boolean clearCache) in C:\DNN\09.11.2\DNN Platform\Library\Entities\Users\UserController.cs:line 1917...
10 1699 1
by Seek78
Page 3 of 18 << < 12345 > >>


RSS Feed Available

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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