Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Site Settings TimeOut on GetFoldersSite Settings TimeOut on GetFolders
Previous
 
Next
New Post
9/20/2012 3:50 AM
 
I am glad you were able to sort out your issue.
Please raise in Gemini the problem with too many folders, thank you.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/20/2012 4:05 AM
 

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
9/20/2012 4:18 AM
 
thanks a lot, have a nice day :)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/22/2014 5:34 PM
 
This is an old post, but we have been tripped up on this lately and very frustrated by it. (we are running 6.2.3) The issue for us was that the GetFoldersByPermissions was very slow and wouldn't return before the timeout, which we were able to trap through Query Profiler. The odd thing was the underlying query with the exact same parameters was very fast. We found some possible SQL solutions to this type of occurrence. The one we settle on was to use local variables in the sp and set them equal to the passed variables. Worked great.

Here is a link to the thread that lead us in this direction: http://www.sqlpointers.com/2006/11/pa...

Here are changes to the actual sp. We added the lines as marked below. Then we replaced the references to the original variables (like @PortalID) with the local variable (like @LocalPortalID) in the query section of the sp. Hope this helps someone.

ALTER PROCEDURE [dbo].[dnn_GetFoldersByPermissions]
@PortalID int,
@Permissions nvarchar(300),
@UserID int,
@FolderID int,
@FolderPath nvarchar(300)

AS

[ADDED STARTING HERE]
SET NOCOUNT ON;
DECLARE @LocalPortalID int,
@LocalPermissions nvarchar(300),
@LocalUserID int,
@LocalFolderID int,
@LocalFolderPath nvarchar(300)

SET @LocalPortalID = @PortalID
SET @LocalPermissions = @Permissions
SET @LocalUserID = @UserID
SET @LocalFolderID = @FolderID
SET @LocalFolderPath = @FolderPath
[END OF WHAT WE ADDED]

DECLARE @IsSuperUser BIT
DECLARE @Admin BIT
DECLARE @Read INT
DECLARE @Write INT
DECLARE @Browse INT
DECLARE @Add INT
.....
 
New Post
5/29/2015 11:22 AM
 

I was having the same issue on a DNN 6 client's site this week and what solved the issue was this answer.

Even though I'm not a big fan of modifying core SPs of DNN, but that was a life saver.


Aderson Oliveira
Your DNN Wingman
DeskPal.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Site Settings TimeOut on GetFoldersSite Settings TimeOut on GetFolders


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

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

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. 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.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out