Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 11, 2008 01:11 AM by RaeKC
Dec 07, 2008 05:43 PM|LINK
I created a new row for the products table. But when I put in my image, I can't see it on the ShowDepartments, Showproduct or browseproducts pages. I do see it if I click on the Filter "all departments" on the browseproducts page and then when I click on
the image to show larger image. But how do I get it on the ShowDepartments page?
Dec 08, 2008 02:51 PM|LINK
Dec 08, 2008 07:13 PM|LINK
Ok. I think I figured out what I was doing wrong. So now I can see my images. I added them to the projects store folder, then the ~image url to the database where I added my product.
(Like your blog! ) [Yes]
I wanted to add a department ID. Can I do that without messing up the structure of the existing database? It only has 2 set and when I try adding a new one, the pages don't display it unless I click show ALL departments. I tried created a department # 3,
"Books". Books shows up in the drop down list but if I click Books, it doesn't display any items. If I click display all depts., then it shows. I figure it must be because I didn't properly add a new dept.
Dec 08, 2008 07:53 PM|LINK
I suspect you have to add some products to the Books department. That way, when you chose books in the ShowProducts page, it will show the products from the Books department.
The way you add products to the Books department is to go to the Manage Products page, add a product, and select Books as the department.
Dec 08, 2008 09:37 PM|LINK
Thanks but I did. But I guess I didn't do it correctly.
Dec 09, 2008 02:42 AM|LINK
Yes, to insert a new product, department, etc. make sure you use the interface that is provided by the application, and not by issuing direct commands against the db...
The credentials are Name: admin Password: admin
Dec 09, 2008 02:35 PM|LINK
Thanks again but I wasn't sure up until you mentioned this, how to do that. I just now logged in as administrator and I see there is an edit view! I will play with that now and see what all I can do! That's great. Silly me! [:$]
The Readme file said to be sure to change the Admin name or password.
Where do I change that? Do I change just the password or the name Admin too?
(Yesterday, I finally got the new department ID added to the project and my product properly added by doing an insert procedure on the Department table, and *then* the product table, from the SQL Express, Management Studio. I didn't see where/how to do
it in the project. My books for the project haven't come in yet. )
Dec 09, 2008 03:13 PM|LINK
If you are logged in, you can go to the My Profile link in the upper right corner to change your password, just like most web sites have.
You won't be able to change the name, only the password.
If you are logged in as an Administrator, you will be able to edit details for other users, too, from the ManageUsers page.
Dec 09, 2008 03:31 PM|LINK
How many characters should I use for my password and is that encrypted? I'm wondering how easy it would be for someone to figure out how to log in to one's account?
Dec 09, 2008 05:09 PM|LINK
The password is encrypted in the database, so no worries there (but of course, it could be sniffed over the wire unless you're using SSL).
The number of characters required is 5, but that number is configurable in the membership provider in web.config.
Although this isn't done in this application, you can also require a minimum number of non-alpha-numeric characters as well. That forces users to choose strong passwords, which are harder to crack.