December 29, 2003 at 1:54 pm
The "Send Private Message To :" does not allow
1. editing of the body
2. Font / size /style selection etc.
Once you understand the BITs, all the pieces come together
December 29, 2003 at 2:01 pm
"Update Post" returned:
Server Error in '/' Application.
--------------------------------------------------------------------------------
A potentially dangerous Request.Form value was detected from the client (Postmessage1:rteEditor="<P>Edit post test<FO...").
Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.
Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (Postmessage1:rteEditor="<P>Edit post test<FO...").
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (Postmessage1:rteEditor="<P>Edit post test<FO...").]
System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName) +230
System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, String collectionName) +99
System.Web.HttpRequest.get_Form() +113
System.Web.UI.Page.GetCollectionBasedOnMethod() +69
System.Web.UI.Page.DeterminePostBackMode() +47
System.Web.UI.Page.ProcessRequestMain() +2075
System.Web.UI.Page.ProcessRequest() +218
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Once you understand the BITs, all the pieces come together
December 29, 2003 at 2:04 pm
When selecting "Quote" button from my last post at
http://qa.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=19427#bm92095
I was returned....
Server Error in '/' Application.
--------------------------------------------------------------------------------
Ambiguous column name 'Approved'.
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: Ambiguous column name 'Approved'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException: Ambiguous column name 'Approved'.]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +723
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +45
System.Data.SqlClient.SqlCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +5
System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36
InstantASP.InstantForum.Logic.GetMessageInThread(Int32 MessageID)
messagedisplay.Page_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain() +720
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Once you understand the BITs, all the pieces come together
December 29, 2003 at 2:09 pm
It'll be a couple hours before I can get into the code. Hopefully tomorrow we'll have some fixes up. On the threads you might need to change the number of days back to view, data is old now - try 60 days to be sure.
How does the performance seem for the pieces that work?
Andy
December 29, 2003 at 4:18 pm
Brian K - the error you got with the dbnull should be fixed. For those following along it was because - can you guess? - there was a null where there shouldnt a been. Updated the script for when I refresh.
Andy
December 29, 2003 at 4:30 pm
Thomas H, the error about "approved" should be fixed now.
Andy
December 29, 2003 at 5:27 pm
Thomas H, the error on quoting will be fixed in a few minutes as soon as I post the update. This will probably also fix the other similar errors on that page.
Andy
December 29, 2003 at 5:37 pm
Frank, the bio did get truncated. The bio column is 600 chars, in the old table its a text column. Yours was about 750 chars, largest was 17,000. Thats a lot of bio! Anyway, I'm changing to text. Member table is too wide anyway, so nice to trim any where I can.
Andy
December 29, 2003 at 6:08 pm
Should be able to upload photo or avatar now. Photo limited to 80x80, avatar to 60x60 pixels.
Andy
December 29, 2003 at 7:17 pm
Thomas H - I can private message ok. Made a change to them anyway to clean up, so if someone could try again? One place is the button under each post,the other is the link in the persons profile - should be link to same place.
Andy
December 29, 2003 at 7:56 pm
Just deployed the new build. If you hit forums/default.aspx you can see that I've started to correct the problem with the data extending off the display to the right. It'll probably be Wed before I have time to go through and fix all of those.
Find more bugs!
Andy
December 30, 2003 at 1:44 am
It seems that just between you copied the data for the test forum and now I've changed my email address. Now when I try to log on with my current address I get redirected to the old forums.
Logging on with the old address appears not to work. I tried two or three times without success. Then I decided to click on the Forum Home link, and tahdah, I could reach the page. Hm...don't if the cookie wasn't deleted or might went wrong.
Posting a new thread is working now, but my autosignature is not added at a new line but rather simply placed at the end of the message text.
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 30, 2003 at 1:48 am
Autosignature is working correctly, but it seems that it needs to be updated manually. I added a single blank line and it got converted to html stuff with <br> tags.
Frank
URLs' in the signature are not recognized as such.
Edited by - Frank Kalis on 12/30/2003 01:49:04 AM
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 30, 2003 at 2:04 am
quote:
Should be able to upload photo or avatar now. Photo limited to 80x80, avatar to 60x60 pixels.
Photos that exceed the size will not get uploaded.
Anyway, I think 80x80 is a strange size. In Snitz it is 150x150.
Also the page requires me to specify an upload file, even if I just want to link 'URL to photo'.
PNG is not recognized as valid mime format.
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
December 30, 2003 at 2:46 am
The link to the logo in the upper left corner is invalid. The picture doesn't show up at all.
Frank
--
Frank Kalis
Microsoft SQL Server MVP
Webmaster: http://www.insidesql.org/blogs
My blog: http://www.insidesql.org/blogs/frankkalis/[/url]
Viewing 15 posts - 16 through 30 (of 57 total)
You must be logged in to reply to this topic. Login to reply