﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>InstantASP Community Forums / Old Forums / InstantKB.NET 1.x  / SQL Error when creating the database / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>InstantASP Community Forums</description><link>http://community.instantasp.co.uk/</link><webMaster>sales@instantasp.co.uk</webMaster><lastBuildDate>Fri, 09 Jan 2009 09:43:03 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SQL Error when creating the database</title><link>http://community.instantasp.co.uk/Topic12921-26-1.aspx</link><description>[quote][b]cfh (7/28/2007)[/b][hr]&lt;STRONG&gt;Does anyone from InstantASP monitor this?&lt;/STRONG&gt;[/quote]&lt;/P&gt;&lt;P&gt;Yes we do, my colleague Carlos has already answered the thread though, but we're constantly watching the forums, and our email, to try and provide as much feedback and information to customers as possible (Whilst still developing the product line of course) sometimes odd threads are missed, but we do attempt to answer every thread within 48hrs, although inevitably the odd one slips through. &lt;/P&gt;&lt;P&gt;In such a case, opening a support ticket or emailing &lt;a target="_blank" href="mailto:support@instantasp.co.uk"&gt;support@instantasp.co.uk&lt;/A&gt; if you are an existing customer, will prompt us to visit your post if we've not seen it. We've recently reviewed our support provision to ensure that EVERY ticket or email from an existing customer gets a timely response.</description><pubDate>Tue, 31 Jul 2007 09:51:04 GMT</pubDate><dc:creator>James Trott</dc:creator></item><item><title>RE: SQL Error when creating the database</title><link>http://community.instantasp.co.uk/Topic12921-26-1.aspx</link><description>[quote][b]cfh (7/28/2007)[/b][hr]After running script. Everything worked except you cannot manage any articles in Admin. I asked before and after I posted, would the script effect any other part of program. Evidently is does.&lt;P&gt;&lt;STRONG&gt;Does anyone from InstantASP monitor this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would really like to role my KB out.&lt;/STRONG&gt;[/quote]&lt;P&gt;Please see this article link:&lt;P&gt;&lt;a target="_blank" href="http://kb.instantasp.co.uk/article.aspx?id=11412"&gt;http://kb.instantasp.co.uk/article.aspx?id=11412&lt;/A&gt;</description><pubDate>Mon, 30 Jul 2007 06:17:00 GMT</pubDate><dc:creator>Carlos Muniz</dc:creator></item><item><title>RE: SQL Error when creating the database</title><link>http://community.instantasp.co.uk/Topic12921-26-1.aspx</link><description>After running script. Everything worked except you cannot manage any articles in Admin. I asked before and after I posted, would the script effect any other part of program. Evidently is does.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Does anyone from InstantASP monitor this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would really like to role my KB out.&lt;/STRONG&gt;</description><pubDate>Sat, 28 Jul 2007 16:16:14 GMT</pubDate><dc:creator>cfh</dc:creator></item><item><title>RE: SQL Error when creating the database</title><link>http://community.instantasp.co.uk/Topic12921-26-1.aspx</link><description>This worked, but it should have been posted.&lt;/P&gt;&lt;P&gt;I installed today, error should have been corrected. Will this effect any tables or other sp's?&lt;/P&gt;&lt;P&gt;CREATE Procedure ikb_sp_GetArticles (&lt;/P&gt;&lt;P&gt;@NodeID nvarchar(255)&lt;/P&gt;&lt;P&gt;) AS&lt;/P&gt;&lt;P&gt;IF (@NodeID = 'Suggested') -- if nodeID is suggested return all articles for answer questions feature within the administration pages&lt;/P&gt;&lt;P&gt;BEGIN&lt;/P&gt;&lt;P&gt;SELECT QuestionText, LastModified, QuestionID, DateStamp, ArticleType FROM InstantKB_Articles WHERE SuggestedFlag =1 ORDER BY LastModified DESC, DateStamp DESC, QuestionText ASC&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;ELSE -- else this stored proc is being used to grab only the knowledge base articles with a publishtoweb status for the main default.aspx page&lt;/P&gt;&lt;P&gt;BEGIN&lt;/P&gt;&lt;P&gt;SELECT DISTINCT QuestionText, LastModified, InstantKB_Articles.QuestionID, ArticleType, LastModified as LastModified2, DateStamp&lt;/P&gt;&lt;P&gt;FROM InstantKB_Articles LEFT JOIN InstantKB_ArticlesTreeNodes ON InstantKB_Articles.QuestionID = InstantKB_ArticlesTreeNodes.QuestionID&lt;/P&gt;&lt;P&gt;WHERE InstantKB_ArticlesTreeNodes.NodeID = @NodeID AND PublishToWeb = 1&lt;/P&gt;&lt;P&gt;ORDER BY LastModified DESC, DateStamp DESC, QuestionText ASC&lt;/P&gt;&lt;P&gt;END &lt;BR&gt;</description><pubDate>Fri, 27 Jul 2007 16:44:18 GMT</pubDate><dc:creator>cfh</dc:creator></item><item><title>RE: SQL Error when creating the database</title><link>http://community.instantasp.co.uk/Topic12921-26-1.aspx</link><description>uhhhh, having same problem.&lt;/P&gt;&lt;P&gt;Why keep resolution a secret, now I have to wait 12 hours for response to fix the error.&lt;/P&gt;&lt;P&gt;Think maybe the resolution could be posted???</description><pubDate>Fri, 27 Jul 2007 16:40:39 GMT</pubDate><dc:creator>cfh</dc:creator></item><item><title>RE: SQL Error when creating the database</title><link>http://community.instantasp.co.uk/Topic12921-26-1.aspx</link><description>Thank you big time :)</description><pubDate>Tue, 12 Jun 2007 13:14:21 GMT</pubDate><dc:creator>Valter</dc:creator></item><item><title>RE: SQL Error when creating the database</title><link>http://community.instantasp.co.uk/Topic12921-26-1.aspx</link><description>[quote][b]Valter (6/12/2007)[/b][hr]When I try to create the DB for the script, I get this&lt;BR&gt;&lt;BR&gt;[b]Msg 209, Level 16, State 1, Procedure ikb_sp_GetArticles, Line 11&lt;BR&gt;Ambiguous column name 'LastModified'.[/b]&lt;BR&gt;&lt;BR&gt;not much information regarding this error here on the forum, but there is a KB article addressing this behaviour with the explanation from Mr. Carlos Muniz...&lt;BR&gt;&lt;BR&gt;[i][b]In this case you should alter the 2nd instance of LastModified to read "LastModified as LastModified2" in the ikb_sp_GetArticles stored procedure&lt;BR&gt;&lt;BR&gt;Regards,&lt;BR&gt;&lt;BR&gt;Carlos Muniz[/b][/i]&lt;BR&gt;&lt;BR&gt;so my question is. WHAT IN THE NAME OF GOD IS THIS SUPPOSED TO MEAN???? I guess Mr. Carlos forgets that he's actucally supposed to speak English, so non SQL experts can solve the issue ASAP and not waste their valuable time looking for help elswhere. Can someone please be so kind and translate this into plain English? Thank you![/quote]&lt;/P&gt;&lt;P&gt;Dear Valter,&lt;/P&gt;&lt;P&gt;Sorry if that wasn't clear.  If you look in the body of the ... stored procedure, you would see that the same column name is being selected twice.  The solution I gave above involved renaming the second instance of that column name.  I am emailing you a modified installation script that you can use to resolve this issue.</description><pubDate>Tue, 12 Jun 2007 13:12:21 GMT</pubDate><dc:creator>Carlos Muniz</dc:creator></item><item><title>SQL Error when creating the database</title><link>http://community.instantasp.co.uk/Topic12921-26-1.aspx</link><description>When I try to create the DB for the script, I get this&lt;br&gt;&lt;br&gt;[b]Msg 209, Level 16, State 1, Procedure ikb_sp_GetArticles, Line 11&lt;br&gt;Ambiguous column name 'LastModified'.[/b]&lt;br&gt;&lt;br&gt;not much information regarding this error here on the forum, but there is a KB article addressing this behaviour with the explanation from Mr. Carlos Muniz...&lt;br&gt;&lt;br&gt;[i][b]In this case you should alter the 2nd instance of LastModified to read "LastModified as LastModified2" in the ikb_sp_GetArticles stored procedure&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;Carlos Muniz[/b][/i]&lt;br&gt;&lt;br&gt;so my question is. WHAT IN THE NAME OF GOD IS THIS SUPPOSED TO MEAN???? I guess Mr. Carlos forgets that he's actucally supposed to speak English, so non SQL experts can solve the issue ASAP and not waste their valuable time looking for help elswhere. Can someone please be so kind and translate this into plain English? Thank you!</description><pubDate>Tue, 12 Jun 2007 11:16:00 GMT</pubDate><dc:creator>Valter</dc:creator></item></channel></rss>