<?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="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Missing RdbKey on the Client-side ibconfig file</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Missing RdbKey on the Client-side ibconfig file</description>
  <pubDate>Fri, 12 Jun 2026 05:43:07 -700</pubDate>
  <lastBuildDate>Thu, 12 Jul 2007 14:46:46 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=184</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Missing RdbKey on the Client-side ibconfig file : Congratulations! I&amp;#039;m glad...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=401#401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 184<br /><strong>Posted:</strong> 12-Jul-2007 at 2:46pm<br /><br /><SPAN =065420919-28032007><FONT face=Arial color=#0000ff size=3><SPAN =281472420-28032007>Congratulations!&nbsp; I'm glad that you finally got it working.</SPAN></FONT><DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN =281472420-28032007></SPAN></FONT><FONT size=3>&nbsp;</FONT></DIV><DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=3><SPAN =281472420-28032007>I agree with your comment that the tutorial is not showing best practices.&nbsp; I'll file a bug against this, and have it fixed.</SPAN></FONT></DIV></SPAN>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 14:46:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=401#401</guid>
  </item> 
  <item>
   <title>Missing RdbKey on the Client-side ibconfig file : I finally got it. I adjusted the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=400#400</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 184<br /><strong>Posted:</strong> 12-Jul-2007 at 2:45pm<br /><br /><SPAN =625213216-28032007><SPAN =065420919-28032007><FONT face=Arial color=#0000ff size=2>I finally got it. I adjusted the ibconfig accordingly, and its working well for both (Identity and IIdgenerator). </FONT></SPAN><DIV><SPAN =065420919-28032007></SPAN>&nbsp;</DIV><DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN =065420919-28032007>By the way, The tutorial's ibconfig file includes a full connection string rather then what you suggest. I had a look at the </SPAN>C<SPAN =065420919-28032007>abana and Funhouse&nbsp;and there I could find a few examples that demonstrate as you suggested. maybe&nbsp; this is something that should be included in future tutorial?</SPAN></FONT></FONT></FONT></DIV></SPAN>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 14:45:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=400#400</guid>
  </item> 
  <item>
   <title>Missing RdbKey on the Client-side ibconfig file : The example is the IIS Deployment...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=399#399</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 184<br /><strong>Posted:</strong> 12-Jul-2007 at 2:45pm<br /><br /><SPAN =254355615-28032007><FONT face=Arial color=#0000ff size=3><SPAN =625213216-28032007>The example is the IIS Deployment Tutorial.</SPAN></FONT><DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN =625213216-28032007></SPAN></FONT><FONT size=3>&nbsp;</FONT></DIV><DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=3><SPAN =625213216-28032007>The docs say (or should be saying) that you should not put the Connection string on the&nbsp; client side ibconfig file.&nbsp; At the very least, you need an Ibconfig file that at least includes the name (e.g., "Default").&nbsp; In the case of Identity Columns, you must also include the Provider name (so that the client PersistenceManager understands that there may be Identity Columns.</SPAN></FONT></DIV></SPAN>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 14:45:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=399#399</guid>
  </item> 
  <item>
   <title>Missing RdbKey on the Client-side ibconfig file : The docs clearly state that one...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=398#398</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 184<br /><strong>Posted:</strong> 12-Jul-2007 at 2:44pm<br /><br /><SPAN =640101402-28032007><SPAN =254355615-28032007><FONT face=Arial color=#0000ff size=2>The docs clearly state that one should not have any RDBKeys on the client side ibconfig. maybe you can send me an example of such config file.</FONT></SPAN><DIV><SPAN =254355615-28032007><FONT face=Arial color=#0000ff size=2>maybe I am missing something trivial</FONT></SPAN></DIV></SPAN>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 14:44:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=398#398</guid>
  </item> 
  <item>
   <title>Missing RdbKey on the Client-side ibconfig file : This reminds me of a case that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=397#397</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 184<br /><strong>Posted:</strong> 12-Jul-2007 at 2:43pm<br /><br /><SPAN =732215122-27032007><FONT color=#0000ff><FONT face=Arial color=#0000ff size=3><SPAN =640101402-28032007>This reminds me of a case that I had over a year ago.&nbsp; The customer was using&nbsp;Remoting and Identity columns.&nbsp; The problem turned to be that the customer had no RdbKey on the Client-side ibconfig file.&nbsp; Not only must there be a client-side ibconfig file, but you must also specify the Provider on the client ibconfig file so that the client-side PersistenceManager knows that the database could be using Identity columns.</SPAN></FONT><DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN =640101402-28032007></SPAN></FONT><FONT size=3>&nbsp;</FONT></DIV><DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=3><SPAN =640101402-28032007>I made the same mistake myself earlier when I&nbsp;first learned about Remoting.&nbsp; I thought that because the Connection String only needed to be specified on the Server-side ibconfig file that there didn't need to be an RdbKey on the client-side ibconfig file.</SPAN></FONT></DIV><DIV dir=ltr align=left><FONT face=Arial color=#0000ff><SPAN =640101402-28032007></SPAN></FONT><FONT size=3>&nbsp;</FONT></DIV><DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=3><SPAN =640101402-28032007>Don't know if this is relevant or not, but I couldn't help&nbsp;from telling you about what your case reminded me</SPAN></FONT></DIV></FONT></SPAN>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 14:43:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=397#397</guid>
  </item> 
  <item>
   <title>Missing RdbKey on the Client-side ibconfig file : I had a look at this section of...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=396#396</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 184<br /><strong>Posted:</strong> 12-Jul-2007 at 2:42pm<br /><br /><DIV><SPAN =306061920-27032007><FONT face=Arial color=#0000ff size=2>I had a look at this section of the docs, I am using the 'sa' login to eliminate user permission issues.</FONT></SPAN></DIV><DIV><SPAN =306061920-27032007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV><SPAN =306061920-27032007><FONT face=Arial color=#0000ff size=2>I put the "AddtoManager statement in a try/catch block for the purpose of getting the details of the exception</FONT></SPAN></DIV><DIV><SPAN =306061920-27032007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV><SPAN =306061920-27032007><FONT face=Arial color=#0000ff size=2>I also added the details of my newly created object as it is, just before the failing statement. I used the Immediate Window in VS (?aQ_Base)</FONT></SPAN></DIV><DIV><SPAN =306061920-27032007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV><SPAN =306061920-27032007><FONT face=Arial color=#0000ff size=2>Please have a look at the details of the exception</FONT></SPAN></DIV><DIV><SPAN =306061920-27032007></SPAN>&nbsp;</DIV><DIV><SPAN =306061920-27032007><FONT size=1><FONT size=2>"System.NullReferenceException: Object reference not set to an instance of an object.</FONT></DIV><DIV><P><FONT size=2>at IdeaBlade.Persistence.PersistenceManager.CheckForPkIdentityColumn(Entity pEntity)</FONT></P><P><FONT size=2>at IdeaBlade.Persistence.Entity.AddToManager()</FONT></P><P><FONT size=2>at Model.Q_Base.Create(PersistenceManager pPM) in D:\Clients\DPS\Windows Application\DPS_CAB\Model\Q_Base.vb:line 66"</FONT></P></FONT></SPAN></DIV><P>Later,&nbsp;I&nbsp;was also unsuccessful using the standard bigint and NextId nechanism:<BR><SPAN =732215122-27032007><FONT face=Arial color=#0000ff size=2></FONT></SPAN></P><P><SPAN =732215122-27032007><FONT face=Arial color=#0000ff size=2>For the purpose of isolating the problem,I just changed the Identity columns to normal bigint and implemented the NextID mechanism</FONT></SPAN></P><DIV><SPAN =732215122-27032007><FONT face=Arial color=#0000ff size=2>again it works great as client server but this time, when deployed on IIS, it generates a "<FONT face="Times New Roman" color=#000000>Object reference not set to an instance of an object..."<FONT face=Arial color=#0000ff> exception at the </FONT></FONT></FONT></SPAN></DIV><DIV><SPAN =732215122-27032007><FONT face=Arial color=#0000ff size=2>'pManager.GenerateId(aQ_Base, Q_Base.IDxEntityColumn)' statement</FONT></SPAN></DIV><DIV><SPAN =732215122-27032007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV><SPAN =732215122-27032007><FONT face=Arial color=#0000ff size=2>Again I use sa login and run IIS on Administrator account to eliminate permission problems.</FONT></SPAN></DIV><DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV><DIV><SPAN =732215122-27032007><FONT face=Arial color=#0000ff size=2>please let me know if there is any other information you need to resolve this</FONT></SPAN></DIV>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 14:42:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=184&amp;PID=396#396</guid>
  </item> 
 </channel>
</rss>