Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Review Requested.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Review Requested.

 Post Reply Post Reply
Author
davidshq View Drop Down
Senior Member
Senior Member


Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote davidshq Quote  Post ReplyReply Direct Link To This Post Topic: Review Requested.
    Posted: 09 June 2006 at 3:39am
I've got a functional demo of my new site up at www.betterneighbours.com. It was written entirely in ASP.NET 2.0 and SQL Server 2005. I'd appreciate anyone who would surf around and see if they can find any code flaws.
David.
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2006 at 2:02pm
Site seems nice few things I noticed. When you are not logged in and click in request item for an item, nothing happens.
When you register it kicks you back to a "Please register site" trying to login after that brings you to the registration form. It appears my registration details were invalid i.e. Password not complex enough and you pushed somewhere else not showing the details.
Seconds time worked fine.
Then after registering and requesting an item I get the dreaded YSoD.

Server Error in '/' Application.
--------------------------------------------------------------------------------

Input string was not in a correct format.
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.FormatException: Input string was not in a correct format.

Source Error:


Line 40:        For Each row As GridViewRow In GridView1.Rows
Line 41:             Dim varuser As String = row.Cells(3).Text
Line 42:             If row.Cells(5).Text > 1 Then
Line 43:                 If String.IsNullOrEmpty(row.Cells(3).Text) = False Then
Line 44:                     If row.Cells(3).Text <> " " Then


Source File: E:\Domains\betterneighbours.com\wwwroot\MyRequests.aspx.vb    Line: 42

Stack Trace:


[FormatException: Input string was not in a correct format.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +211
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +74

[InvalidCastException: Conversion from string "Available" to type 'Double' is not valid.]
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +218
   Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value) +6
   MyRequests.GridView1_RowDataBound(Object sender, GridViewRowEventArgs e) in E:\Domains\betterneighbours.com\wwwroot\MyRequests.aspx.vb:42
   System.Web.UI.WebControls.GridView.OnRowDataBound(GridViewRowEventArgs e) +105
   System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +233
   System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +3146
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +59
   System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +11
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +111
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +29
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
   System.Web.UI.WebControls.GridView.DataBind() +4
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +41
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


Enough testing for now :)

Good job so far though.
Back to Top
davidshq View Drop Down
Senior Member
Senior Member


Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote davidshq Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2006 at 2:22am
Thanks for the feedback. I've corrected the error on the MyRequests page. I'd changed the value of a cell dynamically to text, but was still trying to perform a mathematical comparison on it, which of course, doesn't work.
Concerning the page redirect when entering invalid information, I double-checked to ensure that password complexity was disabled (you can use any password of one character or more), and will continue to look into that issue.
Thanks again.
David.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2006 at 3:59pm
interesting concept. I'd like to see this site take off.
In FireFox, the body text overlaps the login area.
The select state drop-down has 3 or 4 blank entries in it. If you hit "go" on one of the blanks it loads default.aspx but without the drop down.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
davidshq View Drop Down
Senior Member
Senior Member


Joined: 29 July 2003
Location: United States
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote davidshq Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2006 at 5:07am
Dpyers,
   Thanks for the feedback. The funny thing is, I am using Firefox and not seeing any overlap of the body text with the login area.
    I did however correct the problem with blank rows in the states drop down.
    I also added a wanted feature so that you can request items you want, as well as post items you have available.
    I hope as well that it will take off, I think it is a good concept, it will just depend on people's willingness to list items.
David.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2006 at 12:24am
I'm using FF 1.5.0.4
1280x1024 and large (120%) fonts.
Overlaps even if I increase/decrease font size though.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.