View Error Log - Unable to save page view record

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AlexG
Commander (CMDR)
Commander (CMDR)
Posts: 128
Joined: Mon Mar 03, 2008 9:51 pm
Location: StealDeals.com
Contact:

View Error Log - Unable to save page view record

Post by AlexG » Sat Mar 14, 2009 12:57 pm

After update to AC 7.0.2 I found this error in Error Log - Administration page - in View Error Log

3/14/2009 1:26:25 AM Error Unable to save page view record. Value cannot be null. Parameter name: String Value cannot be null. Parameter name: String
3/13/2009 1:23:30 AM Error Unable to save page view record. Value cannot be null. Parameter name: String Value cannot be null. Parameter name: String
3/12/2009 1:23:50 AM Error Unable to save page view record. Value cannot be null. Parameter name: String Value cannot be null. Parameter name: String

Help me to fix it?

bhill
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 84
Joined: Mon Oct 31, 2005 5:06 pm
Location: Institute

Re: View Error Log - Unable to save page view record

Post by bhill » Mon Mar 16, 2009 9:49 am

we are getting it constantly now too, anyone know what this is?
thanks

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: View Error Log - Unable to save page view record

Post by jmestep » Mon Mar 16, 2009 10:50 am

The code to save the page views changed in 7.0.2. You might still have the old code on some of the customized files if you didn't replace it.
For example, code on CategoryGridPage.ascx.cs changed from
CommerceBuilder.Services.AbleCommerceHttpModule.RegisterCatalogNode(this.CategoryId, CatalogNodeType.Category);

to

CommerceBuilder.Reporting.PageView.RegisterCatalogNode(this.CategoryId, CatalogNodeType.Category);
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
napacabs
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 45
Joined: Mon Jan 14, 2008 2:58 pm
Location: Chino, California
Contact:

Re: View Error Log - Unable to save page view record

Post by napacabs » Mon Apr 20, 2009 1:03 am

jmestep wrote:The code to save the page views changed in 7.0.2. You might still have the old code on some of the customized files if you didn't replace it.
For example, code on CategoryGridPage.ascx.cs changed from
CommerceBuilder.Services.AbleCommerceHttpModule.RegisterCatalogNode(this.CategoryId, CatalogNodeType.Category);

to

CommerceBuilder.Reporting.PageView.RegisterCatalogNode(this.CategoryId, CatalogNodeType.Category);

Replaced this code, and still getting 4 to 5 an hour of "Unable to save page view record. Value cannot be null. Parameter name: String", is there anything else that would cause this error?

User avatar
BryanWarmoth
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 44
Joined: Fri May 23, 2008 11:24 am
Location: Puyallup, Wa
Contact:

Re: View Error Log - Unable to save page view record

Post by BryanWarmoth » Wed Aug 12, 2009 3:01 pm

Has there been any progress on finding out the cause of this error? We just recently upgraded to 7.0.3 and are experiencing the same thing. I've gone through and did a text search for "CommerceBuilder.Services.AbleCommerceHttpModule.RegisterCatalogNode(this.CategoryId, CatalogNodeType.Category);" and replace all occurances in out website with "CommerceBuilder.Reporting.PageView.RegisterCatalogNode(this.CategoryId, CatalogNodeType.Category);". We are still seeing a lot of these errors coming through. Any ideas?
Bryan Bingham
Warmoth Guitar Products Inc.
bryan@warmoth.com
http://www.warmoth.com

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: View Error Log - Unable to save page view record

Post by WylieE » Fri Sep 04, 2009 10:23 am

Bump. Anyone?

Obviously, if we turn off page view tracking, the errors in the error log go away. We don't see any errors in the app.log though.

We'll get these errors in batches. Bryan has already gone through all of our code looking for the changes listed above. Are there additional changes we need to look for? If so, what are they?
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: View Error Log - Unable to save page view record

Post by Logan Rhodehamel » Fri Sep 04, 2009 12:47 pm

It has to be specific to a particular browser - something is not parsing correctly but the error message does not help me track it. I thought maybe it was a masked user agent, but that didn't seem to pan out.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: View Error Log - Unable to save page view record

Post by WylieE » Fri Sep 04, 2009 1:42 pm

Logan, please let us know if there is any information we can provide or any tests we can do to help get this resolved.
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: View Error Log - Unable to save page view record

Post by Logan Rhodehamel » Fri Sep 04, 2009 2:49 pm

WylieE wrote:Logan, please let us know if there is any information we can provide or any tests we can do to help get this resolved.
If you have IIS logging turned on as well, and you can find the equivalent requests to your website that approximate the timestamp on the failed page view, it might help me figure out why this particular browser is having trouble. At least I think it's a browser.

I reviewed the code and could not spot any obvious reason for that error.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
AlexG
Commander (CMDR)
Commander (CMDR)
Posts: 128
Joined: Mon Mar 03, 2008 9:51 pm
Location: StealDeals.com
Contact:

Re: View Error Log - Unable to save page view record

Post by AlexG » Fri Sep 04, 2009 2:51 pm

This error in AC 7.0.3 only I have not this error in old vrsion!

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: View Error Log - Unable to save page view record

Post by Logan Rhodehamel » Fri Sep 04, 2009 3:08 pm

In 7.0.0, the error was silently caught - if there was a problem in saving the page view it was ignored without a warning.

And for later versions, I still highly suspect this is dependent on the browser. Perhaps a new browser that has come out that is causing some problem. I have already tried FF3.5 and IE8 using private mode. Neither of those were it. If someone can find a matching IIS log entry, it will go a long way toward proving or refuting this theory.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: View Error Log - Unable to save page view record

Post by Logan Rhodehamel » Fri Sep 04, 2009 3:10 pm

Also I should mention, the impact of the error is minor.

1) The page view can't be logged so you are losing that tracking data
2) Your error message gets an entry

There isn't an impact to the user nor does it inhibit the operation of the site. The biggest problem is that the errors in the log clutter up and potentially distract from truly important messages.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

NLC
Ensign (ENS)
Ensign (ENS)
Posts: 13
Joined: Mon Nov 30, 2009 7:28 pm

Re: View Error Log - Unable to save page view record

Post by NLC » Mon Apr 26, 2010 8:06 pm

Did anyone figure out how to prevent these? We're getting this too and it's filling up the log file rather quickly. Maybe it has to do with the Google Chrome browser?

User avatar
AlexG
Commander (CMDR)
Commander (CMDR)
Posts: 128
Joined: Mon Mar 03, 2008 9:51 pm
Location: StealDeals.com
Contact:

Re: View Error Log - Unable to save page view record

Post by AlexG » Tue Apr 27, 2010 12:46 am

This is not the Google Chrome!
It's a bot (SE robot)!
Just delete it from your error log on admin side!
Developers of AC not fix it with additional patch.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: View Error Log - Unable to save page view record

Post by jmestep » Tue Apr 27, 2010 7:24 am

We have one site that will have thousands of entries like that. I haven't been able to track it down. I thought it might be because the site came from Able 5 and was passing special parameters in the querystring that weren't the same in Able 7 Able 5--> 7.0.3-->7.0.4 before they went live. I hadn't seen it in sites before, but I have seen it in another site since then.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

QmsInfoTech
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Fri Aug 20, 2010 9:26 am

Re: View Error Log - Unable to save page view record

Post by QmsInfoTech » Fri Aug 20, 2010 9:35 am

FYI

I finally got around to matching the errors with the IIS logs. Here is a typical entry:

2010-08-19 23:11:58 W3SVC3 67.222.137.249 GET /Category.aspx CategoryId=11 80 - 72.14.199.145 AdsBot-Google-Mobile+(+http://www.google.com/mobile/adsbot.html)+Mozilla+(iPhone;+U;+CPU+iPhone+OS+3+0+like+Mac+OS+X)+AppleWebKit+(KHTML,+like+Gecko)+Mobile+Safari 200 0 0 48713 331 377

Jerry

QmsInfoTech
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Fri Aug 20, 2010 9:26 am

Re: View Error Log - Unable to save page view record

Post by QmsInfoTech » Fri Aug 20, 2010 9:50 am

A little more info:

The problem seems to be the Google Mobile bot because

2010-08-19 20:57:13 W3SVC3 67.222.137.249 GET /Category.aspx CategoryId=11 80 - 72.14.199.145 AdsBot-Google+(+http://www.google.com/adsbot.html) 200 0 0 45053 218 292

does NOT throw a logged error. Notice that it's hitting the exact same page.

Jerry

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: View Error Log - Unable to save page view record

Post by jmestep » Fri Aug 20, 2010 10:40 am

Thanks for posting that. I hadn't been able to track it down and was getting ready to comparing IIS logs like you did.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Endeavour
Ensign (ENS)
Ensign (ENS)
Posts: 5
Joined: Wed Dec 15, 2010 2:17 pm

Re: View Error Log - Unable to save page view record

Post by Endeavour » Wed Dec 15, 2010 2:27 pm

Logan_AbleCommerce
So, is it safe to delete all the error messages that say "Unable to save page view record. Value cannot be null...etc."?

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: View Error Log - Unable to save page view record

Post by Logan Rhodehamel » Thu Dec 16, 2010 11:27 am

Yes it is safe to delete them. We've repaired the problem in the 7.0.6 release.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Post Reply