<?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 : App crash because of Locale settings??</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : App crash because of Locale settings??</description>
  <pubDate>Wed, 10 Jun 2026 19:16:24 -700</pubDate>
  <lastBuildDate>Wed, 12 Nov 2008 14:43:18 -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=578</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>App crash because of Locale settings?? : I have not had the chance to test...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=3623#3623</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 578<br /><strong>Posted:</strong> 12-Nov-2008 at 2:43pm<br /><br />I have not had the chance to test any of this out with a real example, so do not take any of&nbsp;my suggestions or statements as absolute truth.<DIV>&nbsp;</DIV><DIV>What I think that you need to do is to set your PM Locale and CaseSensitive settings on the client to matcch those in effect on the BOS.&nbsp; I'm not sure whether what is on the BOS has to be the same as what's in the DB.</DIV><DIV>&nbsp;</DIV><DIV>We do have properties on the&nbsp;PM for both Locale and CaseSensitive.&nbsp; These were added to ensure that the local DataSet had the same settings on the client as on the server.&nbsp; You can try setting these properties on the PM to see if that resolves the problem.&nbsp; I think that these properties need to be set early before any queries are performed.</DIV><DIV>&nbsp;</DIV><DIV>I believe that you are seeing it N-Tier, but not 2-Tier, because a DataSet and DataTables are created on the BOS when a query is run then shipped back to the client.&nbsp; They are defaulting to the culture info on the BOS server, which is apparently different than on the client machine.<FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">.&nbsp; <?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></DIV><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>]]>
   </description>
   <pubDate>Wed, 12 Nov 2008 14:43:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=3623#3623</guid>
  </item> 
  <item>
   <title>App crash because of Locale settings?? : Well my developer machine and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=3615#3615</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=173" rel="nofollow">lars-erik</a><br /><strong>Subject:</strong> 578<br /><strong>Posted:</strong> 11-Nov-2008 at 11:31pm<br /><br />Well my developer machine and the remoting&nbsp;server are both running an english win2003 with norwegian in regional settings. <DIV>When running the application from my own laptop, I have no trouble.</DIV><DIV>If I change to language to Lithuanian in regional settings,&nbsp;I get the &nbsp;locale / casesensitive error.</DIV><DIV>Does this mean the end user machines and the remoting&nbsp;server are not able to have differenent language settings ? If so, this is a major weakness.</DIV><DIV>&nbsp;</DIV><DIV>Will the following help:</DIV><DIV><P ="Ms&#111;normal"><SPAN lang=EN-US>Thread.CurrentThread.CurrentCulture = ci; </P><DIV></SPAN><SPAN lang=EN-US>Thread.CurrentThread.CurrentUICulture = ci;</SPAN></DIV><DIV><SPAN lang=EN-US></SPAN>&nbsp;</DIV><DIV><SPAN lang=EN-US>..where ci is the english culture.</SPAN><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"></SPAN></DIV></DIV><span style="font-size:10px"><br /><br />Edited by lars-erik - 12-Nov-2008 at 12:00am</span>]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 23:31:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=3615#3615</guid>
  </item> 
  <item>
   <title>App crash because of Locale settings?? : My understanding is that this...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=3606#3606</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 578<br /><strong>Posted:</strong> 11-Nov-2008 at 11:01am<br /><br />My understanding is that this happens because one of your parent objects has a different locale or CaseSensitive setting than one one of its children.&nbsp;&nbsp; This doesn't usually happen on a single machine, but could easily happen when you deploy business objects built on the client to a remote server where Client and Server machines may have different Locale or CaseSensitive settings.]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 11:01:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=3606#3606</guid>
  </item> 
  <item>
   <title>App crash because of Locale settings?? :  I have the same problem when...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=3601#3601</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=173" rel="nofollow">lars-erik</a><br /><strong>Subject:</strong> 578<br /><strong>Posted:</strong> 11-Nov-2008 at 7:10am<br /><br /><DIV>&nbsp;</DIV><DIV>I have the same problem when running my application at a Lithuanian PC:</DIV><DIV>&nbsp;</DIV><DIV>"..<FONT face=Calibri color=#1f497d>Cannot add a DataRelation or Constraint that has different Locale or CaseSensitive settings between its parent and child tables..."</FONT></DIV><DIV>&nbsp;</DIV><DIV>Please help someone.</DIV>]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 07:10:56 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=3601#3601</guid>
  </item> 
  <item>
   <title>App crash because of Locale settings?? : Hi, Just a quick answer to inform...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2117#2117</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=60" rel="nofollow">Dominique</a><br /><strong>Subject:</strong> 578<br /><strong>Posted:</strong> 06-Dec-2007 at 11:59pm<br /><br />Hi,<br />Just a quick answer to inform you that I "solved" the issue by removing the table (and relation) that triggered the fault. It worked by now because this table is not in use yet.<br />This actually doesn't solve the cause of the problem wich remains unknown for me. I.e. Why did I get this dataset related problem in the first place?<br />Fyi I scout all the code to check if I was doing something at the dataset level. <span style="font-size:10px"><br /><br />Edited by Dominique - 07-Dec-2007 at 12:00am</span>]]>
   </description>
   <pubDate>Thu, 06 Dec 2007 23:59:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2117#2117</guid>
  </item> 
  <item>
   <title>App crash because of Locale settings?? : I don&amp;#039;t think I am going...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2091#2091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 578<br /><strong>Posted:</strong> 04-Dec-2007 at 8:31pm<br /><br /><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">I don't think I am going to be much help on this problem, but I'll to explain as much as I have been able to discover. <?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">&nbsp;<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">First, this is not a DevForce problem or a database problem.&nbsp; It's a problem caused by a locale or case-sensitivity incompatability between child and parent in a DataSet relation.<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">&nbsp;<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">Here are a few examples of some incidents that I have found on the web that give the same exact error:<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">&nbsp;<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">(1) Somewho had a problem and then discovered a solution (i.e., remove reference to unused table adapter)<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><BR><a href="http://www.eggheadcafe.com/software/aspnet/29213046/dataset-locale-problem.aspx" target="_blank"><FONT face=Arial color=#800080 size=2>http://www.eggheadcafe.com/software/aspnet/29213046/dataset-locale-problem.aspx</FONT></A><O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P>&nbsp;</O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P>&nbsp;</O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">(2) Cannot load XSD on a computer with a different regional setting.<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P>&nbsp;</O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><a href="http://c&#111;nnect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=106466" target="_blank"><FONT face=Arial color=#800080 size=2>http://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=106466</FONT></A><O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P>&nbsp;</O:P></SPAN></P><P><TABLE style="WIDTH: 6.25in; mso-cellspacing: 1.5pt" cellPadding=0 width=600 ="Ms&#111;normalTable"><T><T><T><T><T><TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes"><TD style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8" vAlign=top><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN ="ingmajor1"><SPAN style="FONT-SIZE: 17pt"><strong><FONT face=Arial color=#636363>Visual Studio and .NET Framework</FONT></strong></SPAN></SPAN><SPAN style="COLOR: black; FONT-FAMILY: Verdana"><BR></SPAN><SPAN ="ingminor1"><SPAN style="FONT-SIZE: 14.5pt"><FONT face=Arial color=#838b83>Feedback Workarounds</FONT></SPAN></SPAN><SPAN style="COLOR: black; FONT-FAMILY: Verdana"> <O:P></O:P></SPAN></P></TD></TR><TR style="mso-yfti-irow: 1; mso-yfti-lastrow: yes"><TD style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8" vAlign=top><SPAN id=ctl00_Master_FullList_ctl00_ItemNumberLabel><TABLE id=ctl00_Master_FullList style="WIDTH: 6.25in; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=600 ="Ms&#111;normalTable"><T><T><T><T><T><TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes"><TD style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8" vAlign=top><TABLE style="WIDTH: 100%; mso-cellspacing: 1.5pt" cellPadding=0 width="100%" ="Ms&#111;normalTable"><T><T><T><T><T><TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes"><TD style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; WIDTH: 5%; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8" vAlign=top width="5%"><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN ="7em1"><SPAN style="FONT-SIZE: 8.5pt; COLOR: black">106466.</SPAN></SPAN></SPAN><SPAN style="COLOR: black; FONT-FAMILY: Verdana"> <O:P></O:P></SPAN></P></TD><TD style="BORDER-RIGHT: #ece9d8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #ece9d8; WIDTH: 95%; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #ece9d8" vAlign=top width="95%"><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="COLOR: black; FONT-FAMILY: Verdana"><a href="http://c&#111;nnect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=106466" target="_blank"><SPAN style="FONT-SIZE: 8.5pt">Typed dataset designer cannot load xsd created in a computer with different regional settings</SPAN></A> <BR></SPAN><SPAN ="7em1"><SPAN style="FONT-SIZE: 8.5pt; COLOR: black"><SPAN id=ctl00_Master_FullList_ctl00_Dei&#111;nLabel>When trying to open a Visual Studio solution containing a typed dataset, I get this error: Load DataSet Error Failed to load dataset because of the following error: Cannot add a DataRelation or Constraint that has different Locale or CaseSensitive settings between its parent and child tables. </SPAN></SPAN></SPAN><SPAN style="COLOR: black; FONT-FAMILY: Verdana"><O:P></O:P></SPAN></P></TD></TR></T></T></T></T></T></TABLE><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8.5pt; COLOR: black; FONT-FAMILY: Verdana"><O:P></O:P></SPAN></P></TD></TR></T></T></T></T></T></TABLE><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="COLOR: black; FONT-FAMILY: Verdana"><O:P></O:P></SPAN></P></SPAN></TD></TR></T></T></T></T></T></TABLE></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><O:P>&nbsp;<SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: Arial">“DataTable.CaseSensitive" problem<O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: Arial"><O:P>&nbsp;</O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><a href="http://www.developerfood.com/datatable-casesensitive-problem/microsoft-public-dotnet-framework-ad&#111;net/eb7a58e0-bac3-47c1-bba6-6c225392e0ae/article.aspx" target="_blank">http://www.developerfood.com/datatable-casesensitive-problem/microsoft-public-dotnet-framework-adonet/eb7a58e0-bac3-47c1-bba6-6c225392e0ae/article.aspx</A></P><DIV><BR>"Cannot add a DataRelation or Constraint that has different Locale or <BR>CaseSensitive settings between its parent and child table"<BR><BR>The "DataTable.CaseSensitive" property is the cause because it's on for one <BR>table but not the other. The relation is a standard foreign key relation <BR>between two integer keys however (there are no other relations) so I don't <BR>see why this error should exist. I need the "CaseSensitive" property on for <BR>one of these tables however but not the other since it effects searching via <BR>"DataTable.Select()" for instance. Can anyone comment on this situation. <BR>Thanks. <BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break"><O:P></O:P></SPAN></DIV><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"></SPAN></O:P></SPAN></P><span style="font-size:10px"><br /><br />Edited by davidklitzke - 04-Dec-2007 at 8:51pm</span>]]>
   </description>
   <pubDate>Tue, 04 Dec 2007 20:31:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2091#2091</guid>
  </item> 
  <item>
   <title>App crash because of Locale settings?? :  Hi David,Thanks for your reply...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2081#2081</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=60" rel="nofollow">Dominique</a><br /><strong>Subject:</strong> 578<br /><strong>Posted:</strong> 04-Dec-2007 at 10:41am<br /><br />Hi David,<br><br>Thanks for your reply <br><br><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by davidklitzke</strong></em><br /><br />...&nbsp;<div>The application works on the machine where both tables use the same locale, while the application fails on the other machine where both tables are using different locales.</div></td></tr></table><br><br>Just to be sure, you are referring to tables in the database, not dotnet in-memory tables, right?<br>I am wondering how this could happen because the app is deployed as an n-tier application using a BOS to communicate to the database. <br>I tried reproducing the issue from an English windows server 2003&nbsp; without getting the problem.<br>&nbsp;<br>None of the user control is localisable but I noticed that the IME type of some of the user controls was set to the hakara ( or another japanese IME type) so I set them back to noControl (how they 've been set to this value is a mystery)<br><br>Do you have any advice of where I could fix the problem? in the DB or in the app?<br><br><br><span style="font-size:10px"><br /><br />Edited by Dominique - 04-Dec-2007 at 10:41am</span>]]>
   </description>
   <pubDate>Tue, 04 Dec 2007 10:41:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2081#2081</guid>
  </item> 
  <item>
   <title>App crash because of Locale settings?? : We have seen this problem before....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2079#2079</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 578<br /><strong>Posted:</strong> 04-Dec-2007 at 8:57am<br /><br />We have seen this problem before.&nbsp; The problem is (as the error message states) that you "Cannot add a DataRelation or Constraint that has different Locale or CaseSensitive settings between its parent and child tables".&nbsp; In other words, you have a situation where, for example, the "Order" table uses the French locale, and its child table ("OrderDetail") uses the German locale.<DIV>&nbsp;</DIV><DIV>The application works on the machine where both tables use the same locale, while the application fails on the other machine where both tables are using different locales.</DIV>]]>
   </description>
   <pubDate>Tue, 04 Dec 2007 08:57:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2079#2079</guid>
  </item> 
  <item>
   <title>App crash because of Locale settings?? : Hi, I have a client who get the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2078#2078</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=60" rel="nofollow">Dominique</a><br /><strong>Subject:</strong> 578<br /><strong>Posted:</strong> 04-Dec-2007 at 6:52am<br /><br />Hi,<br />I have a client who get the error message pasted under.<br />He is using an english version of XP pro with SP2. The app worked fine on his laptop when he tried it.<br />Do you have any clue of wha could be happening? I see that the "Cannot add a DataRelation or Constraint that has different Locale or CaseSensitive settings between its parent and child tables." part shows up on google.<br /><br />what is being done in the last to lines of the stack is creating a new entity and then testing some child-properties to set some default values. <br /><br />Dominique <br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />************** Exception Text ************** <br />IdeaBlade.Util.IdeaBladeException: Unable to create DataRelation 'TRANSPORTOR_PRODUKT' ---&gt; System.ArgumentException: Cannot add a DataRelation or Constraint that has different Locale or CaseSensitive settings between its parent and child tables. <br />&nbsp;&nbsp;&nbsp;at System.Data.DataRelationCollection.AddCore(DataRelation relation) <br />&nbsp;&nbsp;&nbsp;at System.Data.DataRelationCollection.DataSetRelationCollection.AddCore(DataRelation relation) <br />&nbsp;&nbsp;&nbsp;at System.Data.DataRelationCollection.Add(DataRelation relation) <br />&nbsp;&nbsp;&nbsp;at IdeaBlade.Persistence.EntityRelation.ToDataRelation(DataSet pDataSet, Boolean pCreateConstraint) <br />&nbsp;&nbsp;&nbsp;--- End of inner exception stack trace --- <br />&nbsp;&nbsp;&nbsp;at IdeaBlade.Persistence.EntityRelation.ToDataRelation(DataSet pDataSet, Boolean pCreateConstraint) <br />&nbsp;&nbsp;&nbsp;at IdeaBlade.Persistence.PersistenceManager.ResolveEntityRelation(EntityRelation pEntityRelation) <br />&nbsp;&nbsp;&nbsp;at IdeaBlade.Persistence.PersistenceManager.XFindEntities(ICollection pEntities, EntityRelationLink pEntityRelationLink, WorkState pWorkState) <br />&nbsp;&nbsp;&nbsp;at IdeaBlade.Persistence.PersistenceManager.XGetRelated(ICollection pEntities, EntityRelationLink pRelationLink, QueryStrategy pQueryStrategy, WorkState pWorkState) <br />&nbsp;&nbsp;&nbsp;at IdeaBlade.Persistence.PersistenceManager.GetChildren&#091;T&#093;(Entity pEntity, EntityRelation pEntityRelation, QueryStrategy pQueryStrategy, Boolean pReturnsManagedList) <br />&nbsp;&nbsp;&nbsp;at IdeaBlade.Persistence.Entity.GetManagedChildren&#091;T&#093;(EntityRelation pEntityRelation, QueryStrategy pStrategy) <br />&nbsp;&nbsp;&nbsp;at IdeaBlade.Persistence.Entity.GetManagedChildren&#091;T&#093;(EntityRelation pEntityRelation) <br />&nbsp;&nbsp;&nbsp;at Entity.TRANSPORTORDataRow.GetPRODUKTsImpl() <br />&nbsp;&nbsp;&nbsp;at Entity.TRANSPORTORDataRow.get_PRODUKTs() <br />&nbsp;&nbsp;&nbsp;at Entity.BRUKER.AddNewFrbrHode(String frbrNummer) <br />&nbsp;&nbsp;&nbsp;at webbooking_gui.FrmMain.DoGetNyttOppdrag(Boolean& shouldReturn) <br /></pre></td></tr></table><br />]]>
   </description>
   <pubDate>Tue, 04 Dec 2007 06:52:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=578&amp;PID=2078#2078</guid>
  </item> 
 </channel>
</rss>