<?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 : Need help with debugging login error to Cabana</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Need help with debugging login error to Cabana</description>
  <pubDate>Sun, 12 Apr 2026 17:33:02 -700</pubDate>
  <lastBuildDate>Wed, 02 Jan 2008 13:32:43 -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=637</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>Need help with debugging login error to Cabana : Hi Bill, Yes, if you can call...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=637&amp;PID=2328#2328</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 637<br /><strong>Posted:</strong> 02-Jan-2008 at 1:32pm<br /><br /><P>Hi Bill,</P><DIV>Yes, if you can call GetEntities&lt;Customer&gt;() and get results back, then you're able to connect to the database--Though I don't quite understand how you did that before a successful login.</DIV><DIV>&nbsp;</DIV><DIV>Are you using the latest version&nbsp;IdeaBlade Tutorial database?&nbsp; Does the database contain the SecurityUser table and the other tables beginning with "Security"?</DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Wed, 02 Jan 2008 13:32:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=637&amp;PID=2328#2328</guid>
  </item> 
  <item>
   <title>Need help with debugging login error to Cabana : I am trying to log in to cabana...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=637&amp;PID=2313#2313</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 637<br /><strong>Posted:</strong> 28-Dec-2007 at 10:14pm<br /><br />I am trying to log in to cabana using a username and password.&nbsp; The server is setup for sql server authentication.&nbsp; My connection string is using a user name and password.&nbsp; In fact, I am able to make a connection as I ran the following statement<DIV>&nbsp;</DIV><DIV>EntityList&lt;Customer&gt; customers = pManager.GetEntities&lt;Customer&gt;();</DIV><DIV>&nbsp;</DIV><DIV>and it retrieved 92 rows.&nbsp; So I know that my connection string is correct and I am able to contact as a user in my database.&nbsp; the problem is with the GetUserByCredential() in SecurityUser.&nbsp; The program crashes on the GetEntity&lt;SecurityUser&gt;(q) line of code.&nbsp; The error being received is "Incorrect syntax near the keyword 'from'".&nbsp; Examining further, I see the following, EntityType.DeclaringMethod threw an exception of type System.InvalidOperatingException.&nbsp; I am stumped.&nbsp; Using the CAB wizard I created a new app and pointed it toward another database and everything works fine, no problem at this point.&nbsp; In the Cabana app, I am passing a valid user name and password as a parameter to the GetEntity method.&nbsp; If I bypass the call to login, the app starts fine.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 28 Dec 2007 22:14:09 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=637&amp;PID=2313#2313</guid>
  </item> 
 </channel>
</rss>