• Login
  • Register

DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.
Search this forum:
You are not authorized to create a new topic
Page 1 of 212 > >>
 Last Post
2 Replies and 765 Views Programmatically log in a user  765  2 Started by  pdreid Hello, I&39;m working on a page where I want to programmatically log a user in from the code behind, outside the context of creating an official authentication provider (if that&39;s possible).  My code creates and updates users correctly, and the admin logs show the login event for the correct user with a "login success" message; but the website still shows the login link rather than the username in the utility nav, and if I try to access a protected page it&39;s ...
2 765
by  Will StrohlJump to last post
5/31/2023 2:51 AM
10 Replies and 1424 Views DNN v9.10.02 Web API  1424  10 Started by  shyamal majumder
(Topic has multiple pages1 2 )
Team,  I have a small query, Suppose I have created 1 web api say getcustomer() DesktopModules/Leads/API/LeadsDisposition/getcustomer Now I have 2 domain 1 is main domain say www.maindomain.com and other is subdomain say www.subdomain.maindomain.com Now can we set api address like www.subdomain.maindomain.com/DesktopModules/Leads/API/LeadsDisposition/getcustomer instead of  www.maindomain.com/DesktopModules/Leads/API/LeadsDisposition/getcustomer Inshort can we s...
10 1424
by  Will StrohlJump to last post
1/3/2023 11:16 AM
5 Replies and 744 Views DNN.ClientDependency Not Available  744  5 Started by  Hans Zassenhaus I receive the following error messages after opening DNN Platform V9,6,2 in MS Visual Studio 2019 and 2022: Severity    Code    Description    Project    File    Line    Suppression State Error        NuGet Package restore failed for project DNN Platform\DotNetNuke.Web: Unable to find version &39;; of package &39;Dnn.ClientDependency&39;.   C:\Program Fi...
5 744
by  Will StrohlJump to last post
11/30/2022 12:47 PM
0 Replies and 428 Views How to Apply Cache in API  428  0 Started by  chetan kawale Hii team, I am using DNN API to fetch frequently data by using Ajax. So I did&39;t find answer How to cache API in DNN. Please suggest    public class StockTickerController : DnnApiController     {           &91;HttpGet&93;         public HttpResponseMessage DSIJIncludeTickerGraph()         { return Request.CreateResponse(HttpStatusCode.OK, new { CurrentBseNseValue = AllCurrentBseNseValueV...
0 428
10/4/2022 12:39 AM
4 Replies and 2160 Views cross (Cors) issue  2160  4 Started by  ricky1368 Light-Duty-Wreckers:1 Access to XMLHttpRequest at &39;https://www.test.net/api/api/Fleet/GetFleetListtype=json&39; from origin &39;https://www.dnndomain.net&39; has been blocked by CORS policy: Response to preflight request doesn&39;t pass access control check: No &39;Access-Control-Allow-Origin&39; header is present on the requested resource. I use ajax jquery to consume external api (webapi written with mvc/c), and have above issues. I already added the header on webconfig, and sti...
4 2160
by  germyrinnJump to last post
10/5/2021 12:49 AM
2 Replies and 4511 Views GetUpdateLink or gettable  4511  2 Started by  Colder after the update to 9.9.0 the log is full with entries of the type general exception. Does anyone have any idea what I can do Summary: AbsoluteURL / API / personabar / serversummary / GetUpdateLink DefaultDataProvide AbsoluteURL: / API / personabar / serversummary / GetUpdateLink DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke ExceptionGUID: a4ad6ad5-e531-4a86-8a3f-339225c2abfa AssemblyVersion: PortalId: -1 UserId: -1 TabId: -1 RawUrl: Referrer: UserAgent: Exce...
2 4511
by  Sebastian LeupoldJump to last post
4/2/2021 7:49 AM
2 Replies and 1809 Views Update Scheduler  1809  2 Started by  mikaelldnn Hi, I&39;m automatically updateing a SchedulerHistory item after a custom scheduler has been issued. I want to do this to set the next start time based on when the scheduler was created. As it is by default, if I manually run the scheduler it just adds the frequency. So for example, if I have it scheduled to run at 4AM every day but then I manually run it at 8:30AM the next start time will be 8:30AM the next day and not 4AM. So what I&39;m doing is to calculate the next start time ba...
2 1809
by  Will StrohlJump to last post
12/17/2020 11:20 AM
3 Replies and 1740 Views How to access to DNN objects from separate app ?  1740  3 Started by  Oleg Hi there ! I was able to successfully implement the use of my business application as part of DNN v.07.04.02: I have a page with an iFrame module containing a link to my business application hosted on the same server. I use DNN authorization, and in the application I can get the username using Thread.CurrentPrincipal.Identity.Name, because I use Single Sign On (SHARED AUTHENTICATION). The question is: can I access DNN objects of the current session such as UserInfo, etc., from my appl...
3 1740
by  Joe CraigJump to last post
10/7/2020 6:58 PM
4 Replies and 1574 Views Can we add so called Filters to the DNN Event System?  1574  4 Started by  Paras Daryanani Many CMSs have built in "actions" and "filters". DNN&39;s event system fulfills the the like of "actions" where you can add some custom code to do something after a particular event takes place. For example: "Every time a page is updated, send me an email". I now have a use case where I need a "filter" rather than an "action". The difference here is that some custom code needs to execute on the object that was just modifie...
4 1574
by  Brian DukesJump to last post
10/1/2020 8:08 AM
1 Replies and 1523 Views dnnapiendpoint/api.ashx is making DOTNETNUKE cookie NULL  1523  1 Started by  Suresh When a user other than host (for example: Administrator) logs into our DNN portal, a DNN api endpoint at https://xxxx.xxxxxxx.com/desktopmodules/dnnsharp/dnnapiendpoint/api.ashxmethod=getminicartsettings&DNNPortalID=345 is setting .DOTNETNUKE cookie to NULL, expiring user session and throwing him out to login page again. The underlying proc for fetching "getminicartsettings" is working perfect. Response Header: Content-Length: 244 Content-Type: text/html; charset=utf-8 ...
1 1523
by  Brian DukesJump to last post
5/15/2020 8:41 AM
You are not authorized to create a new topic
Page 1 of 212 > >>

RSS Feed Available

These Forums are dedicated to 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 send an email to [email protected]
  2. No Advertising. This includes 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