ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Getting Started
  New Posts New Posts RSS Feed - Error Description: Invalid object name 'pcSearchFi
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error Description: Invalid object name 'pcSearchFi

 Post Reply Post Reply
Author
Message
ss1001 View Drop Down
Newbie
Newbie


Joined: 27-May-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ss1001 Quote  Post ReplyReply Direct Link To This Post Topic: Error Description: Invalid object name 'pcSearchFi
    Posted: 10-November-2010 at 6:28pm
Hi,
 
I had the misfortune of a SQL server crash. I re-installed the SQL server from ground up using W2K3 server w/ latest SP and installed SQL 2008 instead of the SQL 2005 since I could not find the older SQL 2005 disks. From a backup from 3 months ago I extracted the Product cart DBs (so the only difference would be the changes in pricing) and re-attached those to the SQL 2008 server. Made the changes to the connection string to point to the new server and tested.
 
I get no errors (so far as I can tell using the control panel. I can see the products and make the changes in the price without an errors).
 
However when I browse the site as a shopper would I get an error when I go into the detail page of the product (usually by clicking the link via description of the product). The error is as below.
 
***********************************************************************
Error At 11/10/2010 2:41:21 PM
* CustomerRefID: 419150932-144121
* Session ID: 419150932
* Error Number: -2147217865
* Error Source: Microsoft OLE DB Provider for SQL Server
* Error Description: Invalid object name 'pcSearchFields'.
* Last Query: SELECT DISTINCT optionsGroups.OptionGroupDesc, pcProductsOptions.idOptionGroup, pcProductsOptions.pcProdOpt_Required, pcProductsOptions.pcProdOpt_Order FROM products INNER JOIN ( pcProductsOptions INNER JOIN ( optionsgroups INNER JOIN options_optionsGroups ON optionsgroups.idOptionGroup = options_optionsGroups.idOptionGroup ) ON optionsGroups.idOptionGroup = pcProductsOptions.idOptionGroup ) ON products.idProduct = pcProductsOptions.idProduct WHERE products.idProduct=6 AND options_optionsGroups.idProduct=6 ORDER BY pcProductsOptions.pcProdOpt_Order, optionsGroups.OptionGroupDesc;
* RequestMethod: GET
* ServerPort: 80
* HTTPS: off
* LocalAddr: 192.xxx.xxx.xxx
* HostAddress :192.xxx.xxx.xxx
* UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
* URL: /pc/viewPrd.asp
* FormData:
* HTTP Headers:
*****************************
HTTP_CONNECTION:Keep-Alive
HTTP_VIA:1.1 XXXXXX
HTTP_ACCEPT:image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/x-shockwave-flash, */*
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_ACCEPT_LANGUAGE:en-us
HTTP_COOKIE:pcfront%5FvisitedPrds=%2A6%2A57%2A120%2A56%2A55%2A; ASPSESSIONIDSSRTSDST=DFMLLPIBEFCMKEEJDPPHDNIL
HTTP_HOST:www.xxxxxxxxxxxx.com
HTTP_REFERER:http://www.xxxxxxxxxxxxx.com/pc/home.asp
HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
*****************************
------------------------------------------------------
I had ordered another set of SQL 2005 which has come in and I have just tried with the same results.
 
Can anyone help? I thought it could be the SQL 2008 instead of the SQL 2005, as that seems the be the only thing that has changed. I had a difference SQL UserID / PWD previously which I recreated. I changed that to the 'SA' user in the connection string without any difference.
 
I have also checked rights and tried both Master and the Product cart DBs as the default DB for the User ID....no difference.
 
Any ideas would be most welcome!
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2010 at 6:39pm
I recommend you hire Mark Shipp mark@cognecy.com as he is best suited to help you overcome this issue, and others you may not realize exist.
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2010 at 6:50pm
I completely agree with Greg, definitely the best course of action!
Back to Top
ss1001 View Drop Down
Newbie
Newbie


Joined: 27-May-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ss1001 Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2010 at 7:43pm

I will consider that option as a last resort as the economic conditions dictates that at this time.

However, I have a programming background and I have worked with SQL server and I believe it is an SQL issue. Since that is the only thing that has changed. The backup from which the DB was restored was a working backup i.e. the site was working without any issues. Added to this the only thing we usually change is the price. So no new products etc.
 
I would appreciate any insight!
 
If the economy was better I would not have hesitated using your recommendation as the 1st option.
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2010 at 7:59pm
that error means the table does not exist.  check your connection string and make sure it is pointing to the correct database.
Back to Top
ss1001 View Drop Down
Newbie
Newbie


Joined: 27-May-2008
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote ss1001 Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2010 at 8:32pm
Thanks Matt.
 
I decided to recreate the batabase by running the script in the Database folder. I have completed that successfully, and am trying to log into the control panel and I need the userid/pwd. Since it has been a while since I initially did it I and after reading the manual quickly (I may have missed something) I believe I have to use the temporary userid and pass work I was given initially by Early impact. I tried using it and it does not allow me in.
 
Did I miss something??
 
I also went to browse the site and I can get to it but obviously there are no products.
 
 
Any ideas ont eh userid/pwd??
 
Thanks
 
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 10-November-2010 at 11:27pm
you just created a new blank db so there is no password.  if you run the installer it will setup the password for you.
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.047 seconds.