<?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 : Cursor Conflict in new_post.asp</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 : Cursor Conflict in new_post.asp]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 08 Apr 2026 09:53:33 +0000</pubDate>
  <lastBuildDate>Wed, 03 Jan 2007 20:16:43 +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=22330</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[Cursor Conflict in new_post.asp : Hi Borg!   -2147217885 &amp;#034;Cursor...]]></title>
   <link>https://forums.webwiz.net/cursor-conflict-in-new-post-asp_topic22330_post119036.html#119036</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=23019">jpwalters</a><br /><strong>Subject:</strong> 22330<br /><strong>Posted:</strong> 03&nbsp;January&nbsp;2007 at 8:16pm<br /><br />Hi Borg!<DIV></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;-2147217885 "Cursor Operation Conflict" kept occuring on save_new_post_data in new_post.asp.&nbsp; No one could post new messages.</DIV><DIV>&nbsp;</DIV><DIV>I'm not quite sure why this error started popping up, but I my initial guess was that "no count" was unchecked in the SQL Server Configuration (Connections).&nbsp; This was not the case.&nbsp; It was checked as being on, so my search continued....</DIV><DIV>&nbsp;</DIV><DIV>Based on some knowledgebase articles, it seems like the server might be&nbsp;using a server-side cursor instead of a client side cursor, yikes!</DIV><DIV>&nbsp;</DIV><DIV>So after some testing I added specific code to set the cursor type to client.&nbsp; (See Below)&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Ultimately I added to new_post.asp as an experiment:</DIV><DIV>&nbsp;</DIV><DIV>With rsCommon</DIV><DIV><EM><FONT color=#ff0000>&nbsp;&nbsp;.CursorLocation = 3</FONT></EM></DIV><DIV>&nbsp;&nbsp;'Set the cursor&nbsp;type property of the record set&nbsp;to Dynamic so we can navigate through the record set<BR>&nbsp;&nbsp;.CursorType = 2</DIV><DIV>&nbsp;</DIV><DIV>...</DIV><DIV>...</DIV><DIV>&nbsp;</DIV><DIV>It fixed the problem!</DIV><DIV>&nbsp;</DIV><DIV>Then I looked at setting this globally in the database_connection.asp page, which also seems to work:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;adoCon.connectionstring = strCon<BR><EM><FONT color=#ff0000>&nbsp;adoCon.CursorLocation = 3</FONT></EM></DIV><DIV>&nbsp;</DIV><DIV>Any thoughts on what may have happened?</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Jason Walters</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 03 Jan 2007 20:16:43 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/cursor-conflict-in-new-post-asp_topic22330_post119036.html#119036</guid>
  </item> 
 </channel>
</rss>