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 3123 > >>
Last Post
4 Replies and 941 Views How to Apply Cache in API     941 4 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...
4 941
by Daniel ValadasJump to last post
4/2/2024 1:23 PM
6 Replies and 333 Views Web API External     333 6 Started by Omar Sánchez The module when consuming a local web api (http://localhost/ConsultaVarias/Api/Distrito) it gives me the following error: System.Threading.Tasks.Task`1&91;System.Web.Mvc.ActionResult&93;
6 333
by Will StrohlJump to last post
10/30/2023 4:15 PM
18 Replies and 1180 Views DNN v9.12.00 Web API     1180 18 Started by Martin
(Topic has multiple pages1 2 )
Hi, I have built for testing purposes a simple Web API, which works perfect locally but when I&39;m trying to reach the endpoint (by Postman or by Module) in the productive online version, I always get the error &39;401 - Unauthorized: Access is denied due to invalid credentials.&39;. The credentials are exactly the same in local and online version. ------------------------ public class ExchangeOrderController : DnnApiController {     &91;HttpGet&93;    &n...
18 1180
by Will StrohlJump to last post
8/3/2023 11:43 AM
1 Replies and 404 Views Connect to DNNAPI     404 1 Started by Deleted User We used to pull visualizers from the dnnapi into an external application using a bearer token token that never expired. After upgrading to 9.10 and moving our host, we now need an auth token, and I&39;m not finding any documentation anywhere on how to obtain it. To help with additional info, we are on the Evoq version of DNN.
1 404
by Will StrohlJump to last post
6/23/2023 4:26 PM
2 Replies and 1273 Views Programmatically log in a user     1273 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 1273
by Will StrohlJump to last post
5/31/2023 2:51 AM
10 Replies and 2500 Views DNN v9.10.02 Web API     2500 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 2500
by Will StrohlJump to last post
1/3/2023 11:16 AM
5 Replies and 1337 Views DNN.ClientDependency Not Available     1337 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 1337
by Will StrohlJump to last post
11/30/2022 12:47 PM
4 Replies and 2715 Views cross (Cors) issue     2715 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 2715
by germyrinnJump to last post
10/5/2021 12:49 AM
2 Replies and 5304 Views GetUpdateLink or gettable     5304 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 5304
by Sebastian LeupoldJump to last post
4/2/2021 7:49 AM
2 Replies and 2129 Views Update Scheduler     2129 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 2129
by Will StrohlJump to last post
12/17/2020 11:20 AM
You are not authorized to create a new topic
Page 1 of 3123 > >>

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