Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Forum Module [L...  Error when selecting "My Posts"
Previous Previous
 
Next Next
New Post 1/24/2007 2:02 AM
User is offline Jay Rubinstein
31 posts
10th Ranked


Error when selecting "My Posts" 

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 4:21 PM
User is offline internetadik
9 posts
10th Ranked


Re: Error when selecting "My Posts" 

I didn't try it yet but it looks like the answer is on this thread:

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/7/threadid/104628/scope/posts/Default.aspx

 

 
New Post 2/21/2007 2:24 AM
User is offline Jay Rubinstein
31 posts
10th Ranked


Re: Error when selecting "My Posts" 

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

 

 
New Post 3/24/2007 8:15 PM
User is offline Stephen Nill
222 posts
9th Ranked


Re: Error when selecting "My Posts" 
Modified By Stephen Nill  on 3/24/2007 10:15:44 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 2:15 AM
User is offline Jay Rubinstein
31 posts
10th Ranked


Re: Error when selecting "My Posts" 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Forum Module [L...  Error when selecting "My Posts"
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace
ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP