Grupp: Webmaster
Sökfunktionen
Ok, jag har tittat lite på koden för denna funktion. Inget nytt har tillkommit men jag skulle vara glad ifall ni kunde testa denna för att se ifall den kanske känns som om den funkar bättre?
/Charlie
Systemarkitekt, Aktieguiden
Ok.. missade en liten detalj som skall vara tillrättad nu.
/Charlie
Systemarkitekt, Aktieguiden
Kanon Charlie!
Funkar inte bra för mig. Söker på stry i senaste inlägg.. på författare och period alla.
|StRY| "Caveat emptor. Buyer beware."
|StRY| "Caveat emptor. Buyer beware."
Hmm.. jag själv har lite problem att välja "Senaste...". Stry har du något emot att jag kontrollerar vilka grupper du söker i?
/Charlie
Systemarkitekt, Aktieguiden
Visa sida
Ogilla! 1
Gilla!
När jag söker i "Senaste inläggen i mina grupper" på "Charlie", "bland allt" och "Senaste veckan" kommer följande meddelande upp:
Server Error in '/' Application.--------------------------------------------------------------------------------
Violation of PRIMARY KEY constraint 'PK__#Groups__74B010A7'. Cannot insert duplicate key in object '#Groups_____________________________________________________________________________________________________________000100000804'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint 'PK__#Groups__74B010A7'. Cannot insert duplicate key in object '#Groups_____________________________________________________________________________________________________________000100000804'.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[SqlException: Violation of PRIMARY KEY constraint 'PK__#Groups__74B010A7'. Cannot insert duplicate key in object '#Groups_____________________________________________________________________________________________________________000100000804'.]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +643
System.Data.SqlClient.SqlCommand.ExecuteXmlReader() +30
Aktieguiden.Net.Dal.Thread.Search(String connectionString, Object number, Object userID, Object groupID, Object searchString, Object type, Object startDate, Object endDate) +674
Aktieguiden.Net.Bll.Group.SearchGroup(String searchString, Int32 results, Int32 type, String startdate, String enddate) +127
Aktieguiden.Docs.Message.ListThreads.RenderThreads() +592
_ASP.listthreads_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +2257
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1900
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288