Site Reviews
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignSite Reviews

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 24th, 2006, 06:07 PM
chrismogz chrismogz is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Uk
Posts: 135 chrismogz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 9 h 17 m 33 sec
Reputation Power: 4
Final year project http://www.e-learninginfo.co.uk

Hi all

For the last 6-/+ months i've been working away on my final year project for uni.

www.e-learninginfo.co.uk

Any comments on the site would be great. The site based around e-learning objects. where you can look through a database for learning material and build up your own course from the different objects.

Database only has coulpe object in it for now. based around audio

This is my second site in ASP.NET so there still most likely wil be bugs in it(hopefuly found then all). If u come across any please let me no.

Thank you for taking the site to look

Chris

Reply With Quote
  #2  
Old March 25th, 2006, 12:32 AM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,776 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 8 h 27 m 42 sec
Reputation Power: 470
Registration Form:

1) Why do the "Title" and "Gender" dropdown's postback the page when a selection is change? They don't change anything on the form. Set the "AutoPostBack" property to false.

2) Contact Number field. You have validation stating "Invalid number", but you don't provide a hint to the user of the format you are expecting.

3) If an input field is required you should denote it on the form.
Quote:
* - denotes required field

* First Name: ________________
* Last Name: ________________


4) Be careful of the errors you return to the client. I was able to discover you are using a SQL Server database, you are using inline SQL as opposed to using stored procedures. You have a table in your database named "people" and you aren't validating the data that you receive on the form.

5) You can't register because the registration form errors out.

Reply With Quote
  #3  
Old March 25th, 2006, 11:22 AM
chrismogz chrismogz is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Uk
Posts: 135 chrismogz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 9 h 17 m 33 sec
Reputation Power: 4
Thank you for that . sorry did not notice it was bring erros. Fixed the problems. The reason has this error was i had this line of code

myDataAdapter3.SelectCommand.Parameters.Add("@Field2", levelList.SelectedItem);

All fixed now . should be able to register with out any problems now


Reply With Quote
  #4  
Old March 25th, 2006, 08:13 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,776 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 8 h 27 m 42 sec
Reputation Power: 470
Several pages of your site are SQL Injectible.
Ensure you are validating the data being recieved from the client either from a form, hidden field or querystring.
Comments on this post
micky agrees!

Reply With Quote
  #5  
Old April 1st, 2006, 04:06 PM
chrismogz chrismogz is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Uk
Posts: 135 chrismogz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 9 h 17 m 33 sec
Reputation Power: 4
Should be all fixed now

Reply With Quote
  #6  
Old April 1st, 2006, 04:54 PM
pws1970 pws1970 is offline
Contributing User
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Aug 2005
Posts: 3,250 pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 20017 Folding Title: Starter FolderFolding Points: 20017 Folding Title: Starter Folder
Time spent in forums: 4 Weeks 1 Day 4 h 5 m 50 sec
Reputation Power: 363
Unfortunately it is not fixed, I entered a dummy email and password and decided to keep my key down and entered a 100+ aplhanumeric email address and got this .net error:

Code:
Server Error in '/' Application.

String or binary data would be truncated. The statement has been terminated.


It may be wise to put a max length on your email and password input boxes. Just a thought.

When I eneterd a normal length email and password these errors appeared at the top of the page:

Code:
System.NullReferenceException: Object reference not set to an instance of an object. at UserProfile.GetUsersName() in D:\inetpub\e-learninginfo\UserProfile.cs:line 56name
System.NullReferenceException: Object reference not set to an instance of an object. at UserProfile.GetUsersEmail() in D:\inetpub\e-learninginfo\UserProfile.cs:line 76email


Yout Text size links do not work in Firefox

Again by using the Search link after some dodgy 100+ alphanumeric string entered it crashed your db and I once again got this .net error:
Code:
Server Error in '/' Application.
String or binary data would be truncated. The statement has been terminated.
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: String or binary data would be truncated. The statement has been terminated.

Source Error:

Line 707:				upTable.Parameters.Add("@Field1", searchbox.Text);
Line 708:				upTable.Parameters.Add("@Field2", userid);
Line 709:				upTable.ExecuteNonQuery();	
Line 710:			
Line 711:

Last edited by pws1970 : April 1st, 2006 at 05:04 PM.

Reply With Quote
  #7  
Old April 2nd, 2006, 11:23 AM
chrismogz chrismogz is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Uk
Posts: 135 chrismogz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 9 h 17 m 33 sec
Reputation Power: 4
Thank you for letting me no about this. Very greatful

Reply With Quote
  #8  
Old April 2nd, 2006, 12:15 PM
pws1970 pws1970 is offline
Contributing User
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Aug 2005
Posts: 3,250 pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)pws1970 User rank is Major (30000 - 40000 Reputation Level)  Folding Points: 20017 Folding Title: Starter FolderFolding Points: 20017 Folding Title: Starter Folder
Time spent in forums: 4 Weeks 1 Day 4 h 5 m 50 sec
Reputation Power: 363
Quote:
Originally Posted by chrismogz
Thank you for letting me no about this. Very greatful


No problem Chris lets get you an A+ for your Uni Project.

Reply With Quote
  #9  
Old April 2nd, 2006, 08:03 PM
chrismogz chrismogz is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: Uk
Posts: 135 chrismogz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 9 h 17 m 33 sec
Reputation Power: 4
Quote:
No problem Chris lets get you an A+ for your Uni Project.


hehehe

Added a new alternate stylesheet for usability reasons and fixed the firefox problems.

for any one who having the same problem where alternate CSS stylesheet works in IE but not Firefox, check this link out i found:

http://gemal.dk/blog/2004/03/08/the...rds_in_denmark/

---------------

Quote:
String or binary data would be truncated. The statement has been terminated.


is due to the table column being set at max of 50 char so that's why u got the error above when you had a value 100+, So added Max lenght to all the text boxes to 50.


----------

Code:
System.NullReferenceException: Object reference not set to an instance of an object. at UserProfile.GetUsersName() in D:\inetpub\e-learninginfo\UserProfile.cs:line 56name
System.NullReferenceException: Object reference not set to an instance of an object. at UserProfile.GetUsersEmail() in D:\inetpub\e-learninginfo\UserProfile.cs:line 76email


Am abit lost on that one, unsure how that has happened + what to do. give me little bit more info on it please


Thanks for every ones time

Chris

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignSite Reviews > Final year project http://www.e-learninginfo.co.uk


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT