<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ProductCart Shopping Cart Software Forums : Moving Hosts - DB connection issue</title>
  <link>https://forum.productcart.com/</link>
  <description><![CDATA[This is an XML content feed of; ProductCart Shopping Cart Software Forums : Using ProductCart : Moving Hosts - DB connection issue]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 21:22:39 +0000</pubDate>
  <lastBuildDate>Thu, 21 Jun 2012 23:30:17 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.productcart.com/RSS_post_feed.asp?TID=5184</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ProductCart Shopping Cart Software Forums]]></title>
   <url>https://forum.productcart.com/forum_images/pc_logo_50.png</url>
   <link>https://forum.productcart.com/</link>
  </image>
  <item>
   <title><![CDATA[Moving Hosts - DB connection issue : I&amp;#039;d expect that the location...]]></title>
   <link>https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19844.html#19844</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2">Guests</a><br /><strong>Subject:</strong> 5184<br /><strong>Posted:</strong> 21-June-2012 at 11:30pm<br /><br /><div>I'd expect that the location of the SQL server would be different (or if using a DSN, maybe it would have a different name), so to check that you're hitting the new db, try this:</div><div><br></div><div>In viewcategories.asp, find:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>'// Page Count</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>iCategoriesPageCount=rs.PageCount</div></div><div></pre></td></tr></table></div><div>Just above that, look for something like the following (stock PC line):</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>rs.Open query, conntemp, adOpenStatic, adLockReadOnly, adCmdText</div></div><div></pre></td></tr></table></div><div>In this case, "conntemp" is the db connection string. As per Greg's comment, this connection string might have been changed to some other constant. What'ever constant you find there, try adding the following just above it (again using the stock PC constant name here):</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>response.write("conntemp=") &amp; conntemp</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>response.end</div></div><div></pre></td></tr></table></div><div>Then hit viewcategories.asp directly in your browser (the above will only show on the "no parent") category page, not any other category/sub-category page.</div><div><br></div><div>This will show you the db connection string being used here. Compare that with the new host location and what you have in storeconstants.asp. If it's different, then you should be able to trace it down from there relatively easily. If it's the same, then you'd need to try the same sort of thing on a db call that's directly related to whatever data appears to be coming from the legacy location rather than the new one.</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 21 Jun 2012 23:30:17 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19844.html#19844</guid>
  </item> 
  <item>
   <title><![CDATA[Moving Hosts - DB connection issue : Greg - Thanks. I previously did...]]></title>
   <link>https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19839.html#19839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2643">got2know</a><br /><strong>Subject:</strong> 5184<br /><strong>Posted:</strong> 21-June-2012 at 10:33pm<br /><br />Greg - Thanks. &nbsp;I previously did a search for the DB username in the source code of the files to see if it was somewhere else. &nbsp;I came up empty. &nbsp;But your idea definitely has merit. &nbsp;I'll search for the db name, too.<div><br></div><div>J</div>]]>
   </description>
   <pubDate>Thu, 21 Jun 2012 22:33:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19839.html#19839</guid>
  </item> 
  <item>
   <title><![CDATA[Moving Hosts - DB connection issue : John - I have seen sites that...]]></title>
   <link>https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19838.html#19838</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=290">Greg Dinger</a><br /><strong>Subject:</strong> 5184<br /><strong>Posted:</strong> 21-June-2012 at 10:26pm<br /><br />John - I have seen sites that were altered by coders who did not understand the application structure.&nbsp; In one case, the db connection was moved out to another file.&nbsp; <DIV>&nbsp;</DIV><DIV>I'd suggest going to any page, let's say viewcategories.asp and examine the included file references.&nbsp; Poke around and see if you can find another db connection.&nbsp; it's going to be there somewhere.</DIV>]]>
   </description>
   <pubDate>Thu, 21 Jun 2012 22:26:08 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19838.html#19838</guid>
  </item> 
  <item>
   <title><![CDATA[Moving Hosts - DB connection issue : Matt,I don&amp;#039;t think the DNS...]]></title>
   <link>https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19837.html#19837</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2643">got2know</a><br /><strong>Subject:</strong> 5184<br /><strong>Posted:</strong> 21-June-2012 at 10:17pm<br /><br />Matt,<div><br></div><div>I don't think the DNS would matter in this case. &nbsp;We are connecting via an IP address not the actual domain name (it's still active and pointing to the current site). &nbsp;That IP address hasn't been used for anything else - plus the HTML files are resolving to the new test server.</div><div><br></div><div>I did previously look at the document you referenced, but took a 2nd look, now. I didn't see anything that seems to shed light on this. &nbsp;</div><div><br></div><div>Quite bewildering right now. I'm sure once it's figured out it will make sense, though.</div><div><br></div><div>John</div><div><br></div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 21 Jun 2012 22:17:20 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19837.html#19837</guid>
  </item> 
  <item>
   <title><![CDATA[Moving Hosts - DB connection issue : That is the file. DNS probably...]]></title>
   <link>https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19836.html#19836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=213">Matt</a><br /><strong>Subject:</strong> 5184<br /><strong>Posted:</strong> 21-June-2012 at 10:01pm<br /><br />That is the file. &nbsp;DNS probably has not changed yet and your just looking at the old site.<div><br></div><div>This is a good reference. &nbsp;Have you seen this?<br><br><a href="http://wiki.earlyimpact.com/how_to/move_store" target="_blank" rel="nofollow">http://wiki.earlyimpact.com/how_to/move_store</a></div>]]>
   </description>
   <pubDate>Thu, 21 Jun 2012 22:01:45 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19836.html#19836</guid>
  </item> 
  <item>
   <title><![CDATA[Moving Hosts - DB connection issue : Hi,ProductCart v3.51aWe are planning...]]></title>
   <link>https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19835.html#19835</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forum.productcart.com/member_profile.asp?PF=2643">got2know</a><br /><strong>Subject:</strong> 5184<br /><strong>Posted:</strong> 21-June-2012 at 9:44pm<br /><br />Hi,<div><br></div><div>ProductCart v3.51a&nbsp;</div><div><br></div><div>We are planning a move from our current server/host to a new host/server. &nbsp;</div><div><br></div><div>We are going through a test right now.</div><div><br></div><div>The new site seems to still be pulling the database data from the current server. &nbsp;We thought that the file to change all the connection strings was /includes/storeconstants.asp. &nbsp;However, that file seem to have no affect on the site. &nbsp;We've even deleted that file and it has no affect, so the change must need to occur somewhere else.</div><div><br></div><div>Any thoughts or guidance would be much appreciated!</div><div><br></div><div>J</div>]]>
   </description>
   <pubDate>Thu, 21 Jun 2012 21:44:38 +0000</pubDate>
   <guid isPermaLink="true">https://forum.productcart.com/moving-hosts-db-connection-issue_topic5184_post19835.html#19835</guid>
  </item> 
 </channel>
</rss>