> Forums > Active Social > Community Support > Errors in log: Subquery returned more than 1 value
Last Post 25 May 2011 03:18 PM by MHuijbregts. 8 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
MHuijbregts
Customers
MHuijbregts
Post Count:1248

--
15 Jan 2011 07:19 AM
    • Active Social Version: 1.9.1
    • DotNetNuke Version: 5.5.1
    Hi Will,

    I noticed quite a number of entries in the event log with the below mentioned text. Could you please explain what this means?

    Taken from event log:
    UserID: -1
    UserName: 
    ActiveTabID: 272
    ActiveTabName: Activity
    RawURL: /activity.aspx
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: 
    UserAgent: gold crawler
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 1f63712c-1f4d-47cb-89b4-c84b62981d71
    InnerException: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
    FileName: 
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Data.SqlClient.SqlConnection.OnError
    StackTrace: 
    Message: System.Data.SqlClient.SqlException: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at System.Data.SqlClient.SqlDataReader.Read() at Active.Modules.Social.JournalController.Journal_List(Int32 PortalId, UserProfile SocialUser, Int32 ProfileId, Int32 GroupId, Int32 JournalTypeId, Int32 RowIndex, Int32 MaxRows, String FilterTypes, Int32 JournalMode, String JournalQuery)
    Source: 
    Regards,
    Marc
    www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social)
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    15 Jan 2011 11:56 AM
    Does this happen for every user or just a bot like this error shows? Also, is this coming from a custom view or the default journal summary?
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    MHuijbregts
    Customers
    MHuijbregts
    Post Count:1248

    --
    15 Jan 2011 03:14 PM
    Does this happen for every user or just a bot like this error shows?

    The entries found in the event log all are the result of bots visiting the activity page (which is the default journal summary).

    I noticed that it also occurs on profile view page, also when bots are visiting the page.

    hope this helps.
    Regards,
    Marc
    www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social)
    Will Morgenweck Forum Admin
    DotNetNuke Staff
    Will Morgenweck
    Post Count:7672

    --
    15 Jan 2011 03:57 PM
    Marc,
    Will keep an eye out for this one, but since it is coming from bots I would suggest ignoring them right now. Things like this are very hard to troubleshoot. If you see something come from a user, please let us know and we can dig deeper.
    Will Morgenweck
    Director of Product Management
    DotNetNuke Corp.
    MHuijbregts
    Customers
    MHuijbregts
    Post Count:1248

    --
    16 Jan 2011 02:30 AM
    It indeed are bots only till now. If I spot a regular user I'll let you know.
    Regards,
    Marc
    www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social)
    MHuijbregts
    Customers
    MHuijbregts
    Post Count:1248

    --
    20 May 2011 07:32 AM
    Hi Will,

    Somehow I do have this entry again, but now also for users (I am the user). I just have added a second instance with vanity URLs enabled ( http://www.activemodules.com/activeforums/support/vanity-url-on-second-af-instance/ ) and deleted two old posts and reposted them with the vanity urls enabled.

    In this forum instance I have the social integration enabled for job posts (Have created a new journal type for this and created two applications – one for topics and one for replies). Both belong to the same journal type. Both keys have been entered in the control panel of the second instance.

    So when I deleted the two posts and added them once again (using same topic & content – copy/paste) I noticed that the AS journal went blank again. I have had this in the past but have never been able to pin point what might be causing this behaviour.

    Do you have any suggestions for me on how to proceed to get my journal entries back (and hopefully ditch the below presented error from the eventlog)?

    Thanks in advance,
    Marc


    AssemblyVersion: 5.6.2
    PortalID: 1
    PortalName: Domain
    UserID: -1
    UserName:
    ActiveTabID: 272
    ActiveTabName: Activity
    RawURL: /activity.aspx
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://www.domain.com/activity.aspx
    UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 265eca46-438b-4987-8b8e-e439d26a2d5b
    InnerException: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.Data.SqlClient.SqlConnection.OnError
    StackTrace:
    Message: System.Data.SqlClient.SqlException: Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at System.Data.SqlClient.SqlDataReader.Read() at Active.Modules.Social.JournalController.Journal_List(Int32 PortalId, UserProfile SocialUser, Int32 ProfileId, Int32 GroupId, Int32 JournalTypeId, Int32 RowIndex, Int32 MaxRows, String FilterTypes, Int32 JournalMode, String JournalQuery)
    Source:
    Server Name: N/A
    Regards,
    Marc
    www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social)
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1645

    --
    20 May 2011 12:42 PM
    Marc,

    In the journal type editor, Access Control tab, you can add an addition Application and get an additional key. I would do this for both the reply and create journal types. Use the additional keys for the new instance of AF.
    CSmith
    Customers
    CSmith
    Post Count:91

    --
    25 May 2011 03:09 PM
    Ben, I'm experiencing the same issue. Are you saying that we should be using a different App Key (topic/reply) for each instance of AF in the portal?

    MHuijbregts
    Customers
    MHuijbregts
    Post Count:1248

    --
    25 May 2011 03:18 PM
    Ben ( & CSmith) ,

    I believe this is exactly what I have done in the first place. I created a new journal type and two new app keys - one for forum postings and the other for the replies.

    I will give it another go though and keep you posted.

    Regards,
    Marc
    www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social)
    You are not authorized to post a reply.
    > Forums > Active Social > Community Support > Errors in log: Subquery returned more than 1 value
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy