ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Catalog Directory Indexing Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Catalog Directory Indexing Error

 Post Reply Post Reply
Author
Message
bcrabtree View Drop Down
Groupie
Groupie
Avatar

Joined: 31-January-2008
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bcrabtree Quote  Post ReplyReply Direct Link To This Post Topic: Catalog Directory Indexing Error
    Posted: 05-October-2011 at 9:43pm
Hi,

I'm getting the following error when I try to index my catalog folder:
Source: Microsoft SQL Server Native Client 10.0
Description: The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
query=INSERT INTO pcImageDirectory (pcImgDir_Name,pcImgDir_Type,pcImgDir_Size,pcImgDir_DateUploaded,pcImgDir_DateIndexed) VALUES('BBOOB-ISSO-AVC_LI.jpg','JPEG image',92468,'26/8/2011 6:50:07 PM','5/10/2011 6:50:07 PM')
Request Method: GET
URL: /shop/pc/imageDir.asp


I recently transferred my site to a new host, so I thought it might be related, but I tried the same thing on the old host which is still up and running and I received the same error.

I haven't touched any files on the old host in probably six months, besides uploading the security update that was released last month...


Here is what my current host had to say about the error:
The database column is set to (datetime , null) the varchar is being converted to the datatime datatype,
The issue might stem from the inclusion of the 'PM' chars in the string,
The MS documentation for the datatype indicates that times that are specific to the second need to be in 24 hour format,

The error that you are receiving is due to a datatype mismatch, this is inherent in the definition of the database tables and not something that is a server variable.
I have attached a screen shot of the table in question so that you can check and ensure that the data types that are in the table are the ones that you have intended.



Can anyone help me out with this?

Thanks.

Back to Top
bcrabtree View Drop Down
Groupie
Groupie
Avatar

Joined: 31-January-2008
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote bcrabtree Quote  Post ReplyReply Direct Link To This Post Posted: 06-October-2011 at 3:17pm
Anyone?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.273 seconds.