<?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>Web Wiz Support and Community Forums : Upgrade Issue with MSSQL</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : Upgrade Issue with MSSQL]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 03:29:13 +0000</pubDate>
  <lastBuildDate>Sun, 06 Aug 2006 20:12:12 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=20931</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[Upgrade Issue with MSSQL : I figured out the problem. What...]]></title>
   <link>https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112230.html#112230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=10953">imhotep</a><br /><strong>Subject:</strong> 20931<br /><strong>Posted:</strong> 06&nbsp;August&nbsp;2006 at 8:12pm<br /><br />I figured out the problem. What happen was, I didn't set the datatype correctly when I first entered the field. I think I had it at interger or something. So it automatically placed NULL values in each row. <br><br>So when I switched the datatype to "bit" it still had the values already in the fields. So after much experimenting, I simply deleted the field and then recreated the field using the correct values (bit with default value of 0) and it works fine now. <br><br>But thanks. <br>]]>
   </description>
   <pubDate>Sun, 06 Aug 2006 20:12:12 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112230.html#112230</guid>
  </item> 
  <item>
   <title><![CDATA[Upgrade Issue with MSSQL :    I added the field &amp;#034;Hide&amp;#034;...]]></title>
   <link>https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112219.html#112219</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=10953">imhotep</a><br /><strong>Subject:</strong> 20931<br /><strong>Posted:</strong> 06&nbsp;August&nbsp;2006 at 3:13pm<br /><br />I added the field "Hide" into the tblThreads post and set it's value to "o" (at least for testing. It is a "bit" field. At first I couldn't get into the hidden fields section because the field didn't exist. Now it shows up and it will say that there are no hidden post to view. So that works fine. <br><br>But when trying to view topics now, I am getting:<br><br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> <br><p><font face="Arial" size="2">Microsoft VBScript runtime </font> <font face="Arial" size="2">error '800a005e'</font></p><p><font face="Arial" size="2">Invalid use of Null: 'CBool'</font></p><p><font face="Arial" size="2">/forum_temp/forum_posts.asp</font><font face="Arial" size="2">, line 779</td></tr></table></font></p><p><br></p>I know it has to deal with a boolean value, but what should I set the field values to to correct this?<br><br>This is the code the error is calling attention to<br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> blnHidePost = CBool(sarryPosts(5,intCurrentRecord))</td></tr></table><br><br>In the documentation, the changes given to the database are:<br><br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> Changes to tblThread<br>New fields:-<br>1. Hide - data type = true/false - default value = false<br>2. File_uploads - data type = text 255 characters</td></tr></table><br><br>But there is no "true/false" datatype in SQL Server. I saw in the "msSQL_server_update.asp" file what to set it as and I did, but I get this error trying to update the SQL Server field:<br><br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> 'tblThread' table<br>- Unable to modify table.&nbsp; <br>ODBC error: &#091;Microsoft&#093;&#091;ODBC SQL Server Driver&#093;&#091;SQL Server&#093;Cannot insert the value NULL into column 'Hide', table 'mocha_db.dbo.Tmp_tblThread'; column does not allow nulls. INSERT fails.<br>&#091;Microsoft&#093;&#091;ODBC SQL Server Driver&#093;&#091;SQL Server&#093;The statement has been terminated.</td></tr></table><br><br>Another thing I've noticed is that I can add new content to the database. I just can't pull up the old content when I click on a forum topic. So what I think it is is simply that it is not adding the default value to the tblThreads table in each field, but it is adding it to new post. <br><br>How can I give all of the fields the default value in the actual table?<br><span style="font-size:10px"><br /><br />Edited by imhotep - 06&nbsp;August&nbsp;2006 at 7:02pm</span>]]>
   </description>
   <pubDate>Sun, 06 Aug 2006 15:13:40 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112219.html#112219</guid>
  </item> 
  <item>
   <title><![CDATA[Upgrade Issue with MSSQL : Also when I try to view a topic,...]]></title>
   <link>https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112215.html#112215</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=10953">imhotep</a><br /><strong>Subject:</strong> 20931<br /><strong>Posted:</strong> 06&nbsp;August&nbsp;2006 at 2:40pm<br /><br />Also when I try to view a topic, i get this error:<br><br><strong>Server Error in Forum Application</strong><br>An error has occured while executing SQL query on database.<br>Please contact the forum administrator.<br><br><strong>Support Error Code:-</strong> err_SQLServer_get_topic_posts_data<br><strong>File Name:-</strong> forum_posts.asp<br><br><strong>Error details:-</strong><br>Microsoft OLE DB Provider for SQL Server<br>Invalid column name 'Hide'.<br><br><br><br><br>What could be the problem?<br>]]>
   </description>
   <pubDate>Sun, 06 Aug 2006 14:40:58 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112215.html#112215</guid>
  </item> 
  <item>
   <title><![CDATA[Upgrade Issue with MSSQL : There were no modifications to...]]></title>
   <link>https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112213.html#112213</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=10953">imhotep</a><br /><strong>Subject:</strong> 20931<br /><strong>Posted:</strong> 06&nbsp;August&nbsp;2006 at 2:27pm<br /><br />There were no modifications to the database: just the home page. The error I got during installation was this<br><br><font face="Verdana, Arial, Helvetica" size="2"><font face="Verdana, Arial, Helvetica" size="2"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">rror Discription: &#091;DBNETLIB&#093;&#091;ConnectionOpen (Connect()).&#093;SQL Server does not exist or access denied.<br><b>SQL Server database is set up, but with Error!<br><br></b>I don't know why it says it doesn't exist, but did all of the other upgrades. <br><br>Should I have run the setup from the new board (to create the tables) and then do the upgrade? WHo should I set as the the database owner?<br></font></font></font>]]>
   </description>
   <pubDate>Sun, 06 Aug 2006 14:27:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112213.html#112213</guid>
  </item> 
  <item>
   <title><![CDATA[Upgrade Issue with MSSQL : It sounbds like you didn&amp;#039;t...]]></title>
   <link>https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112205.html#112205</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 20931<br /><strong>Posted:</strong> 06&nbsp;August&nbsp;2006 at 11:28am<br /><br />It sounbds like you didn't upgrade the database properly.<br><br>Do the upgrade tool show an error when doing the upgrade?<br>Did you modify your 7.x database that you performed the upgrade on?<br><br>If you did modify your 7.x database then you need to go back to your 7.x backup database, remove any modifications, then run the upgrade tool.<br>]]>
   </description>
   <pubDate>Sun, 06 Aug 2006 11:28:26 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112205.html#112205</guid>
  </item> 
  <item>
   <title><![CDATA[Upgrade Issue with MSSQL : I recently did the upgrade using...]]></title>
   <link>https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112190.html#112190</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=10953">imhotep</a><br /><strong>Subject:</strong> 20931<br /><strong>Posted:</strong> 05&nbsp;August&nbsp;2006 at 11:41pm<br /><br />I recently did the upgrade using the upgrade tool for MSSQL Server and everything shows up fine, but I am getting errors when trying to post new topics. I am getting this:<br><br><strong>Server Error in Forum Application</strong><br>An error has occured while writing to the database.<br>Please contact the forum administrator.<br><br><strong>Support Error Code:-</strong> err_SQLServer_save_new_post_data<br><strong>File Name:-</strong> new_post.asp<br><br><strong>Error details:-</strong><br>ADODB.Recordset<br>Item cannot be found in the collection corresponding to the requested name or ordinal.<br><br>Can anyone help me out with this? What is going wrong here?<br>]]>
   </description>
   <pubDate>Sat, 05 Aug 2006 23:41:24 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/upgrade-issue-with-mssql_topic20931_post112190.html#112190</guid>
  </item> 
 </channel>
</rss>