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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumError when selecting "My Posts"Error when selecting "My Posts"
Previous
 
Next
New Post
1/24/2007 5:02 AM
 

Whenever I click on "My Posts" I get the following error

"ORDER BY items must appear in the select list if SELECT DISTINCT is specified. 0"

I know this is an SQL error and I'd know exactly what to do if this was my SP, but is this a sign of some other problem or already known about.

 
New Post
2/20/2007 7:21 PM
 
 
New Post
2/21/2007 5:24 AM
 

Thanks very much, that does look like the answer.  I'll try it this evening.

 

 
New Post
3/24/2007 10:15 PM
 

Not a useful answer (at least, as of now) since it leads to a dead link. Any other solutions? I'm running DNN 4.4.1 and Forums 03.20.08.

 
New Post
3/25/2007 4:15 AM
 

The link gets there for me - I'm copying the final answer - at least in my case below.

For those like me who are new to DNN/SQL Server and such, the stored procedure that this fix has you modify resides inside the DotNetNuke Database.MDF database (assuming your database is named the typical/default: Database.mdf).  And if like me you do not know much about coding stored procedures let alone modifying them, you might use SQL Server Management Studio Express to Attach to the Database.mdf, then make your way down into Programmability > Stored Procedures > Forum_SearchGetResults - and make the change below to that stored procedure.

Before: @Filter + ' GROUP BY P.ThreadID , P.CreatedDate ORDER BY P.CreatedDate DESC '
+After: @Filter + ' GROUP BY P.ThreadID , P.CreatedDate ORDER BY P.ThreadID '

After you've modified the stored procedure, right-click and Execute to run/save the change.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumError when selecting "My Posts"Error when selecting "My Posts"


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