• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

u4ea
#1 Posted : Tuesday, December 26, 2006 7:18:45 PM(UTC)
u4ea

Rank: Member

Joined: 11/29/2006(UTC)
Posts: 22

In the admin on the Product_Edit.aspx page. I will sometimes get an error while saving the product (or when I click on any of the links in the left had side bar).

The error is "Unable to save product. Uknown error" (sic)

The following snippet is from the Save() method in Product_Edit.aspx.vb
Code:
result = p.Commit()

..... non-relevant code removed for brevity....

If result = False Then
Me.lblError.Text = "Unable to save product. Uknown error."
Else
' Update bvin field so that next save will call updated instead of create
Me.BvinField.Value = p.Bvin
End If


There seems to be no rhyme or reason for when/why this error occurs. Has anyone else experienced this?
--
Jesse Gavin
Director of Web Development
U4EA Design
[email protected]
#2 Posted : Tuesday, December 26, 2006 10:23:52 PM(UTC)
bobn@laurastamm.net

Rank: Member

Joined: 6/6/2005(UTC)
Posts: 483

I think I may know what this one is. I was getting it all the time and couldn't figure out why.

There are 2 things I did consistently that BV5 didn't like. First one is leave some required field out. For this one it shows an error on the box I forgot to fill in, like the name or SKU number. It wants both of them for some reason. The second one is you already have a product with that SKU number somewhere else. I did this one by creating the product by using update, save changes or save and continue (not sure which or which order). Each of these take you to a different place.

What I did was create a product without a category (ok several of them trying to figure out why it wouldn't take the first one) then I created the Category and tried to create a new product with the same SKU number in that category. BV5 didn't like that. I was looking for the product in one place, couldn't find it so tried to create a new one. The times it would work for me I was going back into the product with edit.

About the only fix I can think of is change the error msg from Unknown to Duplicate Product exists.

Bob Noble
u4ea
#3 Posted : Wednesday, December 27, 2006 3:46:54 PM(UTC)
u4ea

Rank: Member

Joined: 11/29/2006(UTC)
Posts: 22

All of our products have unique names and SKUs and none of them are blank.

I have installed the same code onto two different development machines and one testing server. The error NEVER happens on my local development machine but it does on the other two, and I am positive that I have copied over the exact same code to both machines and configured IIS the exact same way.

One OTHER interesting thing to note is that this error only occurs on products WITH customer choices. And all of our products use shared choices.

If anyone else has experienced this and/or knows what might cause this please let me know. I have been dealing with this for 2 weeks to no avail.
--
Jesse Gavin
Director of Web Development
U4EA Design
u4ea
#4 Posted : Thursday, December 28, 2006 11:01:16 AM(UTC)
u4ea

Rank: Member

Joined: 11/29/2006(UTC)
Posts: 22

This is just an update on this issue for what it's worth.

We were never able to determine what caused this problem. However, we decided to remove all shared choices from all of our products and replace them with non-shared choices. Since then we have not received this error.

Thanks for looking into this, hopefully somewhere down the line this is useful.
--
Jesse Gavin
Director of Web Development
U4EA Design
Cliff
#5 Posted : Monday, January 8, 2007 9:04:26 AM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

I'm seeing this issue as well, but haven't been able to duplicated it at will. Removing shared choices isn't an option on this project, so I'm hoping for a fix.
jetheredge
#6 Posted : Monday, January 8, 2007 11:54:42 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

We are looking into this, are you getting any errors in the event log when this happens?
Justin Etheredge
Senior Software Engineer
BVSoftware
Cliff
#7 Posted : Monday, January 8, 2007 12:47:25 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

I didn't think to look, but I will from now on, and will let the merchant know to look as well. Thanks Justin.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012